summaryrefslogtreecommitdiffstats
path: root/kubernetes/aaf/components/aaf-templates/templates
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2022-04-29 09:22:02 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2022-04-29 10:40:25 +0200
commit6a5cefa02eaf50e5c782f4b484c3114d93b5427a (patch)
tree0cbc7d38b2554371bc38ca8d0d1de3a7518b15d8 /kubernetes/aaf/components/aaf-templates/templates
parent618cfffd44e5a9d187e6a89586b00fb0737f81a7 (diff)
[AAF] Make AAF ServiceMesh compatible
Allthough AAF is not needed for SM it might be required on exceptional cases. In this case the sidecar needs to be disabled for aaf-service and aaf-locate. Additionally the order of chart creation need to be fixed and the job of aaf-sms requires a sidecar killing. Issue-ID: OOM-2820 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I77a2b3da4c826cf294c791bee0d1159233934253
Diffstat (limited to 'kubernetes/aaf/components/aaf-templates/templates')
-rw-r--r--kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl b/kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl
index 50da519a89..c0614b255e 100644
--- a/kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl
+++ b/kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl
@@ -23,6 +23,10 @@ spec:
replicas: {{ .Values.replicaCount }}
template:
metadata: {{- include "common.templateMetadata" . | nindent 6 }}
+ {{- if (include "common.onServiceMesh" .) }}
+ annotations:
+ sidecar.istio.io/inject: "false"
+ {{- end }}
spec: {{ include "aaf.initContainers" . | nindent 6 }}
containers:
- name: {{ include "common.name" . }}