mirror of https://git.rancher.io/charts
9 lines
381 B
Diff
9 lines
381 B
Diff
--- charts-original/templates/psp.yaml
|
|
+++ charts/templates/psp.yaml
|
|
@@ -1,4 +1,4 @@
|
|
-{{- if and .Values.psp (semverCompare "<1.25-0" (substr 1 -1 .Capabilities.KubeVersion.GitVersion)) -}}
|
|
+{{- if and .Values.global.cattle.psp.enabled (semverCompare "<1.25-0" (substr 1 -1 .Capabilities.KubeVersion.GitVersion)) -}}
|
|
apiVersion: policy/v1beta1
|
|
kind: PodSecurityPolicy
|
|
metadata:
|