[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 <andreas-geissler@telekom.de>
diff --git a/kubernetes/aai/templates/deployment.yaml b/kubernetes/aai/templates/deployment.yaml
index fa26837..153947e 100644
--- a/kubernetes/aai/templates/deployment.yaml
+++ b/kubernetes/aai/templates/deployment.yaml
@@ -25,9 +25,9 @@
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" . }}
@@ -51,9 +51,9 @@
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.release" . }}
annotations: