Skip to content

skmo: use post-deploy federation controlplane hook#740

Merged
softwarefactory-project-zuul[bot] merged 1 commit intoopenstack-k8s-operators:mainfrom
vakwetu:fix_federation_hook
Apr 21, 2026
Merged

skmo: use post-deploy federation controlplane hook#740
softwarefactory-project-zuul[bot] merged 1 commit intoopenstack-k8s-operators:mainfrom
vakwetu:fix_federation_hook

Conversation

@vakwetu
Copy link
Copy Markdown
Contributor

@vakwetu vakwetu commented Apr 13, 2026

Switch the Stage 5 post_stage_run from federation-controlplane-config.yml to federation-controlplane-config-postdeploy.yml.

The post-deploy hook is designed for pipelines where the OpenStackControlPlane CR already exists. It reads the live OSCP to determine the CA bundle secret name, preserves any existing secret data, and merges in the Keycloak CA cert before patching caBundleSecretName when not already set.

The original federation-controlplane-config.yml (pre-deploy hook) is intended for the component pipeline where the OSCP does not yet exist at hook execution time.

Relates-to: OSPCIX-1321
Depends-On: openstack-k8s-operators/ci-framework#3847

Switch the Stage 5 post_stage_run from federation-controlplane-config.yml
to federation-controlplane-config-postdeploy.yml.

The post-deploy hook is designed for pipelines where the
OpenStackControlPlane CR already exists.  It reads the live OSCP to
determine the CA bundle secret name, preserves any existing secret data,
and merges in the Keycloak CA cert before patching caBundleSecretName
when not already set.

The original federation-controlplane-config.yml (pre-deploy hook) is
intended for the component pipeline where the OSCP does not yet exist
at hook execution time.

Relates-to: OSPCIX-1321
Depends-On: openstack-k8s-operators/ci-framework#3847
Signed-off-by: Ade Lee <alee@redhat.com>
Co-authored-by: Claude Sonnet 4.6 <no-reply@anthropic.com>
@openshift-ci openshift-ci Bot requested review from abays and karelyatin April 13, 2026 22:06
@vakwetu vakwetu requested a review from xek April 14, 2026 01:50
@vakwetu vakwetu added the ready-review Request is ready to be reviewed label Apr 15, 2026
Copy link
Copy Markdown
Contributor

@evallesp evallesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fultonj
Copy link
Copy Markdown
Contributor

fultonj commented Apr 16, 2026

/lgtm

@fultonj
Copy link
Copy Markdown
Contributor

fultonj commented Apr 21, 2026

/approve

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 21, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danpawlik, evallesp, fultonj, vakwetu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@softwarefactory-project-zuul
Copy link
Copy Markdown
Contributor

Build succeeded (gate pipeline).
https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/4d1d4fc586014a198843865c1f3f1b18

✔️ noop SUCCESS in 0s

@softwarefactory-project-zuul softwarefactory-project-zuul Bot merged commit 644a3a3 into openstack-k8s-operators:main Apr 21, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm ready-review Request is ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants