Repository navigation
[18.0-fr7] Reconcile when custom route cert secret content changes - #2202
Conversation
When a user updates the content of a secret referenced by spec.<service>.apiOverride.tls.secretName, the control plane was not reconciled, so the Routes kept the old certificate. Index the apiOverride TLS secret names of all services so the existing Secret watch enqueues the control plane. The existing field indexers and allWatchFields are consolidated into a single fieldIndexers map, used for both registration and lookup. Add unit tests for the secret name collection (reflection based, fails when a new Override field is not covered) and for findObjectsForSrc. Add functional tests: a route update smoke test, and a test asserting the watch registered by SetupWithManager enqueues the control plane, using a second manager with a recording no-op reconcile. Jira: OSPRH-39589 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
OpenStackControlPlane CRD Size Report
Threshold reference
|
|
/test functional |
|
Build failed (check pipeline). Post ❌ openstack-k8s-operators-content-provider FAILURE in 20m 42s |
|
recheck |
|
Build succeeded (check pipeline). ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 21m 29s Warning: |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: openshift-cherrypick-robot, stuggi 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 |
1410ddb
into
openstack-k8s-operators:18.0-fr7
This is an automated cherry-pick of #2199
/assign stuggi
Jira: OSPRH-39589
Jira: OSPRH-39944