Skip to content

Commit

Permalink
fix healthcheckport
Browse files Browse the repository at this point in the history
  • Loading branch information
kahnwong committed Apr 13, 2024
1 parent 039ff52 commit 1941e97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kubernetes/charts/base/chart/templates/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ spec:
{{ if not (eq .livenessProbeScheme "tcp")}}
httpGet:
path: {{ .livenessProbePath | default "/" }}
{{ if .healthcheckPort }}
port: {{ .healthcheckPort }}
{{ else }}
port: {{ .port }}
{{ end }}
scheme: HTTP
{{ else }}
tcpSocket:
Expand Down

0 comments on commit 1941e97

Please sign in to comment.