OCPBUGS-85063: Fix CredentialsRequest capability annotations - #630
OCPBUGS-85063: Fix CredentialsRequest capability annotations#630stefanonardo wants to merge 1 commit into
Conversation
Add CloudCredential to the vSphere capability annotation so the CVO skips it when CloudCredential is disabled. Remove the baremetal CredentialsRequest entirely as the secret it provisions is unused. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@stefanonardo: This pull request references Jira Issue OCPBUGS-85063, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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 (1)
WalkthroughThe vSphere ChangesCredentialsRequest capability metadata
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 Checkov (3.3.8)manifests/0000_30_cluster-api_01_credentials-request.yamlTraceback (most recent call last): Comment |
|
/cherry-pick release-4.22 |
|
@stefanonardo: once the present PR merges, I will cherry-pick it on top of 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 kubernetes-sigs/prow repository. |
| --- | ||
| apiVersion: cloudcredential.openshift.io/v1 | ||
| kind: CredentialsRequest | ||
| metadata: | ||
| name: openshift-cluster-api-baremetal | ||
| namespace: openshift-cloud-credential-operator | ||
| annotations: | ||
| capability.openshift.io/name: ClusterAPI | ||
| exclude.release.openshift.io/internal-openshift-hosted: "true" | ||
| include.release.openshift.io/self-managed-high-availability: "true" | ||
| release.openshift.io/feature-gate: "ClusterAPIMachineManagement" | ||
| spec: | ||
| providerSpec: | ||
| apiVersion: cloudcredential.openshift.io/v1 | ||
| kind: Metal3ProviderSpec | ||
| secretRef: | ||
| name: capm3-manager-bootstrap-credentials | ||
| namespace: openshift-cluster-api |
There was a problem hiding this comment.
What's the context behind removing this?
There was a problem hiding this comment.
I couldn't find any usage of it but we can keep it if we want to be on the safe side.
There was a problem hiding this comment.
I'd think it is needed by https://github.com/openshift/cluster-api-provider-metal3 :)
There was a problem hiding this comment.
There was a problem hiding this comment.
It's quite possible this is a leftover from upstream. AFAIK we don't need this but surely CI will tell us with more certainty...
There was a problem hiding this comment.
The metal3 e2e is passing so I guess it is not needed for now. Good
| namespace: openshift-cloud-credential-operator | ||
| annotations: | ||
| capability.openshift.io/name: ClusterAPI | ||
| capability.openshift.io/name: CloudCredential+ClusterAPI |
|
/pipeline required |
|
Scheduling tests matching the |
|
lot of infra issues /retest |
|
/retest |
|
Scheduling tests matching the |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: damdo 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 |
|
/jira refresh |
|
@damdo: This pull request references Jira Issue OCPBUGS-85063, which is invalid:
Comment 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. |
|
/jira refresh |
|
@stefanonardo: This pull request references Jira Issue OCPBUGS-85063, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
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. |
|
/cherry-pick release-4.22 |
|
@stefanonardo: once the present PR merges, I will cherry-pick it on top of 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 kubernetes-sigs/prow repository. |
|
/retest-required |
|
/test e2e-metal3-capi-techpreview |
|
/test e2e-azure-ovn-techpreview e2e-gcp-ovn-techpreview |
|
@stefanonardo: The following tests failed, say
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. |
Summary
CloudCredentialto vSphere CredentialsRequest capability annotation so the CVO skips it whenCloudCredentialis disabled🤖 Generated with Claude Code
Summary by CodeRabbit