From 2b53bc97eb2b6f7a9e2f0aaa86d519122706ec7d Mon Sep 17 00:00:00 2001 From: Marton Schneider Date: Sat, 25 Nov 2023 21:46:35 +0100 Subject: [PATCH] fix restartPolicy in wrong place --- appwrite/Chart.yaml | 2 +- appwrite/templates/_pod.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appwrite/Chart.yaml b/appwrite/Chart.yaml index 78adbdb..f3bc24c 100644 --- a/appwrite/Chart.yaml +++ b/appwrite/Chart.yaml @@ -9,7 +9,7 @@ keywords: - "appwrite" icon: "https://appwrite.io/images/logos/logo.svg" type: application -version: 0.1.4 +version: 0.1.5 appVersion: "1.4.13" kubeVersion: ">=1.26" deprecated: false diff --git a/appwrite/templates/_pod.tpl b/appwrite/templates/_pod.tpl index 683baac..97ab2b2 100644 --- a/appwrite/templates/_pod.tpl +++ b/appwrite/templates/_pod.tpl @@ -8,6 +8,7 @@ imagePullSecrets: securityContext: {{- toYaml . | nindent 2 }} {{- end }} +restartPolicy: {{ .component.config.restartPolicy }} containers: - name: {{ .component.name }} {{- with .component.config.containerSecurityContext }} @@ -40,7 +41,6 @@ containers: resources: {{- toYaml . | nindent 6 }} {{- end }} - restartPolicy: {{ .component.config.restartPolicy }} {{- if and (kindIs "bool" .component.config.env) .component.config.env }} envFrom: - configMapRef: