summaryrefslogtreecommitdiffstats
path: root/kubernetes/aaf/components/aaf-templates/templates
diff options
context:
space:
mode:
authorJack Lucas <jflos@sonoris.net>2022-05-03 14:07:16 +0000
committerGerrit Code Review <gerrit@onap.org>2022-05-03 14:07:16 +0000
commita5c5eea4fe3c17594d1ab6629d3f730a0cdc4f03 (patch)
treee1bf0bbd3d8c195999df5c7b950d1007e5e8eb0c /kubernetes/aaf/components/aaf-templates/templates
parentb4a434a4b80730174141d446ce011dd349071c3f (diff)
parent6a5cefa02eaf50e5c782f4b484c3114d93b5427a (diff)
Merge "[AAF] Make AAF ServiceMesh compatible"
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" . }}