feat(csi-liveness-probe): chart update

Ref: 3907

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
This commit is contained in:
Chin-Ya Huang 2022-11-28 09:25:02 +08:00 committed by David Ko
parent 086676cdc5
commit e847b7f62c
3 changed files with 19 additions and 0 deletions

View File

@ -142,6 +142,18 @@ questions:
type: string type: string
label: Longhorn CSI Driver Snapshotter Image Tag label: Longhorn CSI Driver Snapshotter Image Tag
group: "Longhorn CSI Driver Images" 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 - variable: privateRegistry.registryUrl
label: Private registry URL label: Private registry URL
description: "URL of private registry. Leave blank to apply system default registry." description: "URL of private registry. Leave blank to apply system default registry."

View File

@ -67,6 +67,10 @@ spec:
- name: CSI_SNAPSHOTTER_IMAGE - name: CSI_SNAPSHOTTER_IMAGE
value: "{{ template "registry_url" . }}{{ .Values.image.csi.snapshotter.repository }}:{{ .Values.image.csi.snapshotter.tag }}" value: "{{ template "registry_url" . }}{{ .Values.image.csi.snapshotter.repository }}:{{ .Values.image.csi.snapshotter.tag }}"
{{- end }} {{- 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 }} {{- if .Values.csi.attacherReplicaCount }}
- name: CSI_ATTACHER_REPLICA_COUNT - name: CSI_ATTACHER_REPLICA_COUNT
value: {{ .Values.csi.attacherReplicaCount | quote }} value: {{ .Values.csi.attacherReplicaCount | quote }}

View File

@ -60,6 +60,9 @@ image:
snapshotter: snapshotter:
repository: longhornio/csi-snapshotter repository: longhornio/csi-snapshotter
tag: v5.0.1 tag: v5.0.1
livenessProbe:
repository: longhornio/livenessprobe
tag: v2.8.0
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
service: service: