From 4d62f81b55e2c93dd6a7d6f02327751504c662c8 Mon Sep 17 00:00:00 2001 From: Tim Campbell Date: Tue, 14 May 2024 22:05:15 +0200 Subject: [PATCH] Bugfix --- templates/deployment-sidekiq.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }}