Skip to content

Commit

Permalink
fix restartPolicy in wrong place
Browse files Browse the repository at this point in the history
  • Loading branch information
schneidermr committed Nov 25, 2023
1 parent b17333c commit 2b53bc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion appwrite/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion appwrite/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ imagePullSecrets:
securityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
restartPolicy: {{ .component.config.restartPolicy }}
containers:
- name: {{ .component.name }}
{{- with .component.config.containerSecurityContext }}
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 2b53bc9

Please sign in to comment.