From b0f50bb3e55bccf3ab16213a54475f10d0f3ad10 Mon Sep 17 00:00:00 2001 From: Max Wang Date: Tue, 19 Nov 2024 22:38:57 -0800 Subject: [PATCH] Infra/fix cicd (#744) * use valid label characters * use valid label characters --- infra/app/templates/_helpers.tpl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/infra/app/templates/_helpers.tpl b/infra/app/templates/_helpers.tpl index 5d7139dc9..9fd3683d1 100644 --- a/infra/app/templates/_helpers.tpl +++ b/infra/app/templates/_helpers.tpl @@ -12,13 +12,11 @@ Labels applied to all resources. helm.sh/chart: {{ include "bt-app.chart" . }} app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/instance: {{ .Release.Name }} - {{/* -forces a rolling update when the value is changed. necessary since +the timestamp label forces a rolling update when the value is changed. necessary since we do not change the chart or image version when deploying. */}} -timestamp: {{ now | quote }} - +timestamp: {{ date "2006-01-02_15.04.05Z" (now) | quote }} env: {{ .Values.env }} {{- end -}}