diff --git a/charts/shiny/Chart.yaml b/charts/shiny/Chart.yaml index 3f0563c..a6cbb80 100644 --- a/charts/shiny/Chart.yaml +++ b/charts/shiny/Chart.yaml @@ -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.15.0 +version: 0.15.1 # 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 diff --git a/charts/shiny/templates/deployment.yaml b/charts/shiny/templates/deployment.yaml index 4826a11..5c4a22d 100644 --- a/charts/shiny/templates/deployment.yaml +++ b/charts/shiny/templates/deployment.yaml @@ -86,10 +86,18 @@ spec: httpGet: path: / port: http + timeoutSeconds: 3 readinessProbe: httpGet: path: / port: http + timeoutSeconds: 3 + startupProbe: + httpGet: + path: / + port: http + initialDelaySeconds: 5 + timeoutSeconds: 3 resources: {{- toYaml .Values.resources | nindent 12 }} {{- if .Values.postgresql.enabled }} diff --git a/charts/shiny/templates/tests/test-connection.yaml b/charts/shiny/templates/tests/test-connection.yaml deleted file mode 100644 index 234f634..0000000 --- a/charts/shiny/templates/tests/test-connection.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "library-chart.fullname" . }}-test-connection" - labels: - {{- include "library-chart.labels" . | nindent 4 }} - annotations: - "helm.sh/hook": test -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "library-chart.fullname" . }}:{{ .Values.service.port }}'] - restartPolicy: Never