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
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
@ -54,3 +55,4 @@ spec:
|
|||||||
{{ toYaml .Values.longhornManager.nodeSelector | indent 8 }}
|
{{ toYaml .Values.longhornManager.nodeSelector | indent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
@ -158,6 +158,9 @@ persistence:
|
|||||||
# -- Allow automatically removing snapshots during filesystem trim for Longhorn StorageClass. Options: `ignored`, `enabled`, `disabled`
|
# -- Allow automatically removing snapshots during filesystem trim for Longhorn StorageClass. Options: `ignored`, `enabled`, `disabled`
|
||||||
removeSnapshotsDuringFilesystemTrim: ignored
|
removeSnapshotsDuringFilesystemTrim: ignored
|
||||||
|
|
||||||
|
helmPreUpgradeCheckerJob:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
csi:
|
csi:
|
||||||
# -- Specify kubelet root-dir. Leave blank to autodetect
|
# -- Specify kubelet root-dir. Leave blank to autodetect
|
||||||
kubeletRootDir: ~
|
kubeletRootDir: ~
|
||||||
|
Loading…
Reference in New Issue
Block a user