diff --git a/chart/questions.yaml b/chart/questions.yaml index 30a5182..af764ab 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -142,6 +142,18 @@ questions: type: string label: Longhorn CSI Driver Snapshotter Image Tag group: "Longhorn CSI Driver Images" + - variable: image.csi.livenessProbe.repository + default: longhornio/livenessprobe + description: "Specify CSI liveness probe image repository. Leave blank to autodetect." + type: string + label: Longhorn CSI Liveness Probe Image Repository + group: "Longhorn CSI Liveness Probe Images" + - variable: image.csi.livenessProbe.tag + default: v2.8.0 + description: "Specify CSI liveness probe image tag. Leave blank to autodetect." + type: string + label: Longhorn CSI Liveness Probe Image Tag + group: "Longhorn CSI Driver Images" - variable: privateRegistry.registryUrl label: Private registry URL description: "URL of private registry. Leave blank to apply system default registry." diff --git a/chart/templates/deployment-driver.yaml b/chart/templates/deployment-driver.yaml index ecbde87..f162fbf 100644 --- a/chart/templates/deployment-driver.yaml +++ b/chart/templates/deployment-driver.yaml @@ -67,6 +67,10 @@ spec: - name: CSI_SNAPSHOTTER_IMAGE value: "{{ template "registry_url" . }}{{ .Values.image.csi.snapshotter.repository }}:{{ .Values.image.csi.snapshotter.tag }}" {{- end }} + {{- if and .Values.image.csi.livenessProbe.repository .Values.image.csi.livenessProbe.tag }} + - name: CSI_LIVENESS_PROBE_IMAGE + value: "{{ template "registry_url" . }}{{ .Values.image.csi.livenessProbe.repository }}:{{ .Values.image.csi.livenessProbe.tag }}" + {{- end }} {{- if .Values.csi.attacherReplicaCount }} - name: CSI_ATTACHER_REPLICA_COUNT value: {{ .Values.csi.attacherReplicaCount | quote }} diff --git a/chart/values.yaml b/chart/values.yaml index d1dd439..5301502 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -60,6 +60,9 @@ image: snapshotter: repository: longhornio/csi-snapshotter tag: v5.0.1 + livenessProbe: + repository: longhornio/livenessprobe + tag: v2.8.0 pullPolicy: IfNotPresent service: