-
Notifications
You must be signed in to change notification settings - Fork 17
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
SECURESIGN-1342 | Unable to delete upgraded Securesign object #604
Conversation
Hi, I am thinking about making tsa optional in Securesign resource, by changing it to pointer. https://github.com/securesign/secure-sign-operator/blob/main/api/v1alpha1/securesign_types.go#L35
@JasonPowr @bouskaJ What do you think? |
Off the Top of my head, I can't see any major issue with this, making it a pointer, if I understand correctly may allow for a nil value so I should be able to do some better api validation with it, but I will let @bouskaJ comment before making changes. |
yes, I don't see any issue. @JasonPowr go ahead. |
414cc34
to
be460a2
Compare
be460a2
to
8a6e07f
Compare
8a6e07f
to
5e79749
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JasonPowr, 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 |
/test tas-operator-e2e |
The validation rules I removed here were stopping deletion after an upgrade, I tried to configure new rules however it just would not work reliable, validation for this particular rule is still done inside the controller here: https://github.com/securesign/secure-sign-operator/blob/main/internal/controller/tsa/utils/tsa_cert_chain.go#L238