Add GCD cluster profile#5261
Conversation
Register the "gcd" cluster profile for testing OpenShift installations on Google Cloud Dedicated. Maps to the "gcp" cluster type and uses "gcd-quota-slice" for lease management. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
📝 WalkthroughWalkthroughAdds a new exported constant ChangesGCD Cluster Profile Registration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes 🚥 Pre-merge checks | ✅ 17✅ Passed checks (17 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: rochacbruno 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 |
|
Scheduling tests matching the |
|
@rochacbruno: The following test 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
ClusterProfileGCD("gcd") for Google Cloud DedicatedLeaseTypeFromClusterTypefor template-based test compatibilityContext
This is part of CORS-4508: setting up Workload Identity Federation authentication for the OpenShift installer on Google Cloud Dedicated (Berlin environment).
The corresponding openshift/release PR will add the cluster profile config, Boskos quota slices, secret bootstrap entry, and installer CI job configuration.
Generated with Claude Code
Summary
This PR adds support for Google Cloud Dedicated (GCD) cluster infrastructure to the OpenShift CI tooling. The changes introduce a new cluster profile
gcdthat maps to the existing GCP cloud provider implementation, allowing CI jobs to target GCD clusters without duplicating provider logic.Changes
pkg/api/clusterprofile.go:
ClusterProfileGCDconstant with value"gcd"to register the GCD cluster profileClusterProfiles()enumeration functionCloudGCP) as other GCP-based profilesgcd-quota-slicelease type with the profileLeaseTypeFromClusterType()mapping to recognize the"gcd"cluster type and resolve it to the correspondinggcd-quota-slicelease typeImpact
This enables the CI infrastructure to provision and manage test clusters on Google Cloud Dedicated infrastructure. The new cluster profile reuses the existing GCP cloud provider implementation while establishing a distinct identity for GCD resources. This is part of implementing Workload Identity Federation authentication for the OpenShift installer on GCD, specifically targeting the Berlin environment (CORS-4508).
Corresponding configuration is being added to the openshift/release repository, including cluster profile configuration, Boskos quota slice definitions, secret bootstrap entries, and CI job configuration.