--- charts-original/templates/gatekeeper-manager-role-clusterrole.yaml +++ charts/templates/gatekeeper-manager-role-clusterrole.yaml @@ -106,7 +106,7 @@ - patch - update - watch -{{- if and .Values.psp.enabled (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }} +{{- if .Values.global.cattle.psp.enabled }} - apiGroups: - policy resourceNames: