Repository navigation
[WEB-10193] fix: verify TLS in feature-deployment workflow - #10297
Conversation
…yment Every helm and kubectl call skipped TLS verification of the cluster API, and the Helm installer was fetched from the moving main branch in a job that holds the kubeconfig. Verify TLS and pin the installer to the v3.22.1 commit and version.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
Linked to Plane Work Item(s) This comment was auto-generated by Plane |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
sriramveeraghanta
left a comment
There was a problem hiding this comment.
LGTM. Precondition: FEATURE_PREVIEW_KUBE_CONFIG must carry the cluster CA. Run Feature Preview once on a test branch before relying on it.
Every helm and kubectl call skipped TLS verification of the cluster API, and the Helm installer was fetched from the moving main branch in a job that holds the kubeconfig. Verify TLS and pin the installer to the v3.22.1 commit and version.
Description
feature-deployment.ymlhardening:--kube-insecure-skip-tls-verifyfrom thehelmcalls and--insecure-skip-tls-verifyfrom thekubectlcall, so the cluster API certificate is verified.v3.22.1commit instead of the movingmainbranch, and installs that version (DESIRED_VERSION=v3.22.1). The script verifies the release checksum.Behavior change: the kubeconfig in
FEATURE_PREVIEW_KUBE_CONFIGmust be able to verify the cluster API (carry the cluster CA and use a server name the certificate covers). If it relied on skipping verification, the deploy job will fail until the kubeconfig is fixed.Type of Change
Screenshots and Media (if applicable)
Test Scenarios
References
Created with Claude Code
Summary by CodeRabbit