summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-babel/templates
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2019-02-25 10:24:23 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-25 10:24:23 +0000
commit03d0e528dadc44118e61773f3dc9d3ab58844573 (patch)
treef809d0e1686ae22f199a303bf09f95ab73a0ac47 /kubernetes/aai/charts/aai-babel/templates
parent91a7fd0f6715153591e9ad4608fffb13f004fb9e (diff)
parentcb25a53fd01e135a07505051de4111d34b600b38 (diff)
Merge "Fix nodeSlector and Affinity for aai charts"
Diffstat (limited to 'kubernetes/aai/charts/aai-babel/templates')
-rw-r--r--kubernetes/aai/charts/aai-babel/templates/deployment.yaml18
1 files changed, 9 insertions, 9 deletions
diff --git a/kubernetes/aai/charts/aai-babel/templates/deployment.yaml b/kubernetes/aai/charts/aai-babel/templates/deployment.yaml
index 4f0e9dd2c4..ee159675df 100644
--- a/kubernetes/aai/charts/aai-babel/templates/deployment.yaml
+++ b/kubernetes/aai/charts/aai-babel/templates/deployment.yaml
@@ -98,15 +98,15 @@ spec:
name: {{ include "common.fullname" . }}-config
subPath: logback.xml
resources:
-{{ include "common.resources" . | indent 12 }}
- {{- if .Values.nodeSelector }}
- nodeSelector:
-{{ toYaml .Values.nodeSelector | indent 10 }}
- {{- end -}}
- {{- if .Values.affinity }}
- affinity:
-{{ toYaml .Values.affinity | indent 10 }}
- {{- end }}
+{{ include "common.resources" . }}
+ {{- if .Values.nodeSelector }}
+ nodeSelector:
+{{ toYaml .Values.nodeSelector | indent 8 }}
+ {{- end -}}
+ {{- if .Values.affinity }}
+ affinity:
+{{ toYaml .Values.affinity | indent 8 }}
+ {{- end }}
# side car containers
- name: filebeat-onap