Change configuration variable for PSP
Signed-off-by: janeczku <jan@rancher.com>
This commit is contained in:
parent
f887ad1fb4
commit
298d60d05d
@ -338,9 +338,9 @@ WARNING: DO NOT CHANGE THIS SETTING WITH ATTACHED VOLUMES.'
|
|||||||
max: 32767
|
max: 32767
|
||||||
show_if: "service.ui.type=NodePort||service.ui.type=LoadBalancer"
|
show_if: "service.ui.type=NodePort||service.ui.type=LoadBalancer"
|
||||||
label: UI Service NodePort number
|
label: UI Service NodePort number
|
||||||
- variable: podSecurityPolicy.enabled
|
- variable: enablePSP
|
||||||
default: "true"
|
default: "true"
|
||||||
description: "Configure a custom pod security policy for the Longhorn namespace."
|
description: "Setup a pod security policy for Longhorn workloads."
|
||||||
label: Pod Security Policy
|
label: Pod Security Policy
|
||||||
type: boolean
|
type: boolean
|
||||||
group: "Other Settings"
|
group: "Other Settings"
|
@ -1,4 +1,4 @@
|
|||||||
{{- if .Values.podSecurityPolicy.enabled }}
|
{{- if .Values.enablePSP }}
|
||||||
apiVersion: policy/v1beta1
|
apiVersion: policy/v1beta1
|
||||||
kind: PodSecurityPolicy
|
kind: PodSecurityPolicy
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -119,6 +119,5 @@ ingress:
|
|||||||
# key:
|
# key:
|
||||||
# certificate:
|
# certificate:
|
||||||
|
|
||||||
# Setup pod security policy in the Longhorn namespace to allow privileged pods
|
# Configure a pod security policy in the Longhorn namespace to allow privileged pods
|
||||||
podSecurityPolicy:
|
enablePSP: true
|
||||||
enabled: true
|
|
||||||
|
Loading…
Reference in New Issue
Block a user