|
41 | 41 | - name: &package-container_name fabrikam-package
|
42 | 42 | image: {{ .Values.dockerregistry }}{{ .Values.dockerregistrynamespace }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}
|
43 | 43 | imagePullPolicy: {{ .Values.image.pullPolicy }}
|
| 44 | + readinessProbe: |
| 45 | + httpGet: |
| 46 | + path: {{ required "readinessProbe.httpGet.path is required" .Values.readinessProbe.httpGet.path }} |
| 47 | + port: {{ required "readinessProbe.httpGet.port is required" .Values.readinessProbe.httpGet.port }} |
| 48 | +{{- if .Values.readinessProbe.initialDelaySeconds }} |
| 49 | + initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }} |
| 50 | +{{- end }} |
| 51 | +{{- if .Values.readinessProbe.periodSeconds }} |
| 52 | + periodSeconds: {{ .Values.readinessProbe.periodSeconds }} |
| 53 | +{{- end }} |
| 54 | +{{- if .Values.readinessProbe.timeoutSeconds }} |
| 55 | + timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }} |
| 56 | +{{- end }} |
| 57 | +{{- if .Values.readinessProbe.failureThreshold }} |
| 58 | + failureThreshold: {{ .Values.readinessProbe.failureThreshold }} |
| 59 | +{{- end }} |
| 60 | + livenessProbe: |
| 61 | + httpGet: |
| 62 | + path: {{ required "livenessProbe.httpGet.path is required" .Values.livenessProbe.httpGet.path }} |
| 63 | + port: {{ required "livenessProbe.httpGet.port is required" .Values.livenessProbe.httpGet.port }} |
| 64 | +{{- if .Values.livenessProbe.initialDelaySeconds }} |
| 65 | + initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }} |
| 66 | +{{- end }} |
| 67 | +{{- if .Values.livenessProbe.periodSeconds }} |
| 68 | + periodSeconds: {{ .Values.livenessProbe.periodSeconds }} |
| 69 | +{{- end }} |
| 70 | +{{- if .Values.livenessProbe.timeoutSeconds }} |
| 71 | + timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }} |
| 72 | +{{- end }} |
| 73 | +{{- if .Values.livenessProbe.failureThreshold }} |
| 74 | + failureThreshold: {{ .Values.livenessProbe.failureThreshold }} |
| 75 | +{{- end }} |
44 | 76 | resources:
|
45 | 77 | requests:
|
46 | 78 | cpu: {{ required "A valid .Values.resources.requests.cpu entry required!" .Values.resources.requests.cpu }}
|
|
0 commit comments