diff --git a/charts/latest/csi-driver-smb-v0.0.0.tgz b/charts/latest/csi-driver-smb-v0.0.0.tgz index 701b1cf157d..f916a3fd417 100644 Binary files a/charts/latest/csi-driver-smb-v0.0.0.tgz and b/charts/latest/csi-driver-smb-v0.0.0.tgz differ diff --git a/charts/latest/csi-driver-smb/templates/csi-smb-controller.yaml b/charts/latest/csi-driver-smb/templates/csi-smb-controller.yaml index 74ee1df145b..5f86404efa5 100755 --- a/charts/latest/csi-driver-smb/templates/csi-smb-controller.yaml +++ b/charts/latest/csi-driver-smb/templates/csi-smb-controller.yaml @@ -83,7 +83,7 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s - - --health-port={{ .Values.controller.livenessProbe.healthPort }} + - --http-endpoint=localhost:{{ .Values.controller.livenessProbe.healthPort }} - --v=2 imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }} volumeMounts: @@ -106,17 +106,15 @@ spec: - "--drivername={{ .Values.driver.name }}" - "--working-mount-dir={{ .Values.controller.workingMountDir }}" ports: - - containerPort: {{ .Values.controller.livenessProbe.healthPort }} - name: healthz - protocol: TCP - containerPort: {{ .Values.controller.metricsPort }} name: metrics protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: {{ .Values.controller.livenessProbe.healthPort }} initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/charts/latest/csi-driver-smb/templates/csi-smb-node-windows.yaml b/charts/latest/csi-driver-smb/templates/csi-smb-node-windows.yaml index b033b151c97..eb6498d8463 100755 --- a/charts/latest/csi-driver-smb/templates/csi-smb-node-windows.yaml +++ b/charts/latest/csi-driver-smb/templates/csi-smb-node-windows.yaml @@ -50,7 +50,7 @@ spec: args: - --csi-address=$(CSI_ENDPOINT) - --probe-timeout=3s - - --health-port={{ .Values.node.livenessProbe.healthPort }} + - --http-endpoint=localhost:{{ .Values.node.livenessProbe.healthPort }} - --v=2 env: - name: CSI_ENDPOINT @@ -105,15 +105,12 @@ spec: - --nodeid=$(KUBE_NODE_NAME) - "--enable-get-volume-stats={{ .Values.feature.enableGetVolumeStats }}" - "--remove-smb-mapping-during-unmount={{ .Values.windows.removeSMBMappingDuringUnmount }}" - ports: - - containerPort: {{ .Values.node.livenessProbe.healthPort }} - name: healthz - protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: {{ .Values.node.livenessProbe.healthPort }} initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/charts/latest/csi-driver-smb/templates/csi-smb-node.yaml b/charts/latest/csi-driver-smb/templates/csi-smb-node.yaml index 7fa03c773a4..6865e227ada 100755 --- a/charts/latest/csi-driver-smb/templates/csi-smb-node.yaml +++ b/charts/latest/csi-driver-smb/templates/csi-smb-node.yaml @@ -59,7 +59,7 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s - - --health-port={{ .Values.node.livenessProbe.healthPort }} + - --http-endpoint=localhost:{{ .Values.node.livenessProbe.healthPort }} - --v=2 imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }} resources: {{- toYaml .Values.linux.resources.livenessProbe | nindent 12 }} @@ -109,15 +109,12 @@ spec: - "--nodeid=$(KUBE_NODE_NAME)" - "--enable-get-volume-stats={{ .Values.feature.enableGetVolumeStats }}" - "--krb5-prefix={{ .Values.linux.krb5Prefix }}" - ports: - - containerPort: {{ .Values.node.livenessProbe.healthPort }} - name: healthz - protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: {{ .Values.node.livenessProbe.healthPort }} initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/charts/v1.14.0/csi-driver-smb-v1.14.0.tgz b/charts/v1.14.0/csi-driver-smb-v1.14.0.tgz index 3f22f97cc2f..0048aa4af3a 100644 Binary files a/charts/v1.14.0/csi-driver-smb-v1.14.0.tgz and b/charts/v1.14.0/csi-driver-smb-v1.14.0.tgz differ diff --git a/charts/v1.14.0/csi-driver-smb/templates/csi-smb-controller.yaml b/charts/v1.14.0/csi-driver-smb/templates/csi-smb-controller.yaml index 74ee1df145b..a87b7e8e1ad 100644 --- a/charts/v1.14.0/csi-driver-smb/templates/csi-smb-controller.yaml +++ b/charts/v1.14.0/csi-driver-smb/templates/csi-smb-controller.yaml @@ -83,7 +83,7 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s - - --health-port={{ .Values.controller.livenessProbe.healthPort }} + - --http-endpoint=localhost:{{ .Values.controller.livenessProbe.healthPort }} - --v=2 imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }} volumeMounts: @@ -106,17 +106,15 @@ spec: - "--drivername={{ .Values.driver.name }}" - "--working-mount-dir={{ .Values.controller.workingMountDir }}" ports: - - containerPort: {{ .Values.controller.livenessProbe.healthPort }} - name: healthz - protocol: TCP - containerPort: {{ .Values.controller.metricsPort }} name: metrics protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: {{ .Values.node.livenessProbe.healthPort }} initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/charts/v1.14.0/csi-driver-smb/templates/csi-smb-node-windows.yaml b/charts/v1.14.0/csi-driver-smb/templates/csi-smb-node-windows.yaml index b033b151c97..eb6498d8463 100644 --- a/charts/v1.14.0/csi-driver-smb/templates/csi-smb-node-windows.yaml +++ b/charts/v1.14.0/csi-driver-smb/templates/csi-smb-node-windows.yaml @@ -50,7 +50,7 @@ spec: args: - --csi-address=$(CSI_ENDPOINT) - --probe-timeout=3s - - --health-port={{ .Values.node.livenessProbe.healthPort }} + - --http-endpoint=localhost:{{ .Values.node.livenessProbe.healthPort }} - --v=2 env: - name: CSI_ENDPOINT @@ -105,15 +105,12 @@ spec: - --nodeid=$(KUBE_NODE_NAME) - "--enable-get-volume-stats={{ .Values.feature.enableGetVolumeStats }}" - "--remove-smb-mapping-during-unmount={{ .Values.windows.removeSMBMappingDuringUnmount }}" - ports: - - containerPort: {{ .Values.node.livenessProbe.healthPort }} - name: healthz - protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: {{ .Values.node.livenessProbe.healthPort }} initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/charts/v1.14.0/csi-driver-smb/templates/csi-smb-node.yaml b/charts/v1.14.0/csi-driver-smb/templates/csi-smb-node.yaml index 7fa03c773a4..6865e227ada 100644 --- a/charts/v1.14.0/csi-driver-smb/templates/csi-smb-node.yaml +++ b/charts/v1.14.0/csi-driver-smb/templates/csi-smb-node.yaml @@ -59,7 +59,7 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s - - --health-port={{ .Values.node.livenessProbe.healthPort }} + - --http-endpoint=localhost:{{ .Values.node.livenessProbe.healthPort }} - --v=2 imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }} resources: {{- toYaml .Values.linux.resources.livenessProbe | nindent 12 }} @@ -109,15 +109,12 @@ spec: - "--nodeid=$(KUBE_NODE_NAME)" - "--enable-get-volume-stats={{ .Values.feature.enableGetVolumeStats }}" - "--krb5-prefix={{ .Values.linux.krb5Prefix }}" - ports: - - containerPort: {{ .Values.node.livenessProbe.healthPort }} - name: healthz - protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: {{ .Values.node.livenessProbe.healthPort }} initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30