@@ -146,6 +146,17 @@ spec:
146146 - name : CMD_WRAPPER
147147 value : {{ coalesce $.Values.app.cmdWrapper $.Values.global.cmdWrapper }}
148148 {{- end }}
149+ {{- if .Values.app.readinessProbe.enabled }}
150+ readinessProbe :
151+ httpGet :
152+ path : " {{ if eq .Values.app.contextPath " /" }}{{ .Values.app.readinessProbe.path }}{{ else }}{{ .Values.app.contextPath }}{{ .Values.app.readinessProbe.path }}{{ end }}"
153+ port : 8000
154+ failureThreshold : {{ .Values.app.readinessProbe.failureThreshold }}
155+ initialDelaySeconds : {{ .Values.app.readinessProbe.initialDelaySeconds }}
156+ periodSeconds : {{ .Values.app.readinessProbe.periodSeconds }}
157+ successThreshold : {{ .Values.app.readinessProbe.successThreshold }}
158+ timeoutSeconds : {{ .Values.app.readinessProbe.timeoutSeconds }}
159+ {{- end }}
149160 {{- if .Values.app.livenessProbe.enabled }}
150161 livenessProbe :
151162 httpGet :
@@ -234,11 +245,11 @@ spec:
234245 httpGet :
235246 path : " {{ if eq .Values.app.contextPath " /" }}{{ .Values.app.nginx.readinessProbe.path }}{{ else }}{{ .Values.app.contextPath }}{{ .Values.app.nginx.readinessProbe.path }}{{ end }}"
236247 port : 8085
237- failureThreshold : {{ .Values.app.readinessProbe.failureThreshold }}
238- initialDelaySeconds : {{ .Values.app.readinessProbe.initialDelaySeconds }}
239- periodSeconds : {{ .Values.app.readinessProbe.periodSeconds }}
240- successThreshold : {{ .Values.app.readinessProbe.successThreshold }}
241- timeoutSeconds : {{ .Values.app.readinessProbe.timeoutSeconds }}
248+ failureThreshold : {{ .Values.app.nginx. readinessProbe.failureThreshold }}
249+ initialDelaySeconds : {{ .Values.app.nginx. readinessProbe.initialDelaySeconds }}
250+ periodSeconds : {{ .Values.app.nginx. readinessProbe.periodSeconds }}
251+ successThreshold : {{ .Values.app.nginx. readinessProbe.successThreshold }}
252+ timeoutSeconds : {{ .Values.app.nginx. readinessProbe.timeoutSeconds }}
242253 {{- end }}
243254 {{- if .Values.app.nginx.livenessProbe.enabled }}
244255 livenessProbe :
0 commit comments