From 85a5a340a542ebc30b70f5489a04705037cbe9ab Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Wed, 19 Jul 2023 14:05:20 +0200 Subject: [AAI] Update Version labels in deployments Add "" to the version label to interpret it as string Issue-ID: OOM-3228 Change-Id: Ib3af1e6b4caaf4d2153bd73211e0bd7c1b1ccb96 Signed-off-by: Andreas Geissler --- kubernetes/aai/components/aai-resources/templates/deployment.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kubernetes/aai/components/aai-resources/templates') diff --git a/kubernetes/aai/components/aai-resources/templates/deployment.yaml b/kubernetes/aai/components/aai-resources/templates/deployment.yaml index 724cb2d59f..2f60811331 100644 --- a/kubernetes/aai/components/aai-resources/templates/deployment.yaml +++ b/kubernetes/aai/components/aai-resources/templates/deployment.yaml @@ -27,9 +27,9 @@ metadata: app: {{ include "common.name" . }} app.kubernetes.io/name: {{ include "common.name" . }} {{- if .Chart.AppVersion }} - version: {{ .Chart.AppVersion | replace "+" "_" }} + version: "{{ .Chart.AppVersion | replace "+" "_" }}" {{- else }} - version: {{ .Chart.Version | replace "+" "_" }} + version: "{{ .Chart.Version | replace "+" "_" }}" {{- end }} chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} release: {{ include "common.release" . }} @@ -52,9 +52,9 @@ spec: release: {{ include "common.release" . }} app.kubernetes.io/name: {{ include "common.name" . }} {{- if .Chart.AppVersion }} - version: {{ .Chart.AppVersion | replace "+" "_" }} + version: "{{ .Chart.AppVersion | replace "+" "_" }}" {{- else }} - version: {{ .Chart.Version | replace "+" "_" }} + version: "{{ .Chart.Version | replace "+" "_" }}" {{- end }} name: {{ include "common.name" . }} annotations: -- cgit 1.2.3-korg