diff --git a/charts/latest/blob-csi-driver-v1.24.1.tgz b/charts/latest/blob-csi-driver-v1.24.1.tgz index cbf94c473..0ce85f79a 100644 Binary files a/charts/latest/blob-csi-driver-v1.24.1.tgz and b/charts/latest/blob-csi-driver-v1.24.1.tgz differ diff --git a/charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml b/charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml index 38ef78cfe..3f0ffe6a9 100644 --- a/charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml +++ b/charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml @@ -91,7 +91,11 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s +{{- if eq .Values.controller.hostNetwork true }} - --http-endpoint=localhost:{{ .Values.controller.livenessProbe.healthPort }} +{{- else }} + - --health-port={{ .Values.controller.livenessProbe.healthPort }} +{{- end }} imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }} volumeMounts: - name: socket-dir @@ -117,12 +121,21 @@ spec: - containerPort: {{ .Values.controller.metricsPort }} name: metrics protocol: TCP +{{- if ne .Values.controller.hostNetwork true }} + - containerPort: {{ .Values.controller.livenessProbe.healthPort }} + name: healthz + protocol: TCP +{{- end }} livenessProbe: failureThreshold: 5 httpGet: - host: localhost path: /healthz +{{- if eq .Values.controller.hostNetwork true }} + host: localhost port: {{ .Values.controller.livenessProbe.healthPort }} +{{- else }} + port: healthz +{{- end }} initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/charts/v1.24.1/blob-csi-driver-v1.24.1.tgz b/charts/v1.24.1/blob-csi-driver-v1.24.1.tgz index cbf94c473..0b0a665fa 100644 Binary files a/charts/v1.24.1/blob-csi-driver-v1.24.1.tgz and b/charts/v1.24.1/blob-csi-driver-v1.24.1.tgz differ diff --git a/charts/v1.24.1/blob-csi-driver/templates/csi-blob-controller.yaml b/charts/v1.24.1/blob-csi-driver/templates/csi-blob-controller.yaml index 38ef78cfe..3f0ffe6a9 100644 --- a/charts/v1.24.1/blob-csi-driver/templates/csi-blob-controller.yaml +++ b/charts/v1.24.1/blob-csi-driver/templates/csi-blob-controller.yaml @@ -91,7 +91,11 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s +{{- if eq .Values.controller.hostNetwork true }} - --http-endpoint=localhost:{{ .Values.controller.livenessProbe.healthPort }} +{{- else }} + - --health-port={{ .Values.controller.livenessProbe.healthPort }} +{{- end }} imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }} volumeMounts: - name: socket-dir @@ -117,12 +121,21 @@ spec: - containerPort: {{ .Values.controller.metricsPort }} name: metrics protocol: TCP +{{- if ne .Values.controller.hostNetwork true }} + - containerPort: {{ .Values.controller.livenessProbe.healthPort }} + name: healthz + protocol: TCP +{{- end }} livenessProbe: failureThreshold: 5 httpGet: - host: localhost path: /healthz +{{- if eq .Values.controller.hostNetwork true }} + host: localhost port: {{ .Values.controller.livenessProbe.healthPort }} +{{- else }} + port: healthz +{{- end }} initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30