chore(argo-workflows): templatize controller liveness probe

Signed-off-by: Alex Sears <me@alexsears.com>
This commit is contained in:
Alex Sears 2021-06-19 11:05:39 -04:00
parent 5bb12d0fca
commit 1de4eb9ab4
No known key found for this signature in database
GPG key ID: C5830CA0D9202CBF
2 changed files with 10 additions and 9 deletions

View file

@ -78,15 +78,7 @@ spec:
- name: metrics
containerPort: {{ .Values.controller.metricsConfig.port }}
- containerPort: 6060
livenessProbe:
httpGet:
port: 6060
path: /healthz
# Require three failures to tolerate transient errors.
failureThreshold: 3
initialDelaySeconds: 90
periodSeconds: 60
timeoutSeconds: 30
livenessProbe: {{ .Values.controller.livenessProbe | toYaml | nindent 12 }}
{{- with .Values.images.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}

View file

@ -132,6 +132,15 @@ controller:
# service type `LoadBalancer`
loadBalancerSourceRanges: []
resources: {}
livenessProbe:
httpGet:
port: 6060
path: /healthz
# Require three failures to tolerate transient errors.
failureThreshold: 3
initialDelaySeconds: 90
periodSeconds: 60
timeoutSeconds: 30
## Extra environment variables to provide to the controller container
## extraEnv: