diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 7e5055b..ea70157 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -65,7 +65,7 @@ spec: readinessProbe: {{- toYaml . | nindent 12 }} {{- end }} - {{- with $config.readinessProbe }} + {{- with $config.startupProbe }} startupProbe: {{- toYaml . | nindent 12 }} {{- end }} diff --git a/tests/expected.yaml b/tests/expected.yaml index 18659f7..38126cb 100644 --- a/tests/expected.yaml +++ b/tests/expected.yaml @@ -262,22 +262,19 @@ spec: livenessProbe: httpGet: - path: / + path: /heals/liveness port: http readinessProbe: httpGet: - path: / + path: /heals/readiness port: http initialDelaySeconds: 5 periodSeconds: 20 timeoutSeconds: 10 startupProbe: httpGet: - path: / + path: /heals/startup port: http - initialDelaySeconds: 5 - periodSeconds: 20 - timeoutSeconds: 10 volumes: - name: my-volume emptyDir: {} @@ -384,9 +381,6 @@ spec: httpGet: path: / port: http - initialDelaySeconds: 5 - periodSeconds: 20 - timeoutSeconds: 10 volumes: - name: my-volume emptyDir: {} @@ -495,9 +489,6 @@ spec: httpGet: path: / port: http - initialDelaySeconds: 5 - periodSeconds: 20 - timeoutSeconds: 10 volumes: - name: my-volume emptyDir: {} diff --git a/tests/values.yaml b/tests/values.yaml index b9e0b1a..7b9c3a1 100644 --- a/tests/values.yaml +++ b/tests/values.yaml @@ -86,18 +86,18 @@ services: <<: *bb livenessProbe: httpGet: - path: / + path: /heals/liveness port: http readinessProbe: httpGet: - path: / + path: /heals/readiness port: http initialDelaySeconds: 5 timeoutSeconds: 10 periodSeconds: 20 startupProbe: httpGet: - path: / + path: /heals/startup port: http ports: http: