fix(common-RBAC): remove RBAC requirements that are not requirements

This commit is contained in:
Kjeld Schouten
2024-04-27 15:44:26 +02:00
committed by GitHub
parent f6e0179b64
commit bd8b16cda7

View File

@@ -14,12 +14,6 @@ objectData: The object data to be used to render the RBAC.
{{- end -}}
{{- range $objectData.rules -}}
{{- if not .apiGroups -}}
{{- fail "RBAC - Expected non-empty [rbac.rules.apiGroups]" -}}
{{- end -}}
{{- if not .resources -}}
{{- fail "RBAC - Expected non-empty [rbac.rules.resources]" -}}
{{- end -}}
{{- if not .verbs -}}
{{- fail "RBAC - Expected non-empty [rbac.rules.verbs]" -}}
{{- end -}}