cleanup: remove livenessProbe.host chart field

This commit is contained in:
andyzhangx 2024-04-01 02:40:46 +00:00
parent 330aaba137
commit a8a69e6c82
5 changed files with 4 additions and 8 deletions

View File

@ -69,7 +69,6 @@ The following table lists the configurable parameters of the latest NFS CSI Driv
| `controller.runOnControlPlane` | run controller on control plane node |`false` |
| `controller.dnsPolicy` | dnsPolicy of controller driver, available values: `Default`, `ClusterFirstWithHostNet`, `ClusterFirst` | `ClusterFirstWithHostNet` |
| `controller.defaultOnDeletePolicy` | default policy for deleting subdirectory when deleting a volume, available values: `delete`, `retain`, `archive` | `delete` |
| `controller.livenessProbe.host ` | the health check host for the liveness probe | `localhost` |
| `controller.livenessProbe.healthPort ` | the health check port for liveness probe | `29652` |
| `controller.logLevel` | controller driver log level |`5` |
| `controller.workingMountDir` | working directory for provisioner to mount nfs shares temporarily | `/tmp` |
@ -90,7 +89,6 @@ The following table lists the configurable parameters of the latest NFS CSI Driv
| `node.dnsPolicy` | dnsPolicy of driver node daemonset, available values: `Default`, `ClusterFirstWithHostNet`, `ClusterFirst` |`ClusterFirstWithHostNet`
| `node.maxUnavailable` | `maxUnavailable` value of driver node daemonset | `1`
| `node.logLevel` | node driver log level |`5` |
| `node.livenessProbe.host ` | the health check host for the liveness probe | `localhost` |
| `node.livenessProbe.healthPort ` | the health check port for liveness probe |`29653` |
| `node.affinity` | node pod affinity | {} |
| `node.nodeSelector` | node pod node selector | `{}` |

View File

@ -100,7 +100,7 @@ spec:
args:
- --csi-address=/csi/csi.sock
- --probe-timeout=3s
- --http-endpoint={{ .Values.controller.livenessProbe.host }}:{{ .Values.controller.livenessProbe.healthPort }}
- --http-endpoint=localhost:{{ .Values.controller.livenessProbe.healthPort }}
- --v=2
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
volumeMounts:
@ -140,7 +140,7 @@ spec:
livenessProbe:
failureThreshold: 5
httpGet:
host: {{ .Values.controller.livenessProbe.host }}
host: localhost
path: /healthz
port: {{ .Values.controller.livenessProbe.healthPort }}
initialDelaySeconds: 30

View File

@ -52,7 +52,7 @@ spec:
args:
- --csi-address=/csi/csi.sock
- --probe-timeout=3s
- --http-endpoint={{ .Values.node.livenessProbe.host }}:{{ .Values.node.livenessProbe.healthPort }}
- --http-endpoint=localhost:{{ .Values.node.livenessProbe.healthPort }}
- --v=2
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
volumeMounts:
@ -121,7 +121,7 @@ spec:
livenessProbe:
failureThreshold: 5
httpGet:
host: {{ .Values.node.livenessProbe.host }}
host: localhost
path: /healthz
port: {{ .Values.node.livenessProbe.healthPort }}
initialDelaySeconds: 30

View File

@ -53,7 +53,6 @@ controller:
runOnMaster: false
runOnControlPlane: false
livenessProbe:
host: localhost
healthPort: 29652
logLevel: 5
workingMountDir: /tmp
@ -104,7 +103,6 @@ node:
maxUnavailable: 1
logLevel: 5
livenessProbe:
host: localhost
healthPort: 29653
affinity: {}
nodeSelector: {}