Repository navigation
[18-stable] Reconcile when custom route cert secret content changes - #2199
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
|
|
/test precommit-check |
|
[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 |
|
/cherry-pick 18.0-fr7 |
|
@stuggi: once the present PR merges, I will cherry-pick it on top of 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 kubernetes-sigs/prow repository. |
29232dc
into
openstack-k8s-operators:18-stable
|
@stuggi: new pull request created: #2202 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 kubernetes-sigs/prow repository. |
This is an automated cherry-pick of #2198
/assign stuggi
Jira: OSPRH-39589
Jira: OSPRH-39944