From c11ea23723683147680ffdc192ccdea1d0572263 Mon Sep 17 00:00:00 2001 From: nsantacruz Date: Wed, 3 Apr 2024 06:36:48 +0300 Subject: [PATCH] chore(index from queue): add elastic admin creds to index from queue cronjob --- .../sefaria-project/templates/cronjob/index-from-queue.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helm-chart/sefaria-project/templates/cronjob/index-from-queue.yaml b/helm-chart/sefaria-project/templates/cronjob/index-from-queue.yaml index 4d147093fc..e4925a466d 100644 --- a/helm-chart/sefaria-project/templates/cronjob/index-from-queue.yaml +++ b/helm-chart/sefaria-project/templates/cronjob/index-from-queue.yaml @@ -35,6 +35,8 @@ spec: - name: VARNISH_HOST value: "varnish-{{ .Values.deployEnv }}-{{ .Release.Revision }}" envFrom: + - secretRef: + name: {{ template "sefaria.secrets.elasticAdmin" . }} - secretRef: name: {{ .Values.secrets.localSettings.ref }} optional: true