aboutsummaryrefslogtreecommitdiffstats
path: root/charts/aai-gizmo/templates/deployment.yaml
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
commit28c2643a31109f19b54dbf3e7f6594eafdb50b52 (patch)
tree68f7a297035403673c9d10412a41d8c63af07f82 /charts/aai-gizmo/templates/deployment.yaml
parent53a6d1d6fc536117536f1a70a8a909370524c110 (diff)
parent03078568415225f5ab1b32e4f40063dca520f600 (diff)
Merge "Fix nodeSlector and Affinity for aai charts"
Diffstat (limited to 'charts/aai-gizmo/templates/deployment.yaml')
-rw-r--r--charts/aai-gizmo/templates/deployment.yaml18
1 files changed, 9 insertions, 9 deletions
diff --git a/charts/aai-gizmo/templates/deployment.yaml b/charts/aai-gizmo/templates/deployment.yaml
index e01e738..04428d9 100644
--- a/charts/aai-gizmo/templates/deployment.yaml
+++ b/charts/aai-gizmo/templates/deployment.yaml
@@ -102,15 +102,15 @@ spec:
name: {{ include "common.fullname" . }}-logback-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 }}
- name: filebeat-onap
image: "{{ .Values.global.loggingRepository }}/{{ .Values.global.loggingImage }}"