1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

fix: add watch to validatingwebhookconfigs (#3845)

* fix: add watch to validatingwebhookconfigs

Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>

* fix: only patch/update are resource-bound

Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>

---------

Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>
This commit is contained in:
Gustavo Fernandes de Carvalho 2024-08-28 11:48:21 -03:00 committed by GitHub
parent 6f32955fc5
commit 0368b9806f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,6 +22,8 @@ rules:
- "validatingwebhookconfigurations"
verbs:
- "list"
- "watch"
- "get"
- apiGroups:
- "admissionregistration.k8s.io"
resources:
@ -30,8 +32,6 @@ rules:
- "secretstore-validate"
- "externalsecret-validate"
verbs:
- "get"
- "watch"
- "update"
- "patch"
- apiGroups: