add conditional
Signed-off-by: arlan lloyd <arlanlloyd@gmail.com>
This commit is contained in:
parent
15fae1ba47
commit
febfa7eef7
@ -1,3 +1,4 @@
|
||||
{{- if .Values.helmPreUpgradeCheckerJob.enabled }}
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
@ -54,3 +55,4 @@ spec:
|
||||
{{ toYaml .Values.longhornManager.nodeSelector | indent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
@ -158,6 +158,9 @@ persistence:
|
||||
# -- Allow automatically removing snapshots during filesystem trim for Longhorn StorageClass. Options: `ignored`, `enabled`, `disabled`
|
||||
removeSnapshotsDuringFilesystemTrim: ignored
|
||||
|
||||
helmPreUpgradeCheckerJob:
|
||||
enabled: true
|
||||
|
||||
csi:
|
||||
# -- Specify kubelet root-dir. Leave blank to autodetect
|
||||
kubeletRootDir: ~
|
||||
|
Loading…
Reference in New Issue
Block a user