diff --git a/smardigo/templates/connect/deployment.yml b/smardigo/templates/connect/deployment.yml index 561a33e..3f428d9 100644 --- a/smardigo/templates/connect/deployment.yml +++ b/smardigo/templates/connect/deployment.yml @@ -152,6 +152,25 @@ spec: ports: - containerPort: 8080 - containerPort: 8081 + livenessProbe: + httpGet: + path: /management/health/liveness + port: 8081 + # httpHeaders: + # - name: Smardigo-User-Token + # value: "" + initialDelaySeconds: 5 + periodSeconds: 5 + readinessProbe: + httpGet: + path: /management/health/readiness + port: 8081 + # httpHeaders: + # - name: Smardigo-User-Token + # value: "" + initialDelaySeconds: 5 + periodSeconds: 5 + initContainers: - name: init-iam image: busybox:1.28