|
|
|
|
@ -152,30 +152,20 @@ spec:
|
|
|
|
|
ports:
|
|
|
|
|
- containerPort: 8080
|
|
|
|
|
- containerPort: 8081
|
|
|
|
|
livenessProbe:
|
|
|
|
|
httpGet:
|
|
|
|
|
path: /management/health/liveness
|
|
|
|
|
port: 8081
|
|
|
|
|
httpHeaders:
|
|
|
|
|
- name: Smardigo-User-Token
|
|
|
|
|
value: {{ .Values.connect.health.api_token | b64enc }}
|
|
|
|
|
initialDelaySeconds: 3
|
|
|
|
|
timeoutSeconds: 1
|
|
|
|
|
periodSeconds: 3
|
|
|
|
|
successThreshold: 1
|
|
|
|
|
failureThreshold: 3
|
|
|
|
|
readinessProbe:
|
|
|
|
|
httpGet:
|
|
|
|
|
path: /management/health/readiness
|
|
|
|
|
port: 8081
|
|
|
|
|
httpHeaders:
|
|
|
|
|
- name: Smardigo-User-Token
|
|
|
|
|
value: {{ .Values.connect.health.api_token | b64enc }}
|
|
|
|
|
initialDelaySeconds: 3
|
|
|
|
|
timeoutSeconds: 1
|
|
|
|
|
periodSeconds: 3
|
|
|
|
|
successThreshold: 1
|
|
|
|
|
failureThreshold: 3
|
|
|
|
|
# livenessProbe:
|
|
|
|
|
# httpGet:
|
|
|
|
|
# path: /management/health/liveness
|
|
|
|
|
# port: 8081
|
|
|
|
|
# httpHeaders:
|
|
|
|
|
# - name: Smardigo-User-Token
|
|
|
|
|
# value: {{ .Values.connect.health.api_token | b64enc }}
|
|
|
|
|
# readinessProbe:
|
|
|
|
|
# httpGet:
|
|
|
|
|
# path: /management/health/readiness
|
|
|
|
|
# port: 8081
|
|
|
|
|
# httpHeaders:
|
|
|
|
|
# - name: Smardigo-User-Token
|
|
|
|
|
# value: {{ .Values.connect.health.api_token | b64enc }}
|
|
|
|
|
initContainers:
|
|
|
|
|
- name: init-iam
|
|
|
|
|
image: busybox:1.28
|
|
|
|
|
|