diff --git a/charts/latest/azurefile-csi-driver-v0.0.0.tgz b/charts/latest/azurefile-csi-driver-v0.0.0.tgz index 6cd818018a..0017b73c7c 100644 Binary files a/charts/latest/azurefile-csi-driver-v0.0.0.tgz and b/charts/latest/azurefile-csi-driver-v0.0.0.tgz differ diff --git a/charts/latest/azurefile-csi-driver/templates/csi-azurefile-controller.yaml b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-controller.yaml index 0ac4eb6d9d..5ca054a335 100644 --- a/charts/latest/azurefile-csi-driver/templates/csi-azurefile-controller.yaml +++ b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-controller.yaml @@ -135,7 +135,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: @@ -160,17 +160,15 @@ spec: - "--user-agent-suffix={{ .Values.driver.userAgentSuffix }}" - "--allow-empty-cloud-config={{ .Values.controller.allowEmptyCloudConfig }}" 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/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml index f171603d73..6102a1f7e9 100644 --- a/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml +++ b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml @@ -73,7 +73,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 @@ -138,15 +138,12 @@ spec: - "--enable-get-volume-stats={{ .Values.feature.enableGetVolumeStats }}" - "--allow-inline-volume-key-access-with-identity={{ .Values.node.allowInlineVolumeKeyAccessWithIdentity }}" - "--metrics-address=0.0.0.0:{{ .Values.node.metricsPort }}" - 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/azurefile-csi-driver/templates/csi-azurefile-node.yaml b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node.yaml index 57b04d149c..b94b2c82fe 100644 --- a/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node.yaml +++ b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node.yaml @@ -78,7 +78,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 }} @@ -136,15 +136,12 @@ spec: - "--mount-permissions={{ .Values.linux.mountPermissions }}" - "--allow-inline-volume-key-access-with-identity={{ .Values.node.allowInlineVolumeKeyAccessWithIdentity }}" - "--metrics-address=0.0.0.0:{{ .Values.node.metricsPort }}" - 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.29.2/azurefile-csi-driver-v1.29.2.tgz b/charts/v1.29.2/azurefile-csi-driver-v1.29.2.tgz index 26ab78d74a..86a87be449 100644 Binary files a/charts/v1.29.2/azurefile-csi-driver-v1.29.2.tgz and b/charts/v1.29.2/azurefile-csi-driver-v1.29.2.tgz differ diff --git a/charts/v1.29.2/azurefile-csi-driver/templates/csi-azurefile-controller.yaml b/charts/v1.29.2/azurefile-csi-driver/templates/csi-azurefile-controller.yaml index 2341a6bb9b..8722f97fae 100644 --- a/charts/v1.29.2/azurefile-csi-driver/templates/csi-azurefile-controller.yaml +++ b/charts/v1.29.2/azurefile-csi-driver/templates/csi-azurefile-controller.yaml @@ -157,7 +157,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: @@ -182,17 +182,15 @@ spec: - "--user-agent-suffix={{ .Values.driver.userAgentSuffix }}" - "--allow-empty-cloud-config={{ .Values.controller.allowEmptyCloudConfig }}" 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/v1.29.2/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml b/charts/v1.29.2/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml index f171603d73..6102a1f7e9 100644 --- a/charts/v1.29.2/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml +++ b/charts/v1.29.2/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml @@ -73,7 +73,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 @@ -138,15 +138,12 @@ spec: - "--enable-get-volume-stats={{ .Values.feature.enableGetVolumeStats }}" - "--allow-inline-volume-key-access-with-identity={{ .Values.node.allowInlineVolumeKeyAccessWithIdentity }}" - "--metrics-address=0.0.0.0:{{ .Values.node.metricsPort }}" - 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.29.2/azurefile-csi-driver/templates/csi-azurefile-node.yaml b/charts/v1.29.2/azurefile-csi-driver/templates/csi-azurefile-node.yaml index 57b04d149c..b94b2c82fe 100644 --- a/charts/v1.29.2/azurefile-csi-driver/templates/csi-azurefile-node.yaml +++ b/charts/v1.29.2/azurefile-csi-driver/templates/csi-azurefile-node.yaml @@ -78,7 +78,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 }} @@ -136,15 +136,12 @@ spec: - "--mount-permissions={{ .Values.linux.mountPermissions }}" - "--allow-inline-volume-key-access-with-identity={{ .Values.node.allowInlineVolumeKeyAccessWithIdentity }}" - "--metrics-address=0.0.0.0:{{ .Values.node.metricsPort }}" - 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.30.0/azurefile-csi-driver-v1.30.0.tgz b/charts/v1.30.0/azurefile-csi-driver-v1.30.0.tgz index 2cddc09876..1961e18d8d 100644 Binary files a/charts/v1.30.0/azurefile-csi-driver-v1.30.0.tgz and b/charts/v1.30.0/azurefile-csi-driver-v1.30.0.tgz differ diff --git a/charts/v1.30.0/azurefile-csi-driver/templates/csi-azurefile-controller.yaml b/charts/v1.30.0/azurefile-csi-driver/templates/csi-azurefile-controller.yaml index 0ac4eb6d9d..5ca054a335 100644 --- a/charts/v1.30.0/azurefile-csi-driver/templates/csi-azurefile-controller.yaml +++ b/charts/v1.30.0/azurefile-csi-driver/templates/csi-azurefile-controller.yaml @@ -135,7 +135,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: @@ -160,17 +160,15 @@ spec: - "--user-agent-suffix={{ .Values.driver.userAgentSuffix }}" - "--allow-empty-cloud-config={{ .Values.controller.allowEmptyCloudConfig }}" 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/v1.30.0/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml b/charts/v1.30.0/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml index f171603d73..6102a1f7e9 100644 --- a/charts/v1.30.0/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml +++ b/charts/v1.30.0/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml @@ -73,7 +73,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 @@ -138,15 +138,12 @@ spec: - "--enable-get-volume-stats={{ .Values.feature.enableGetVolumeStats }}" - "--allow-inline-volume-key-access-with-identity={{ .Values.node.allowInlineVolumeKeyAccessWithIdentity }}" - "--metrics-address=0.0.0.0:{{ .Values.node.metricsPort }}" - 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.30.0/azurefile-csi-driver/templates/csi-azurefile-node.yaml b/charts/v1.30.0/azurefile-csi-driver/templates/csi-azurefile-node.yaml index 57b04d149c..b94b2c82fe 100644 --- a/charts/v1.30.0/azurefile-csi-driver/templates/csi-azurefile-node.yaml +++ b/charts/v1.30.0/azurefile-csi-driver/templates/csi-azurefile-node.yaml @@ -78,7 +78,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 }} @@ -136,15 +136,12 @@ spec: - "--mount-permissions={{ .Values.linux.mountPermissions }}" - "--allow-inline-volume-key-access-with-identity={{ .Values.node.allowInlineVolumeKeyAccessWithIdentity }}" - "--metrics-address=0.0.0.0:{{ .Values.node.metricsPort }}" - 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/deploy/csi-azurefile-controller.yaml b/deploy/csi-azurefile-controller.yaml index 18e500c258..1e41ee9ac5 100644 --- a/deploy/csi-azurefile-controller.yaml +++ b/deploy/csi-azurefile-controller.yaml @@ -100,7 +100,7 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s - - --health-port=29612 + - --http-endpoint=localhost:29612 - --v=2 volumeMounts: - name: socket-dir @@ -120,17 +120,15 @@ spec: - "--metrics-address=0.0.0.0:29614" - "--user-agent-suffix=OSS-kubectl" ports: - - containerPort: 29612 - name: healthz - protocol: TCP - containerPort: 29614 name: metrics protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: 29612 initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/deploy/csi-azurefile-node-windows.yaml b/deploy/csi-azurefile-node-windows.yaml index 596c088357..c55d691e9c 100644 --- a/deploy/csi-azurefile-node-windows.yaml +++ b/deploy/csi-azurefile-node-windows.yaml @@ -46,7 +46,7 @@ spec: args: - --csi-address=$(CSI_ENDPOINT) - --probe-timeout=3s - - --health-port=29613 + - --http-endpoint=localhost:29613 - --v=2 env: - name: CSI_ENDPOINT @@ -101,15 +101,12 @@ spec: - --endpoint=$(CSI_ENDPOINT) - --nodeid=$(KUBE_NODE_NAME) - --metrics-address="0.0.0.0:29615" - ports: - - containerPort: 29613 - name: healthz - protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: 29613 initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/deploy/csi-azurefile-node.yaml b/deploy/csi-azurefile-node.yaml index 7a5a35ccd6..c9605dfa3e 100644 --- a/deploy/csi-azurefile-node.yaml +++ b/deploy/csi-azurefile-node.yaml @@ -46,7 +46,7 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s - - --health-port=29613 + - --http-endpoint=localhost:29613 - --v=2 resources: limits: @@ -92,15 +92,12 @@ spec: - "--endpoint=$(CSI_ENDPOINT)" - "--nodeid=$(KUBE_NODE_NAME)" - "--metrics-address=0.0.0.0:29615" - ports: - - containerPort: 29613 - name: healthz - protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: 29613 initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/deploy/v1.29.2/csi-azurefile-controller.yaml b/deploy/v1.29.2/csi-azurefile-controller.yaml index 130d6be674..58bf095391 100644 --- a/deploy/v1.29.2/csi-azurefile-controller.yaml +++ b/deploy/v1.29.2/csi-azurefile-controller.yaml @@ -122,7 +122,7 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s - - --health-port=29612 + - --http-endpoint=localhost:29612 - --v=2 volumeMounts: - name: socket-dir @@ -142,17 +142,15 @@ spec: - "--metrics-address=0.0.0.0:29614" - "--user-agent-suffix=OSS-kubectl" ports: - - containerPort: 29612 - name: healthz - protocol: TCP - containerPort: 29614 name: metrics protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: 29612 initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/deploy/v1.29.2/csi-azurefile-node-windows.yaml b/deploy/v1.29.2/csi-azurefile-node-windows.yaml index 25af5773c7..ad1cd5fe61 100644 --- a/deploy/v1.29.2/csi-azurefile-node-windows.yaml +++ b/deploy/v1.29.2/csi-azurefile-node-windows.yaml @@ -46,7 +46,7 @@ spec: args: - --csi-address=$(CSI_ENDPOINT) - --probe-timeout=3s - - --health-port=29613 + - --http-endpoint=localhost:29613 - --v=2 env: - name: CSI_ENDPOINT @@ -101,15 +101,12 @@ spec: - --endpoint=$(CSI_ENDPOINT) - --nodeid=$(KUBE_NODE_NAME) - --metrics-address="0.0.0.0:29615" - ports: - - containerPort: 29613 - name: healthz - protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: 29613 initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/deploy/v1.29.2/csi-azurefile-node.yaml b/deploy/v1.29.2/csi-azurefile-node.yaml index c12ee6469a..d8fe15cb62 100644 --- a/deploy/v1.29.2/csi-azurefile-node.yaml +++ b/deploy/v1.29.2/csi-azurefile-node.yaml @@ -46,7 +46,7 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s - - --health-port=29613 + - --http-endpoint=localhost:29613 - --v=2 resources: limits: @@ -92,15 +92,12 @@ spec: - "--endpoint=$(CSI_ENDPOINT)" - "--nodeid=$(KUBE_NODE_NAME)" - "--metrics-address=0.0.0.0:29615" - ports: - - containerPort: 29613 - name: healthz - protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: 29613 initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/deploy/v1.30.0/csi-azurefile-controller.yaml b/deploy/v1.30.0/csi-azurefile-controller.yaml index cdc2aec93e..32c35ad593 100644 --- a/deploy/v1.30.0/csi-azurefile-controller.yaml +++ b/deploy/v1.30.0/csi-azurefile-controller.yaml @@ -100,7 +100,7 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s - - --health-port=29612 + - --http-endpoint=localhost:29612 - --v=2 volumeMounts: - name: socket-dir @@ -120,17 +120,15 @@ spec: - "--metrics-address=0.0.0.0:29614" - "--user-agent-suffix=OSS-kubectl" ports: - - containerPort: 29612 - name: healthz - protocol: TCP - containerPort: 29614 name: metrics protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: 29612 initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/deploy/v1.30.0/csi-azurefile-node-windows.yaml b/deploy/v1.30.0/csi-azurefile-node-windows.yaml index 5267a276af..a6f9180aa0 100644 --- a/deploy/v1.30.0/csi-azurefile-node-windows.yaml +++ b/deploy/v1.30.0/csi-azurefile-node-windows.yaml @@ -46,7 +46,7 @@ spec: args: - --csi-address=$(CSI_ENDPOINT) - --probe-timeout=3s - - --health-port=29613 + - --http-endpoint=localhost:29613 - --v=2 env: - name: CSI_ENDPOINT @@ -101,15 +101,12 @@ spec: - --endpoint=$(CSI_ENDPOINT) - --nodeid=$(KUBE_NODE_NAME) - --metrics-address="0.0.0.0:29615" - ports: - - containerPort: 29613 - name: healthz - protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: 29613 initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30 diff --git a/deploy/v1.30.0/csi-azurefile-node.yaml b/deploy/v1.30.0/csi-azurefile-node.yaml index 662275f423..c7cab5e632 100644 --- a/deploy/v1.30.0/csi-azurefile-node.yaml +++ b/deploy/v1.30.0/csi-azurefile-node.yaml @@ -46,7 +46,7 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s - - --health-port=29613 + - --http-endpoint=localhost:29613 - --v=2 resources: limits: @@ -92,15 +92,12 @@ spec: - "--endpoint=$(CSI_ENDPOINT)" - "--nodeid=$(KUBE_NODE_NAME)" - "--metrics-address=0.0.0.0:29615" - ports: - - containerPort: 29613 - name: healthz - protocol: TCP livenessProbe: failureThreshold: 5 httpGet: + host: localhost path: /healthz - port: healthz + port: 29613 initialDelaySeconds: 30 timeoutSeconds: 10 periodSeconds: 30