@@ -41,22 +41,38 @@ spec:
41
41
- name : &ingestion-container_name fabrikam-ingestion
42
42
image : {{ .Values.dockerregistry }}{{ .Values.dockerregistrynamespace }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}
43
43
imagePullPolicy : {{ .Values.image.pullPolicy }}
44
- livenessProbe :
45
- httpGet :
46
- path : /actuator/health
47
- port : 80
48
- initialDelaySeconds : 120
49
- periodSeconds : 30
50
- successThreshold : 1
51
- failureThreshold : 5
52
44
readinessProbe :
53
45
httpGet :
54
- path : /api/probe
55
- port : 80
56
- initialDelaySeconds : 120
57
- periodSeconds : 30
58
- successThreshold : 1
59
- failureThreshold : 5
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 }}
60
76
resources :
61
77
requests :
62
78
cpu : {{ required "A valid .Values.resources.requests.cpu entry required!" .Values.resources.requests.cpu }}
0 commit comments