summaryrefslogtreecommitdiffstats
path: root/kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl')
-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" . }}