feat(argo-workflows): Support livenessProbe to server (#3175)

* feat(argo-workflows): Support readinessProbe to server

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix: readiness/liveness

Signed-off-by: yu-croco <yu.croco@gmail.com>

---------

Signed-off-by: yu-croco <yu.croco@gmail.com>
Co-authored-by: JM (Jason Meridth) <jmeridth@gmail.com>
This commit is contained in:
Aikawa 2025-02-24 18:31:51 +09:00 committed by GitHub
parent 4f356644ca
commit cef816a740
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 54 additions and 3 deletions

View file

@ -87,6 +87,22 @@ spec:
{{- end }}
initialDelaySeconds: 10
periodSeconds: 20
{{- if .Values.server.livenessProbe.enabled }}
livenessProbe:
httpGet:
path: {{ .Values.server.livenessProbe.httpGet.path }}
port: {{ .Values.server.livenessProbe.httpGet.port }}
{{- if .Values.server.secure }}
scheme: HTTPS
{{- else }}
scheme: HTTP
{{- end }}
initialDelaySeconds: {{ .Values.server.livenessProbe.initialDelaySeconds }}
timeoutSeconds: {{ .Values.server.livenessProbe.timeoutSeconds }}
periodSeconds: {{ .Values.server.livenessProbe.periodSeconds }}
successThreshold: {{ .Values.server.livenessProbe.successThreshold }}
failureThreshold: {{ .Values.server.livenessProbe.failureThreshold }}
{{- end }}
env:
- name: IN_CLUSTER
value: "true"