diff --git a/helm/templates/theodolite/role.yaml b/helm/templates/theodolite/role.yaml index 90604a93fcb474c68f4ff91c7a40c10a04feb1ab..b8d4d2d005d5a969c2c72cdca145f829d748e419 100644 --- a/helm/templates/theodolite/role.yaml +++ b/helm/templates/theodolite/role.yaml @@ -55,7 +55,9 @@ rules: - get - create - update -{{ toYaml .Values.rbac.additionalRules | indent 2 }} + {{- with .Values.rbac.additionalRules }} +{{ toYaml . | indent 2 }} + {{- end }} {{- if .Values.operator.enabled }} - apiGroups: - theodolite.com