mirror of https://git.rancher.io/charts
9 lines
325 B
Diff
9 lines
325 B
Diff
--- charts-original/templates/psp.yaml
|
|
+++ charts/templates/psp.yaml
|
|
@@ -1,4 +1,4 @@
|
|
-{{ if and .Values.rbac.enabled .Values.rbac.psp.enabled (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }}
|
|
+{{ if and .Values.global.cattle.psp.enabled }}
|
|
apiVersion: policy/v1beta1
|
|
kind: PodSecurityPolicy
|
|
metadata:
|