diff options
author | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2019-02-25 10:24:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-02-25 10:24:23 +0000 |
commit | 28c2643a31109f19b54dbf3e7f6594eafdb50b52 (patch) | |
tree | 68f7a297035403673c9d10412a41d8c63af07f82 /charts/aai-champ | |
parent | 53a6d1d6fc536117536f1a70a8a909370524c110 (diff) | |
parent | 03078568415225f5ab1b32e4f40063dca520f600 (diff) |
Merge "Fix nodeSlector and Affinity for aai charts"
Diffstat (limited to 'charts/aai-champ')
-rw-r--r-- | charts/aai-champ/templates/deployment.yaml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/charts/aai-champ/templates/deployment.yaml b/charts/aai-champ/templates/deployment.yaml index 537763a..4d4ac99 100644 --- a/charts/aai-champ/templates/deployment.yaml +++ b/charts/aai-champ/templates/deployment.yaml @@ -108,15 +108,15 @@ spec: - mountPath: /var/log/onap name: {{ include "common.fullname" . }}-logs 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 |