Skip to content

[pqc] Watch ConfigMap with global defaults produced by openstack-operator - #636

Merged
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
fmount:tlsprofile
Nov 23, 2026
Merged

openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
fmount:tlsprofile

Conversation

@fmount

@fmount fmount commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

As part of the TLSProfile inheritance effort, this patch implements the consumer side of the feature. The openstack-operator reads the cluster TLSSecurityProfile and publishes it in a well-known ConfigMap that lib-common merges into the ConfigOptions of every rendered Template through ApplyTemplateDefaults. A watcher on that ConfigMap is registered through the generic interface lib-common provides, so the operator re-renders its configuration whenever the cluster-wide TLS defaults change.

Jira: https://redhat.atlassian.net/browse/OSPRH-41044

@openshift-ci
openshift-ci Bot requested review from abays and dprince November 20, 2026 10:14
@fmount fmount added the bug Something isn't working label Nov 20, 2026
@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 843e919c-82d7-49a7-a6cf-378844ef0a4b
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@fmount fmount added do-not-merge/hold and removed bug Something isn't working labels Nov 20, 2026
@fmount
fmount requested a review from stuggi November 20, 2026 10:15
@centosinfra-prod-github-app

Copy link
Copy Markdown

Build succeeded (check pipeline).
https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/7d39c0cb50c745b2ac8d85b8b816ffae

✔️ swift-s2i-content-provider SUCCESS in 3h 44m 14s
✔️ swift-s2i-test SUCCESS in 1h 13m 51s
✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 47m 19s
✔️ swift-operator-kuttl SUCCESS in 39m 03s

Warning:
File .ssh/config found in build home directory during playbook github.com/openstack-k8s-operators/s2i-openstack-containers/playbooks/container-ci/zuul/pre.yaml for job swift-s2i-content-provider. Add to preserve-home-paths if safe, or otherwise remove.

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build succeeded (check pipeline).
https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/62113d1257664efbab75bfbc232c80fe

✔️ swift-s2i-content-provider SUCCESS in 1h 39m 37s
✔️ swift-s2i-test SUCCESS in 1h 14m 02s
✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 40m 05s
✔️ swift-operator-kuttl SUCCESS in 39m 57s

Warning:
File .ssh/config found in build home directory during playbook github.com/openstack-k8s-operators/s2i-openstack-containers/playbooks/container-ci/zuul/pre.yaml for job swift-s2i-content-provider. Add to preserve-home-paths if safe, or otherwise remove.

As part of the TLSProfile inheritance effort, this patch implements the
"consumer" side of the feature in swift-operator. The openstack-operator
reads the cluster TLSSecurityProfile and publishes it in a well-known
ConfigMap that lib-common merges into the ConfigOptions of every
rendered Template through ApplyTemplateDefaults. A watcher on that
ConfigMap is registered through the generic interface lib-common
provides, so swift re-renders its configuration whenever the
cluster-wide TLS defaults change.

Co-Authored-By: Claude Code <noreply@anthropic.com>
Signed-off-by: Francesco Pantano <fpantano@redhat.com>

@stuggi stuggi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci

openshift-ci Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fmount, stuggi

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

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build succeeded (check pipeline).
https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/052d09f1879d468e9d42a90ffe7ccf63

✔️ swift-s2i-content-provider SUCCESS in 7h 13m 34s
✔️ swift-s2i-test SUCCESS in 1h 13m 09s
✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 11m 26s
✔️ swift-operator-kuttl SUCCESS in 38m 06s

Warning:
File .ssh/config found in build home directory during playbook github.com/openstack-k8s-operators/s2i-openstack-containers/playbooks/container-ci/zuul/pre.yaml for job swift-s2i-content-provider. Add to preserve-home-paths if safe, or otherwise remove.

@openshift-merge-bot
openshift-merge-bot Bot merged commit ecdd797 into openstack-k8s-operators:main Nov 23, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants