Skip to content

Commit

Permalink
fix(helm): scheme wasn't changed back to HTTP when certManager.use is…
Browse files Browse the repository at this point in the history
… false
  • Loading branch information
Alan-pad committed May 21, 2024
1 parent ab720ac commit 9ae0ac0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/charts/burrito/templates/datastore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
{{- if .tls.certManager.use }}
{{- $_ := set .deployment.livenessProbe.httpGet "scheme" "HTTPS" }}
{{- $_ := set .deployment.readinessProbe.httpGet "scheme" "HTTPS" }}
{{- else }}
{{- $_ := set .deployment.livenessProbe.httpGet "scheme" "HTTP" }}
{{- $_ := set .deployment.readinessProbe.httpGet "scheme" "HTTP" }}
{{- end }}
apiVersion: apps/v1
kind: Deployment
Expand Down

0 comments on commit 9ae0ac0

Please sign in to comment.