mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-03 00:04:16 -03:00
fix(common-RBAC): remove RBAC requirements that are not requirements
This commit is contained in:
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user