Skip to content

Commit

Permalink
Don't give operator permissions to create CRDs if not needed
Browse files Browse the repository at this point in the history
Signed-off-by: Cheithanya <cheithanya2002@gmail.com>
  • Loading branch information
itsCheithanya authored and lambdanis committed Jul 12, 2024
1 parent b83e10c commit 21ae8bc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ rules:
- patch
- update
- watch
{{- if eq .Values.crds.installMethod "operator" }}
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- create
{{- end }}
- apiGroups:
- apiextensions.k8s.io
resources:
Expand Down

0 comments on commit 21ae8bc

Please # to comment.