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
|
||||
show_if: "service.ui.type=NodePort||service.ui.type=LoadBalancer"
|
||||
label: UI Service NodePort number
|
||||
- variable: podSecurityPolicy.enabled
|
||||
- variable: enablePSP
|
||||
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
|
||||
type: boolean
|
||||
group: "Other Settings"
|
@ -1,4 +1,4 @@
|
||||
{{- if .Values.podSecurityPolicy.enabled }}
|
||||
{{- if .Values.enablePSP }}
|
||||
apiVersion: policy/v1beta1
|
||||
kind: PodSecurityPolicy
|
||||
metadata:
|
||||
|
@ -119,6 +119,5 @@ ingress:
|
||||
# key:
|
||||
# certificate:
|
||||
|
||||
# Setup pod security policy in the Longhorn namespace to allow privileged pods
|
||||
podSecurityPolicy:
|
||||
enabled: true
|
||||
# Configure a pod security policy in the Longhorn namespace to allow privileged pods
|
||||
enablePSP: true
|
||||
|
Loading…
Reference in New Issue
Block a user