diff --git a/charts/latest/azuredisk-csi-driver-v1.29.5.tgz b/charts/latest/azuredisk-csi-driver-v1.29.5.tgz index a1306425e1..cd68fb6437 100644 Binary files a/charts/latest/azuredisk-csi-driver-v1.29.5.tgz and b/charts/latest/azuredisk-csi-driver-v1.29.5.tgz differ diff --git a/charts/latest/azuredisk-csi-driver/templates/csi-azuredisk-controller.yaml b/charts/latest/azuredisk-csi-driver/templates/csi-azuredisk-controller.yaml index 7e4255aaa8..103886e4de 100644 --- a/charts/latest/azuredisk-csi-driver/templates/csi-azuredisk-controller.yaml +++ b/charts/latest/azuredisk-csi-driver/templates/csi-azuredisk-controller.yaml @@ -158,7 +158,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 }} - --v=2 volumeMounts: - name: socket-dir @@ -203,12 +207,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.29.5/azuredisk-csi-driver-v1.29.5.tgz b/charts/v1.29.5/azuredisk-csi-driver-v1.29.5.tgz index a1306425e1..617bd7685a 100644 Binary files a/charts/v1.29.5/azuredisk-csi-driver-v1.29.5.tgz and b/charts/v1.29.5/azuredisk-csi-driver-v1.29.5.tgz differ diff --git a/charts/v1.29.5/azuredisk-csi-driver/templates/csi-azuredisk-controller.yaml b/charts/v1.29.5/azuredisk-csi-driver/templates/csi-azuredisk-controller.yaml index 7e4255aaa8..103886e4de 100644 --- a/charts/v1.29.5/azuredisk-csi-driver/templates/csi-azuredisk-controller.yaml +++ b/charts/v1.29.5/azuredisk-csi-driver/templates/csi-azuredisk-controller.yaml @@ -158,7 +158,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 }} - --v=2 volumeMounts: - name: socket-dir @@ -203,12 +207,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