From 5a08a0c000b8658cb0569178030044a8847635c7 Mon Sep 17 00:00:00 2001 From: Brendan Galloway Date: Tue, 4 Jul 2023 14:25:38 +0200 Subject: [PATCH] helm(fix): correct analysistemplate invocation --- .../templates/analysistemplate/rollout-complete.yaml | 4 +++- helm-chart/sefaria-project/templates/rollout/web.yaml | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/helm-chart/sefaria-project/templates/analysistemplate/rollout-complete.yaml b/helm-chart/sefaria-project/templates/analysistemplate/rollout-complete.yaml index ecad98faf3..55812c8f5f 100644 --- a/helm-chart/sefaria-project/templates/analysistemplate/rollout-complete.yaml +++ b/helm-chart/sefaria-project/templates/analysistemplate/rollout-complete.yaml @@ -6,7 +6,9 @@ metadata: deployEnv: "{{ .Values.deployEnv }}" spec: args: - - name: healthcheck-hostname + - name: revision + - name: deployment + - name: version metrics: - name: healthcheck-ready provider: diff --git a/helm-chart/sefaria-project/templates/rollout/web.yaml b/helm-chart/sefaria-project/templates/rollout/web.yaml index f4d2bf5d3c..513572b76b 100644 --- a/helm-chart/sefaria-project/templates/rollout/web.yaml +++ b/helm-chart/sefaria-project/templates/rollout/web.yaml @@ -26,11 +26,11 @@ spec: {{- if eq .Values.sandbox "false" }} postPromotionAnalysis: templates: - - templateName: rollout-complete + - templateName: rollout-complete-{{ .Values.deployEnv }} args: - name: revision value: "{{ .Release.Revision }}" - - name: deployEnv + - name: deployment value: {{ .Values.deployEnv }} - name: version value: {{ .Values.web.containerImage.tag }}