Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git]
/
kubernetes
/
aaf
/
components
/
aaf-templates
/
templates
/
_deployment.tpl
diff --git
a/kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl
b/kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl
index
50da519
..
c0614b2
100644
(file)
--- 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 }}
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" . }}
spec: {{ include "aaf.initContainers" . | nindent 6 }}
containers:
- name: {{ include "common.name" . }}