diff --git a/charts/victoria-metrics-operator/templates/role.yaml b/charts/victoria-metrics-operator/templates/role.yaml index add5c9f28..6acf430aa 100644 --- a/charts/victoria-metrics-operator/templates/role.yaml +++ b/charts/victoria-metrics-operator/templates/role.yaml @@ -180,6 +180,7 @@ rules: {{- with $rules.admin }} {{ toYaml . }} {{- end }} +{{- end }} {{- if and (index .Values "victoria-metrics-crds" "enabled") .Values.rbac.aggregatedClusterRoles.enabled }} {{- /* This template generates readonly and admin cluster roles for */ -}}