add conditional
Signed-off-by: arlan lloyd <arlanlloyd@gmail.com>
(cherry picked from commit febfa7eef7
)
This commit is contained in:
parent
4087206819
commit
8f4c3eb8d3
@ -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 }}
|
@ -102,6 +102,9 @@ persistence:
|
|||||||
selector: ""
|
selector: ""
|
||||||
removeSnapshotsDuringFilesystemTrim: ignored # "enabled" or "disabled" otherwise
|
removeSnapshotsDuringFilesystemTrim: ignored # "enabled" or "disabled" otherwise
|
||||||
|
|
||||||
|
helmPreUpgradeCheckerJob:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
csi:
|
csi:
|
||||||
kubeletRootDir: ~
|
kubeletRootDir: ~
|
||||||
attacherReplicaCount: ~
|
attacherReplicaCount: ~
|
||||||
|
Loading…
Reference in New Issue
Block a user