about summary refs log tree commit diff
path: root/chart/templates/job-db-migrate.yaml
diff options
context:
space:
mode:
authorAlex Dunn <dunn.alex@gmail.com>2021-02-14 23:00:54 -0800
committerGitHub <noreply@github.com>2021-02-15 08:00:54 +0100
commit9c273c2a59755a46ff3933470b02df857537a4af (patch)
tree7ef80103b6de836141d88a94c035b99ae853b350 /chart/templates/job-db-migrate.yaml
parent55a6b54f8ee6b04845f1a4a8507ba9907670a739 (diff)
helm: standardize yaml configuration (#15728)
- move application variables under `mastodon` namespace
- restore standard yaml structure for ingress configuration
- move values.yaml.template to values.yaml
Diffstat (limited to 'chart/templates/job-db-migrate.yaml')
-rw-r--r--chart/templates/job-db-migrate.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart/templates/job-db-migrate.yaml b/chart/templates/job-db-migrate.yaml
index dd687a066..e107da4d0 100644
--- a/chart/templates/job-db-migrate.yaml
+++ b/chart/templates/job-db-migrate.yaml
@@ -16,7 +16,7 @@ spec:
       restartPolicy: Never
       # ensure we run on the same node as the other rails components; only
       # required when using PVCs that are ReadWriteOnce
-      {{- if or (eq "ReadWriteOnce" .Values.persistence.assets.accessMode) (eq "ReadWriteOnce" .Values.persistence.system.accessMode) }}
+      {{- if or (eq "ReadWriteOnce" .Values.mastodon.persistence.assets.accessMode) (eq "ReadWriteOnce" .Values.mastodon.persistence.system.accessMode) }}
       affinity:
         podAffinity:
           requiredDuringSchedulingIgnoredDuringExecution:
@@ -65,7 +65,7 @@ spec:
                   name: {{ .Release.Name }}-redis
                   key: redis-password
             - name: "PORT"
-              value: {{ .Values.application.web.port | quote }}
+              value: {{ .Values.mastodon.web.port | quote }}
           volumeMounts:
             - name: assets
               mountPath: /opt/mastodon/public/assets