summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-07-19 14:05:20 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2023-07-19 14:05:20 +0200
commit85a5a340a542ebc30b70f5489a04705037cbe9ab (patch)
treec6bcc3e94de37a2b767b546e630f5d0e84d7fb0a /kubernetes
parentea924c1925e1defb454c3af53245a84ef7ec060e (diff)
[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>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/aai/components/aai-graphadmin/templates/deployment.yaml8
-rw-r--r--kubernetes/aai/components/aai-modelloader/templates/deployment.yaml8
-rw-r--r--kubernetes/aai/components/aai-resources/templates/deployment.yaml8
-rw-r--r--kubernetes/aai/components/aai-schema-service/templates/deployment.yaml8
-rw-r--r--kubernetes/aai/components/aai-traversal/templates/deployment.yaml8
-rw-r--r--kubernetes/aai/templates/deployment.yaml8
6 files changed, 24 insertions, 24 deletions
diff --git a/kubernetes/aai/components/aai-graphadmin/templates/deployment.yaml b/kubernetes/aai/components/aai-graphadmin/templates/deployment.yaml
index afd0e779af..536fc9d1aa 100644
--- a/kubernetes/aai/components/aai-graphadmin/templates/deployment.yaml
+++ b/kubernetes/aai/components/aai-graphadmin/templates/deployment.yaml
@@ -30,9 +30,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" . }}
@@ -55,9 +55,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:
diff --git a/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml b/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
index 78dd307b9f..b3fd237fb6 100644
--- a/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
+++ b/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
@@ -26,9 +26,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" . }}
spec:
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:
diff --git a/kubernetes/aai/components/aai-schema-service/templates/deployment.yaml b/kubernetes/aai/components/aai-schema-service/templates/deployment.yaml
index 5d558cfd30..d0b81492aa 100644
--- a/kubernetes/aai/components/aai-schema-service/templates/deployment.yaml
+++ b/kubernetes/aai/components/aai-schema-service/templates/deployment.yaml
@@ -26,9 +26,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:
diff --git a/kubernetes/aai/components/aai-traversal/templates/deployment.yaml b/kubernetes/aai/components/aai-traversal/templates/deployment.yaml
index bf9743be55..a2c81cf673 100644
--- a/kubernetes/aai/components/aai-traversal/templates/deployment.yaml
+++ b/kubernetes/aai/components/aai-traversal/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:
diff --git a/kubernetes/aai/templates/deployment.yaml b/kubernetes/aai/templates/deployment.yaml
index fa26837114..153947ebb1 100644
--- a/kubernetes/aai/templates/deployment.yaml
+++ b/kubernetes/aai/templates/deployment.yaml
@@ -25,9 +25,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" . }}
@@ -51,9 +51,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.release" . }}
annotations: