rancher-charts/packages/rancher-gatekeeper/generated-changes/patch/templates/gatekeeper-admin-podsecurit...

9 lines
358 B
Diff

--- charts-original/templates/gatekeeper-admin-podsecuritypolicy.yaml
+++ charts/templates/gatekeeper-admin-podsecuritypolicy.yaml
@@ -1,4 +1,4 @@
-{{- if and .Values.psp.enabled (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }}
+{{- if .Values.global.cattle.psp.enabled }}
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata: