Skip to content

Commit

Permalink
fix probes
Browse files Browse the repository at this point in the history
  • Loading branch information
cachemeoutside committed Nov 30, 2023
1 parent 61a44e2 commit ab91420
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,25 @@ spec:
{{- end }}
initialDelaySeconds: 120
periodSeconds: 30
readinessProbe:
{{- if .Values.web.env.USE_HTTP_BASIC }}
exec:
command:
- curl
- I
- -X
- GET
- -u
- "${STAGING_HTTP_BASIC_USERNAME}:${STAGING_HTTP_BASIC_PASSWORD}"
- http://localhost/
{{- else }}
httpGet:
path: /
port: http
{{- end }}
initialDelaySeconds: 120
periodSeconds: 30

resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down

0 comments on commit ab91420

Please sign in to comment.