diff --git a/execution/helm/templates/theodolite/role.yaml b/execution/helm/templates/theodolite/role.yaml index 84133c1b7b09ba1390cc5b2f3a0d1a5adb1c1ef3..73e3e5098448c88e6b030f1dc2056caf999da3ce 100644 --- a/execution/helm/templates/theodolite/role.yaml +++ b/execution/helm/templates/theodolite/role.yaml @@ -42,6 +42,7 @@ rules: - delete - list - create + {{- if .Values.operator.enabled -}} - apiGroups: - theodolite.com resources: @@ -55,4 +56,5 @@ rules: - watch - update - patch + {{- end }} {{- end }} \ No newline at end of file