3
0
mirror of https://github.com/mastodon/chart synced 2025-05-18 04:53:21 +00:00
This commit is contained in:
Tim Campbell 2024-05-14 22:05:15 +02:00
parent 0936ec96cd
commit 4d62f81b55

View File

@ -128,14 +128,14 @@ spec:
- name: "SIDEKIQ_REDIS_PASSWORD" - name: "SIDEKIQ_REDIS_PASSWORD"
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: {{ template "mastodon.redis.sidekiq.secretName" . }} name: {{ template "mastodon.redis.sidekiq.secretName" $context }}
key: redis-password key: redis-password
{{- end }} {{- end }}
{{- if and $context.Values.redis.cache.enabled $context.Values.redis.cache.auth.existingSecret }} {{- if and $context.Values.redis.cache.enabled $context.Values.redis.cache.auth.existingSecret }}
- name: "CACHE_REDIS_PASSWORD" - name: "CACHE_REDIS_PASSWORD"
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: {{ template "mastodon.redis.cache.secretName" . }} name: {{ template "mastodon.redis.cache.secretName" $context }}
key: redis-password key: redis-password
{{- end }} {{- end }}
{{- if and $context.Values.elasticsearch.existingSecret (or $context.Values.elasticsearch.enabled $context.Values.elasticsearch.hostname) }} {{- if and $context.Values.elasticsearch.existingSecret (or $context.Values.elasticsearch.enabled $context.Values.elasticsearch.hostname) }}