OCPBUGS-88037: Add e2e test verifying CAPI GCP instance ownership label#596
OCPBUGS-88037: Add e2e test verifying CAPI GCP instance ownership label#596matzew wants to merge 1 commit into
Conversation
|
@matzew: This pull request references Jira Issue OCPBUGS-88037, 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 (2)
WalkthroughThis pull request adds E2E test verification for GCP cluster ownership labels. A new helper function validates that created CAPI instances have the expected ChangesGCP Cluster Ownership Label Verification
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 13 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (13 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Verify that the GCPCluster has the kubernetes-io-cluster-<infraID>=owned label in AdditionalLabels, which CAPI propagates to all managed resources. The installer's destroy logic uses this label to find and clean up CAPI-created GCP resources. Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
df314de to
2e6a5c9
Compare
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
/lgtm |
|
Scheduling tests matching the |
|
@matzew: 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. |
Verify that the GCPCluster object carries the
kubernetes-io-cluster-=owned label that openshift-install destroy cluster relies on to identify and clean up cloud resources.
CAPG propagates AdditionalLabels from the GCPCluster to all managed resources. This test confirms the label is present without any explicit code changes.
Summary by CodeRabbit