1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-29 10:55:05 +00:00

fix(helm): remove namespace from RoleBinding/roleRef field (#10685)

- namespace is not a valid parameter for a RoleBinding/roleRef field

Signed-off-by: Laurent Lavaud <laurent.lavaud@mirakl.com>
This commit is contained in:
Laurent Lavaud 2024-07-19 13:56:11 +02:00 committed by GitHub
parent 5f258c47d2
commit 04f4fc9a89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,7 +36,6 @@ roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: {{ template "kyverno.fullname" . }}:remove-configmap
namespace: {{ template "kyverno.namespace" . }}
subjects:
- kind: ServiceAccount
name: {{ template "kyverno.fullname" . }}-remove-configmap