Skip to content

Commit

Permalink
parametrize startup probe
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-seb-2106 committed Jul 22, 2022
1 parent 81b91be commit d67d679
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/shiny/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.16.0
version: 0.17.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
3 changes: 1 addition & 2 deletions charts/shiny/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ spec:
httpGet:
path: /
port: http
initialDelaySeconds: 5
timeoutSeconds: 3
{{- toYaml .Values.startupProbe | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.postgresql.enabled }}
Expand Down
4 changes: 4 additions & 0 deletions charts/shiny/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ tolerations: []

affinity: {}

startupProbe:
initialDelaySeconds: 5
timeoutSeconds: 5

s3:
enabled: false
existingSecret: ""
Expand Down

0 comments on commit d67d679

Please sign in to comment.