diff --git a/templates/cronjob-media-remove.yaml b/templates/cronjob-media-remove.yaml index 3479e90..21e2d8c 100644 --- a/templates/cronjob-media-remove.yaml +++ b/templates/cronjob-media-remove.yaml @@ -73,7 +73,7 @@ spec: key: redis-password {{- end }} {{- if and .Values.redis.cache.enabled .Values.redis.cache.auth.existingSecret }} - - name: "SIDEKIQ_REDIS_PASSWORD" + - name: "CACHE_REDIS_PASSWORD" valueFrom: secretKeyRef: name: {{ template "mastodon.redis.cache.secretName" . }} diff --git a/templates/deployment-sidekiq.yaml b/templates/deployment-sidekiq.yaml index 6a56286..6384de9 100644 --- a/templates/deployment-sidekiq.yaml +++ b/templates/deployment-sidekiq.yaml @@ -132,7 +132,7 @@ spec: key: redis-password {{- end }} {{- if and $context.Values.redis.cache.enabled $context.Values.redis.cache.auth.existingSecret }} - - name: "SIDEKIQ_REDIS_PASSWORD" + - name: "CACHE_REDIS_PASSWORD" valueFrom: secretKeyRef: name: {{ template "mastodon.redis.cache.secretName" . }} diff --git a/templates/deployment-streaming.yaml b/templates/deployment-streaming.yaml index 77705a4..6963dc7 100644 --- a/templates/deployment-streaming.yaml +++ b/templates/deployment-streaming.yaml @@ -111,7 +111,7 @@ spec: key: redis-password {{- end }} {{- if and .Values.redis.cache.enabled .Values.redis.cache.auth.existingSecret }} - - name: "SIDEKIQ_REDIS_PASSWORD" + - name: "CACHE_REDIS_PASSWORD" valueFrom: secretKeyRef: name: {{ template "mastodon.redis.cache.secretName" . }} diff --git a/templates/deployment-web.yaml b/templates/deployment-web.yaml index 8e70b2d..40299d7 100644 --- a/templates/deployment-web.yaml +++ b/templates/deployment-web.yaml @@ -109,7 +109,7 @@ spec: key: redis-password {{- end }} {{- if and .Values.redis.cache.enabled .Values.redis.cache.auth.existingSecret }} - - name: "SIDEKIQ_REDIS_PASSWORD" + - name: "CACHE_REDIS_PASSWORD" valueFrom: secretKeyRef: name: {{ template "mastodon.redis.cache.secretName" . }} diff --git a/templates/job-assets-precompile.yaml b/templates/job-assets-precompile.yaml index 5632357..b3114cc 100644 --- a/templates/job-assets-precompile.yaml +++ b/templates/job-assets-precompile.yaml @@ -75,7 +75,7 @@ spec: key: redis-password {{- end }} {{- if and .Values.redis.cache.enabled .Values.redis.cache.auth.existingSecret }} - - name: "SIDEKIQ_REDIS_PASSWORD" + - name: "CACHE_REDIS_PASSWORD" valueFrom: secretKeyRef: name: {{ template "mastodon.redis.cache.secretName" . }} diff --git a/templates/job-chewy-upgrade.yaml b/templates/job-chewy-upgrade.yaml index 299334e..d6e201d 100644 --- a/templates/job-chewy-upgrade.yaml +++ b/templates/job-chewy-upgrade.yaml @@ -75,7 +75,7 @@ spec: key: redis-password {{- end }} {{- if and .Values.redis.cache.enabled .Values.redis.cache.auth.existingSecret }} - - name: "SIDEKIQ_REDIS_PASSWORD" + - name: "CACHE_REDIS_PASSWORD" valueFrom: secretKeyRef: name: {{ template "mastodon.redis.cache.secretName" . }} diff --git a/templates/job-create-admin.yaml b/templates/job-create-admin.yaml index 7feeeb2..c7af54c 100644 --- a/templates/job-create-admin.yaml +++ b/templates/job-create-admin.yaml @@ -80,7 +80,7 @@ spec: key: redis-password {{- end }} {{- if and .Values.redis.cache.enabled .Values.redis.cache.auth.existingSecret }} - - name: "SIDEKIQ_REDIS_PASSWORD" + - name: "CACHE_REDIS_PASSWORD" valueFrom: secretKeyRef: name: {{ template "mastodon.redis.cache.secretName" . }} diff --git a/templates/job-db-migrate.yaml b/templates/job-db-migrate.yaml index a71e364..14f8801 100644 --- a/templates/job-db-migrate.yaml +++ b/templates/job-db-migrate.yaml @@ -75,7 +75,7 @@ spec: key: redis-password {{- end }} {{- if and .Values.redis.cache.enabled .Values.redis.cache.auth.existingSecret }} - - name: "SIDEKIQ_REDIS_PASSWORD" + - name: "CACHE_REDIS_PASSWORD" valueFrom: secretKeyRef: name: {{ template "mastodon.redis.cache.secretName" . }}