|
|
|
|
@ -156,20 +156,32 @@ spec:
|
|
|
|
|
httpGet:
|
|
|
|
|
path: /management/health/liveness
|
|
|
|
|
port: 8081
|
|
|
|
|
# httpHeaders:
|
|
|
|
|
# - name: Smardigo-User-Token
|
|
|
|
|
# value: ""
|
|
|
|
|
initialDelaySeconds: 5
|
|
|
|
|
periodSeconds: 5
|
|
|
|
|
httpHeaders:
|
|
|
|
|
- name: Smardigo-User-Token
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: "connect-secrets"
|
|
|
|
|
key: HEALTH_CHECK_API_TOKEN
|
|
|
|
|
initialDelaySeconds: 3
|
|
|
|
|
timeoutSeconds: 1
|
|
|
|
|
periodSeconds: 3
|
|
|
|
|
successThreshold: 1
|
|
|
|
|
failureThreshold: 3
|
|
|
|
|
readinessProbe:
|
|
|
|
|
httpGet:
|
|
|
|
|
path: /management/health/readiness
|
|
|
|
|
port: 8081
|
|
|
|
|
# httpHeaders:
|
|
|
|
|
# - name: Smardigo-User-Token
|
|
|
|
|
# value: ""
|
|
|
|
|
initialDelaySeconds: 5
|
|
|
|
|
periodSeconds: 5
|
|
|
|
|
httpHeaders:
|
|
|
|
|
- name: Smardigo-User-Token
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: "connect-secrets"
|
|
|
|
|
key: HEALTH_CHECK_API_TOKEN
|
|
|
|
|
initialDelaySeconds: 3
|
|
|
|
|
timeoutSeconds: 1
|
|
|
|
|
periodSeconds: 3
|
|
|
|
|
successThreshold: 1
|
|
|
|
|
failureThreshold: 3
|
|
|
|
|
initContainers:
|
|
|
|
|
- name: init-iam
|
|
|
|
|
image: busybox:1.28
|
|
|
|
|
|