CORS-4508: Add GCD manual OIDC workload identity CI job#82348
CORS-4508: Add GCD manual OIDC workload identity CI job#82348rochacbruno wants to merge 1 commit into
Conversation
Add step-registry components and CI job for testing OpenShift installations on Google Cloud Dedicated using Workload Identity Federation. New step-registry components: - ipi-conf-gcd-wif-auth ref: sets up WIF auth via AWS identity chain - ipi-conf-gcd chain: GCP config with WIF auth step - ipi-gcd-pre chain: full GCD pre-install chain - openshift-e2e-gcd workflow: end-to-end test workflow for GCD The auth flow uses AWS identity chaining: ci-ops injects an AWS config file, the step uses the hub profile (trusted by GCD WIF pool), and the WIF credential config stored as gce.json in the cluster profile secret enables the Google SDK to exchange AWS credentials for GCD tokens. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
@rochacbruno: This pull request references CORS-4508 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 sub-task to target the "5.0.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. |
WalkthroughAdds a private GCD end-to-end workflow for manual OIDC workload identity, including infrastructure setup, OpenShift testing, cleanup, ownership metadata, and optional TechPreview installer registration. ChangesManual OIDC GCD E2E
Estimated code review effort: 2 (Simple) | ~10 minutes Sequence Diagram(s)sequenceDiagram
participant InstallerTest
participant ManualOIDCWorkflow
participant GCDSetupChain
participant OpenShiftE2E
participant Cleanup
InstallerTest->>ManualOIDCWorkflow: Select optional TechPreview workflow
ManualOIDCWorkflow->>GCDSetupChain: Provision private GCD cluster and OIDC credentials
ManualOIDCWorkflow->>OpenShiftE2E: Run end-to-end tests
OpenShiftE2E-->>ManualOIDCWorkflow: Return test results
ManualOIDCWorkflow->>Cleanup: Gather diagnostics and deprovision resources
🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rochacbruno 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 |
|
[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 pull-ci-openshift-installer-main-e2e-gcd-ovn-private-manual-oidc-techpreview |
|
@rochacbruno: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
| CONTROL_PLANE_DISK_TYPE: hyperdisk-balanced | ||
| CONTROL_PLANE_NODE_TYPE: c3-standard-8 |
There was a problem hiding this comment.
nit: these should not be needed after openshift/installer#10706
|
@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
Add CI job
e2e-gcd-ovn-private-manual-oidc-techpreviewfor testing OpenShift installations on Google Cloud Dedicated with manual OIDC workload identity credentials provisioned byccoctl.New step-registry components
ipi-gcd-pre-manual-oidc-workload-identitychain: GCD private cluster setup with manual OIDC credential provisioning viaccoctlopenshift-e2e-gcd-manual-oidc-workload-identityworkflow: end-to-end test workflow with OIDC creds provision/deprovisionJob configuration
always_run: false,optional: truecluster_profile: gcde2e-gcd-ovn-private-techpreview(C3 machines, hyperdisk-balanced, private DNS, rhcos10 image)ipi-conf-manual-creds+ipi-conf-gcp-oidc-creds-provisionfor WIF setupTEST_SKIPSfor CSR test (same as GCP manual OIDC job)How it works
The workflow combines the GCD private cluster infrastructure (VPC, bastion, proxy) with the manual OIDC credential provisioning steps:
e2e-gcd-ovn-private-techpreview)credentialsMode: Manualccoctl gcp create-allto provision WIF pool, provider, and per-operator service accountsDependencies
ccoctluniverse domain support for GCD (required foripi-conf-gcp-oidc-creds-provisionstep)Test plan
/pj-rehearse pull-ci-openshift-installer-main-e2e-gcd-ovn-private-manual-oidc-techpreviewpassesGenerated with Claude Code
Summary by CodeRabbit
Adds optional CI coverage for private OpenShift installations on Google Cloud Dedicated using manually provisioned OIDC workload identity credentials via
ccoctl.e2e-gcd-ovn-private-manual-oidc-techpreviewTechPreview job using thegcdcluster profile.