chore(argo-workflows): templatize controller liveness probe
Signed-off-by: Alex Sears <me@alexsears.com>
This commit is contained in:
parent
5bb12d0fca
commit
1de4eb9ab4
2 changed files with 10 additions and 9 deletions
|
@ -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 }}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue