about summary refs log tree commit diff
path: root/chart/templates/deployment-streaming.yaml
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-08-15 16:35:15 +0200
committerGitHub <noreply@github.com>2022-08-15 16:35:15 +0200
commitaba0032f540407d88144ac637a59fce69625546f (patch)
tree4ce630b36a8b36c51b1224d87b97e198e63c2edf /chart/templates/deployment-streaming.yaml
parent3f15326a05a926e9f001800a48ac2addbd3aa833 (diff)
parent41fa50ac8655e0c15cf5e93fa14f9ce847aec88f (diff)
Merge pull request #1825 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'chart/templates/deployment-streaming.yaml')
-rw-r--r--chart/templates/deployment-streaming.yaml10
1 files changed, 3 insertions, 7 deletions
diff --git a/chart/templates/deployment-streaming.yaml b/chart/templates/deployment-streaming.yaml
index b332b686a..12203a530 100644
--- a/chart/templates/deployment-streaming.yaml
+++ b/chart/templates/deployment-streaming.yaml
@@ -43,16 +43,12 @@ spec:
             - name: "DB_PASS"
               valueFrom:
                 secretKeyRef:
-                  {{- if .Values.postgresql.enabled }}
-                  name: {{ .Release.Name }}-postgresql
-                  {{- else }}
-                  name: {{ template "mastodon.fullname" . }}
-                  {{- end }}
-                  key: postgresql-password
+                  name: {{ template "mastodon.postgresql.secretName" . }}
+                  key: password
             - name: "REDIS_PASSWORD"
               valueFrom:
                 secretKeyRef:
-                  name: {{ .Release.Name }}-redis
+                  name: {{ template "mastodon.redis.secretName" . }}
                   key: redis-password
             - name: "PORT"
               value: {{ .Values.mastodon.streaming.port | quote }}