Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ctlog): cleanup only linked server configs #693

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

osmman
Copy link
Contributor

@osmman osmman commented Oct 22, 2024

Fix handling of cleanup of ServerConfig secrets and invalidation mechanism

Handling of Deleted Generated Secrets:
In cases where generated secrets were being deleted due to duplicate events during the operator's reconciliation process, I have adjusted order of execution. Now, any secrets that have the expected resource labels will be removed after successful creation of new one.

ServerConfig Invalidation Mechanism:
I have modified the mechanism that invalidates the current server configuration in response to external actions, such as the creation of a Trillian tree, issuance of Fulcio certificates, or the generation of signer keys. When any of these external actions result in a change of data, the ServerConfigAvaliable status is now correctly set to false. This triggers the necessary reconciliation to maintain the correct state of the server configuration.

Copy link

openshift-ci bot commented Oct 22, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: osmman

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

The pull request process is described here

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

@osmman osmman added this to the 1.1.0 milestone Oct 22, 2024
@bouskaJ
Copy link
Collaborator

bouskaJ commented Oct 22, 2024

/lgtm
Can you apply similar approach to other components?

@openshift-ci openshift-ci bot added the lgtm label Oct 22, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 6d8d851 into main Oct 22, 2024
21 of 22 checks passed
@osmman osmman deleted the tturek/ctlog-server-config branch October 22, 2024 12:53
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