CNTRLPLANE-3516: Use self-managed Azure kubeconfig for deprovisioner - #84033
Conversation
Read the root cluster kubeconfig from the self-managed Azure credential bundle and remove the obsolete dedicated kubeconfig mount. Commit-Message-Assisted-by: Claude (via Claude Code) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Bryan Cox <brcox@redhat.com>
|
@bryan-cox: This pull request references CNTRLPLANE-3516 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.1.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 9 remain after this review. WalkthroughThe Azure deprovision step now uses the self-managed Azure CI kubeconfig. The step no longer mounts the previous Azure HyperShift kubeconfig credential. ChangesAzure deprovision configuration
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This PR switches Azure deprovisioning to the self-managed kubeconfig and removes the obsolete credential mount. No actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. Full details: Stable And Deterministic Test NamesExplanation PASS: The pull request changes only a shell kubeconfig path and YAML credential mounts. The exact diff contains no Ginkgo test declarations or test titles, and no dynamic test information. The stable test-name check is therefore not applicable. Full details: Test Structure And QualityExplanation PASS: The pull request changes only a shell command file and its step reference YAML. The diff contains no Ginkgo test file, Full details: Microshift Test CompatibilityExplanation PASS: The pull request changes only a shell command file and a step reference YAML file. The diff adds no Ginkgo e2e tests or test declarations, so the MicroShift test compatibility check is not applicable. Full details: Single Node Openshift (Sno) Test CompatibilityExplanation PASS: The pull request changes only the Azure deprovisioner shell script and its YAML reference. The committed diff adds no Ginkgo tests or test declarations such as It(), Describe(), Context(), or When(). Therefore, the SNO test compatibility check is not applicable. Full details: Topology-Aware Scheduling CompatibilityExplanation PASS: The commit changes only a CI deprovision shell script and its credential reference. It changes Full details: Ote Binary Stdout ContractExplanation PASS — The check is not applicable. The pull request changes only a CI shell step and its YAML reference. The diff changes Full details: Ipv6 And Disconnected Network Test CompatibilityExplanation PASS. The pull request changes only one shell script and one step YAML file. It adds no Ginkgo e2e tests or test code. The only added line sets KUBECONFIG to the self-managed Azure bundle path, so the IPv4 and external-connectivity conditions do not apply. Full details: No-Weak-CryptoExplanation PASS: The committed diff only changes the KUBECONFIG path and removes an obsolete credential mount. It introduces no MD5, SHA1, DES, RC4, 3DES, Blowfish, ECB usage, custom cryptography, or secret/token comparisons. The existing SHA256 comment is unchanged and is not a flagged algorithm. Full details: Container-PrivilegesExplanation PASS. The exact diff changes only the KUBECONFIG path and removes an obsolete credential mount. It adds no Full details: No-Sensitive-Data-In-LogsExplanation PASS. The pull request adds only a KUBECONFIG path and removes a credential mount. It adds no logging statements and does not log passwords, tokens, API keys, or kubeconfig contents. Existing logs for CI resource names and DNS zones are unchanged from the parent revision. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[REHEARSALNOTIFIER]
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals. Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse periodic-ci-openshift-hypershift-main-azure-deprovision-azure-deprovision |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-openshift-hypershift-main-azure-deprovision-azure-deprovision |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@bryan-cox: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/lgtm |
|
/pj-rehearse ack |
|
@bryan-cox: your |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bryan-cox, csrwng, ironcladlou The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/pj-rehearse ack |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
Update the Azure deprovisioner to read the root cluster kubeconfig from
/etc/hypershift-ci-jobs-self-managed-azure/kubeconfig.Remove the obsolete
azure-hypershift-cicredential mount because the self-managed Azure credential bundle now provides the kubeconfig.JIRA: https://redhat.atlassian.net/browse/CNTRLPLANE-3516
Always review AI generated responses prior to use.
Generated with Claude Code via openshift-developer plugin
Summary by CodeRabbit
/etc/hypershift-ci-jobs-self-managed-azure/kubeconfig.azure-hypershift-cicredential mount.