mirror of https://git.rancher.io/charts
12 lines
378 B
Diff
12 lines
378 B
Diff
--- 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:
|