Skip to content

Commit

Permalink
Revert "misleading declaration of healthz port between server and liv…
Browse files Browse the repository at this point in the history
…eness-probe" (#4397)
  • Loading branch information
andriisoldatenko authored Feb 4, 2025
1 parent cbcf116 commit 3f78638
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions config/helm/chart/default/templates/Common/csi/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ spec:
timeoutSeconds: 4
{{- end }}
ports:
- containerPort: 9808
name: healthz
- containerPort: 8080
name: metrics
resources:
Expand Down Expand Up @@ -244,9 +246,6 @@ spec:
- --probe-timeout=4s
command:
- livenessprobe
ports:
- name: healthz
containerPort: 9808
resources:
{{- if .Values.csidriver.livenessprobe.resources }}
{{- toYaml .Values.csidriver.livenessprobe.resources | nindent 10 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ tests:
timeoutSeconds: 4
name: server
ports:
- containerPort: 9808
name: healthz
- containerPort: 8080
name: metrics
resources:
Expand Down Expand Up @@ -337,9 +339,6 @@ tests:
- "--probe-timeout=4s"
command:
- livenessprobe
ports:
- containerPort: 9808
name: healthz
image: image-name
imagePullPolicy: Always
name: liveness-probe
Expand Down

0 comments on commit 3f78638

Please sign in to comment.