Skip to content

Commit

Permalink
fix: added missing port values for httpGet probes
Browse files Browse the repository at this point in the history
  • Loading branch information
Maelstromeous committed Aug 23, 2022
1 parent 91eda15 commit cf58216
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/microservice/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ spec:
{{- if eq .probes.startupProbe.type "httpGet" }}
httpGet:
path: {{ .probes.startupProbe.httpGetPath }}
port: {{ $.Values.application.port }}
{{- end }}
periodSeconds: {{ .probes.startupProbe.periodSeconds }}
successThreshold: {{ .probes.startupProbe.successThreshold }}
Expand All @@ -57,6 +58,7 @@ spec:
{{- if eq .probes.readinessProbe.type "httpGet" }}
httpGet:
path: {{ .probes.readinessProbe.httpGetPath }}
port: {{ $.Values.application.port }}
{{- end }}
periodSeconds: {{ .probes.readinessProbe.periodSeconds }}
successThreshold: {{ .probes.readinessProbe.successThreshold }}
Expand All @@ -71,6 +73,7 @@ spec:
{{- if eq .probes.livenessProbe.type "httpGet" }}
httpGet:
path: {{ .probes.livenessProbe.httpGetPath }}
port: {{ $.Values.application.port }}
{{- end }}
periodSeconds: {{ .probes.livenessProbe.periodSeconds }}
successThreshold: {{ .probes.livenessProbe.successThreshold }}
Expand Down

0 comments on commit cf58216

Please sign in to comment.