Skip to content

Commit 4cec510

Browse files
committed
feat(helm): Add liveness probe to helm chart
1 parent 07335f0 commit 4cec510

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

charts/gitops/templates/deployment.yml

+7
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ spec:
2525
containers:
2626
- name: gitops
2727
image: {{ .Values.image }}
28+
livenessProbe:
29+
httpGet:
30+
path: /livez
31+
port: 8000
32+
initialDelaySeconds: 5
33+
periodSeconds: 5
2834
ports:
2935
- containerPort: 8000
3036
envFrom:
@@ -68,6 +74,7 @@ spec:
6874
- key: GIT_CRYPT_KEY
6975
path: git_crypt_key
7076
restartPolicy: Always
77+
7178
{{- if .Values.nodeSelector }}
7279
nodeSelector:
7380
{{ toYaml .Values.nodeSelector | indent 8 }}

0 commit comments

Comments
 (0)