Skip to content

Commit

Permalink
rn only core needs volumeMount
Browse files Browse the repository at this point in the history
  • Loading branch information
schneidermr committed Nov 25, 2023
1 parent 99dccb4 commit b17333c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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.3
version: 0.1.4
appVersion: "1.4.13"
kubeVersion: ">=1.26"
deprecated: false
Expand Down
2 changes: 2 additions & 0 deletions appwrite/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ containers:
env:
{{ toYaml . | nindent 6 }}
{{- end }}
{{- if eq .component.name "core" }}
volumeMounts:
- name: storage
mountPath: /storage
{{- end }}
{{- end }}
4 changes: 2 additions & 2 deletions appwrite/templates/core/core.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if eq "local" (.Values.environments.storage.device | lower) }}
{{- include "appwrite.statefulset" (merge (dict "component" (dict "name" "app" "config" .Values.components.core)) .)}}
{{- include "appwrite.statefulset" (merge (dict "component" (dict "name" "core" "config" .Values.components.core)) .)}}
{{- else }}
{{- include "appwrite.deployment" (merge (dict "component" (dict "name" "app" "config" .Values.components.core)) .) }}
{{- include "appwrite.deployment" (merge (dict "component" (dict "name" "core" "config" .Values.components.core)) .) }}
{{- end }}

0 comments on commit b17333c

Please sign in to comment.