|
53 | 53 | {{- end }} |
54 | 54 | resources: |
55 | 55 | {{- toYaml .Values.resources | nindent 12 }} |
| 56 | + {{- $startupProbe := .Values.startupProbe | default dict }} |
| 57 | + {{- if ne $startupProbe.enabled false }} |
| 58 | + startupProbe: |
| 59 | + httpGet: |
| 60 | + path: {{ $startupProbe.path | default "/ready" }} |
| 61 | + port: {{ $startupProbe.port | default 8080 }} |
| 62 | + periodSeconds: {{ $startupProbe.periodSeconds | default 5 }} |
| 63 | + timeoutSeconds: {{ $startupProbe.timeoutSeconds | default 1 }} |
| 64 | + failureThreshold: {{ $startupProbe.failureThreshold | default 24 }} |
| 65 | + {{- end }} |
| 66 | + {{- $readinessProbe := .Values.readinessProbe | default dict }} |
| 67 | + {{- if ne $readinessProbe.enabled false }} |
| 68 | + readinessProbe: |
| 69 | + httpGet: |
| 70 | + path: {{ $readinessProbe.path | default "/ready" }} |
| 71 | + port: {{ $readinessProbe.port | default 8080 }} |
| 72 | + initialDelaySeconds: {{ $readinessProbe.initialDelaySeconds | default 0 }} |
| 73 | + periodSeconds: {{ $readinessProbe.periodSeconds | default 5 }} |
| 74 | + timeoutSeconds: {{ $readinessProbe.timeoutSeconds | default 1 }} |
| 75 | + failureThreshold: {{ $readinessProbe.failureThreshold | default 3 }} |
| 76 | + {{- end }} |
| 77 | + {{- $livenessProbe := .Values.livenessProbe | default dict }} |
| 78 | + {{- if $livenessProbe.enabled }} |
| 79 | + livenessProbe: |
| 80 | + httpGet: |
| 81 | + path: {{ $livenessProbe.path | default "/health" }} |
| 82 | + port: {{ $livenessProbe.port | default 8080 }} |
| 83 | + initialDelaySeconds: {{ $livenessProbe.initialDelaySeconds | default 0 }} |
| 84 | + periodSeconds: {{ $livenessProbe.periodSeconds | default 5 }} |
| 85 | + timeoutSeconds: {{ $livenessProbe.timeoutSeconds | default 1 }} |
| 86 | + failureThreshold: {{ $livenessProbe.failureThreshold | default 3 }} |
| 87 | + {{- end }} |
56 | 88 | {{- with .Values.volumeMounts }} |
57 | 89 | volumeMounts: |
58 | 90 | {{- toYaml . | nindent 12 }} |
|
0 commit comments