Skip to content

Commit

Permalink
fix: missing update verb in hubble-generate-certs
Browse files Browse the repository at this point in the history
[ upstream commit 876e9db ]

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>
Signed-off-by: Aditi Ghag <aditi@cilium.io>
  • Loading branch information
alex1989hu authored and errordeveloper committed Jun 25, 2021
1 parent b2be46d commit 2d6c372
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -37,4 +37,5 @@ rules:
- hubble-ca-secret
verbs:
- get
- update
{{- end }}

0 comments on commit 2d6c372

Please sign in to comment.