Skip to content

Commit

Permalink
fix: missing update verb in hubble-generate-certs
Browse files Browse the repository at this point in the history
If hubble-ca-secret already exists, then certgen is
going to update it.

To let certgen do its job, we need to configure update
verb in the binded ClusterRole, otherwise it will fail
with cannot update resource \"secrets\" in API group
message.

Fixes: #16508

Signed-off-by: Alex Szakaly <alex.szakaly@gmail.com>
  • Loading branch information
alex1989hu authored and christarazi committed Jun 22, 2021
1 parent a75599d commit 876e9db
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ rules:
- hubble-ca-secret
verbs:
- get
- update
{{- end }}

0 comments on commit 876e9db

Please sign in to comment.