From 91726249f94ebba8d87f9617d835ed71a05c2bd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristhian=20Fern=C3=A1ndez?= Date: Mon, 28 Aug 2023 13:41:16 -0500 Subject: [PATCH] fix: restart policy (#136) --- charts/kubefirst-api/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kubefirst-api/templates/deployment.yaml b/charts/kubefirst-api/templates/deployment.yaml index 75be9f76..806c6c62 100644 --- a/charts/kubefirst-api/templates/deployment.yaml +++ b/charts/kubefirst-api/templates/deployment.yaml @@ -156,7 +156,7 @@ spec: labels: {{- include "kubefirst-api.selectorLabels" . | nindent 8 }} spec: - restartPolicy: Never + restartPolicy: OnFailure containers: - name: {{ include "kubefirst-api.fullname" . }}-pi-hook image: "{{ .Values.image.hook.repository }}:{{ .Values.image.hook.tag }}"