diff --git a/templates/deployment-sidekiq.yaml b/templates/deployment-sidekiq.yaml index 6384de9..a61f0be 100644 --- a/templates/deployment-sidekiq.yaml +++ b/templates/deployment-sidekiq.yaml @@ -128,14 +128,14 @@ spec: - name: "SIDEKIQ_REDIS_PASSWORD" valueFrom: secretKeyRef: - name: {{ template "mastodon.redis.sidekiq.secretName" . }} + name: {{ template "mastodon.redis.sidekiq.secretName" $context }} key: redis-password {{- end }} {{- if and $context.Values.redis.cache.enabled $context.Values.redis.cache.auth.existingSecret }} - name: "CACHE_REDIS_PASSWORD" valueFrom: secretKeyRef: - name: {{ template "mastodon.redis.cache.secretName" . }} + name: {{ template "mastodon.redis.cache.secretName" $context }} key: redis-password {{- end }} {{- if and $context.Values.elasticsearch.existingSecret (or $context.Values.elasticsearch.enabled $context.Values.elasticsearch.hostname) }}