From 73f684933c1fa1de06b30b886ca9d4505186807e Mon Sep 17 00:00:00 2001 From: Rose Yemelyanova Date: Thu, 23 Feb 2023 13:56:40 +0000 Subject: [PATCH] changed how versioning works with helm templates and images --- helm/diffcalc-api/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/diffcalc-api/templates/deployment.yaml b/helm/diffcalc-api/templates/deployment.yaml index f8c7f94..545ac08 100644 --- a/helm/diffcalc-api/templates/deployment.yaml +++ b/helm/diffcalc-api/templates/deployment.yaml @@ -31,7 +31,7 @@ spec: - name: {{ .Chart.Name }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.Version }}" imagePullPolicy: {{ .Values.image.pullPolicy }} env: - name: mongo_url