rancher-charts/packages/neuvector/generated-changes/patch/templates/psp.yaml.patch

9 lines
381 B
Diff
Raw Normal View History

2023-02-08 20:13:57 +00:00
--- charts-original/templates/psp.yaml
+++ charts/templates/psp.yaml
@@ -1,4 +1,4 @@
2023-07-20 23:54:38 +00:00
-{{- 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)) -}}
2023-02-08 20:13:57 +00:00
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata: