Add application credential finalizer management#643
Conversation
d14e484 to
ec6c565
Compare
ec6c565 to
60522f3
Compare
bshephar
left a comment
There was a problem hiding this comment.
I'm an outsider now, as an outsider it would be nice to have some more context about this change in the commit message. :)
Maybe it's still a WIP, but there's a few important things I've noted in-line.
|
@bshephar: changing LGTM is restricted to collaborators 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. |
60522f3 to
4e9ab56
Compare
|
Build failed (check pipeline). Post ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 56m 15s |
4e9ab56 to
32c942f
Compare
|
Build failed (check pipeline). Post ❌ openstack-k8s-operators-content-provider FAILURE in 4m 09s |
|
/test heat-operator-build-deploy-kuttl |
|
recheck |
32c942f to
422f1b9
Compare
|
Following the discussion in watcher-operator the AC finalizer management is now split into two phases:
This prevents a race condition where rapid AC rotations could revoke credentials still in use by running pods. The new file |
Heat now tracks which AC secret it is consuming via Status.ApplicationCredentialSecret and manages the openstack.org/heat-ac-consumer finalizer on that secret. This ensures keystone-operator does not prematurely revoke the application credential while Heat is still using it. On rotation (when the spec reference changes), the finalizer is moved from the old secret to the new one. On Heat CR deletion, the finalizer is cleaned up from all referenced secrets. Signed-off-by: Veronika Fisarova <vfisarov@redhat.com>
422f1b9 to
c9af0df
Compare
|
@rabi Hi! Is there still any requested change/clarification on your side, or we ready to merge? |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Deydra71, rabi 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 |
|
/test heat-operator-build-deploy-kuttl failed during install_yamls deploy |
30a543f
into
openstack-k8s-operators:main
Jira: OSPRH-29269
Application Credential dev-doc: https://github.com/openstack-k8s-operators/dev-docs/blob/main/application_credentials.md
Status.ApplicationCredentialSecretopenstack.org/heat-ac-consumerfinalizer to the AC secret after service config is renderedThis ensures that the keystone-operator cannot revoke a rotated AC secret while Heat is still consuming it.
Depends-On: openstack-k8s-operators/keystone-operator#685
Assisted-by: Claude Opus 4.6 noreply@anthropic.com