fix: remove --insecure-skip-tls-verify from CI oc login commands#1272
fix: remove --insecure-skip-tls-verify from CI oc login commands#1272mergify[bot] merged 2 commits intomainfrom
Conversation
…in CI oc login Remove --insecure-skip-tls-verify from all oc login commands in CI workflows to prevent MITM attacks during token exchange. Each login step now writes the cluster CA bundle (from a GitHub Actions secret) to a temp file and passes --certificate-authority instead. Secrets required: - OPENSHIFT_CA_BUNDLE (staging/dev cluster) - PROD_OPENSHIFT_CA_BUNDLE (production cluster) Closes #1271 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
This PR removes all Action required before merging: The 🤖 Session |
|
@ambient-code We do not need |
The OpenShift clusters use a publicly trusted certificate authority, so no --certificate-authority flag or CA bundle secret is needed. Simply removing the insecure flag is sufficient. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Updated — removed 🤖 Session |
Merge Queue Status
This pull request spent 8 seconds in the queue, including 1 second running CI. Required conditions to merge
|
Summary
--insecure-skip-tls-verifyfrom all 6oc logincommands across CI workflowsAffected files
.github/workflows/components-build-deploy.yml— 4oc logincalls (deploy-rhoai-mlflow, update-rbac-and-crd, deploy-to-openshift, deploy-with-dispatch).github/workflows/prod-release-deploy.yaml— 2oc logincalls (deploy-rhoai-mlflow, deploy-to-openshift)Test plan
components-build-deploy.ymlvia workflow_dispatch and verify all deploy jobs authenticate successfullyCloses #1271
🤖 Generated with Claude Code
🤖 Ambient Session