about summary refs log tree commit diff
path: root/chart
diff options
context:
space:
mode:
authorKangwook Lee (이강욱) <pbzweihander@gmail.com>2022-10-28 23:40:47 +0900
committerGitHub <noreply@github.com>2022-10-28 16:40:47 +0200
commitdae954ef111b8e0ab17812d156f6c955b77d9859 (patch)
treef0c6b002b67586d0c9f266d0cfe07d65d1c9f55a /chart
parent223e152312c9661532d846b7580d95819a0af5a4 (diff)
Fix PostgreSQL password reference for jobs (#19504)
Diffstat (limited to 'chart')
-rw-r--r--chart/templates/cronjob-media-remove.yaml2
-rw-r--r--chart/templates/job-assets-precompile.yaml2
-rw-r--r--chart/templates/job-chewy-upgrade.yaml2
-rw-r--r--chart/templates/job-create-admin.yaml2
-rw-r--r--chart/templates/job-db-migrate.yaml2
5 files changed, 5 insertions, 5 deletions
diff --git a/chart/templates/cronjob-media-remove.yaml b/chart/templates/cronjob-media-remove.yaml
index 160aee204..4ca45804a 100644
--- a/chart/templates/cronjob-media-remove.yaml
+++ b/chart/templates/cronjob-media-remove.yaml
@@ -59,7 +59,7 @@ spec:
                   valueFrom:
                     secretKeyRef:
                       name: {{ template "mastodon.postgresql.secretName" . }}
-                      key: password
+                      key: postgresql-password
                 - name: "REDIS_PASSWORD"
                   valueFrom:
                     secretKeyRef:
diff --git a/chart/templates/job-assets-precompile.yaml b/chart/templates/job-assets-precompile.yaml
index faa51a20d..c20b4a370 100644
--- a/chart/templates/job-assets-precompile.yaml
+++ b/chart/templates/job-assets-precompile.yaml
@@ -60,7 +60,7 @@ spec:
               valueFrom:
                 secretKeyRef:
                   name: {{ template "mastodon.postgresql.secretName" . }}
-                  key: password
+                  key: postgresql-password
             - name: "REDIS_PASSWORD"
               valueFrom:
                 secretKeyRef:
diff --git a/chart/templates/job-chewy-upgrade.yaml b/chart/templates/job-chewy-upgrade.yaml
index ae6fb38e1..cf7b59b58 100644
--- a/chart/templates/job-chewy-upgrade.yaml
+++ b/chart/templates/job-chewy-upgrade.yaml
@@ -61,7 +61,7 @@ spec:
               valueFrom:
                 secretKeyRef:
                   name: {{ template "mastodon.postgresql.secretName" . }}
-                  key: password
+                  key: postgresql-password
             - name: "REDIS_PASSWORD"
               valueFrom:
                 secretKeyRef:
diff --git a/chart/templates/job-create-admin.yaml b/chart/templates/job-create-admin.yaml
index 659c00671..bb9094cda 100644
--- a/chart/templates/job-create-admin.yaml
+++ b/chart/templates/job-create-admin.yaml
@@ -66,7 +66,7 @@ spec:
               valueFrom:
                 secretKeyRef:
                   name: {{ template "mastodon.postgresql.secretName" . }}
-                  key: password
+                  key: postgresql-password
             - name: "REDIS_PASSWORD"
               valueFrom:
                 secretKeyRef:
diff --git a/chart/templates/job-db-migrate.yaml b/chart/templates/job-db-migrate.yaml
index 8e4f70dfb..0b386c087 100644
--- a/chart/templates/job-db-migrate.yaml
+++ b/chart/templates/job-db-migrate.yaml
@@ -60,7 +60,7 @@ spec:
               valueFrom:
                 secretKeyRef:
                   name: {{ template "mastodon.postgresql.secretName" . }}
-                  key: password
+                  key: postgresql-password
             - name: "REDIS_PASSWORD"
               valueFrom:
                 secretKeyRef: