operator
operator copied to clipboard
[FEATURE] Handle deletion of roles for webhook deployment
Is there an existing feature request for this?
- [X] I have searched the existing feature requests
Is your feature request related to a problem or use-case? Please describe.
We shipped Shipwright Build v0.12.0 with a cluster role and a binding for the webhook that are unnecessary. To follow least-privilege principle, we removed them in https://github.com/shipwright-io/build/pull/1448.
The operator must handle the deletion.
Describe the solution that you would like.
When updating v0.13.0, the operator should delete the clusterrole shipwright-build-webhook
and the clusterrolebinding shipwright-build-webhook
.
Describe alternatives you have considered.
No response
Anything else?
No response