[FEATURE] Handle deletion of roles for webhook deployment #181
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
Milestone
Is there an existing feature request for this?
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 shipwright-io/build#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 clusterrolebindingshipwright-build-webhook
.Describe alternatives you have considered.
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: