From 03078568415225f5ab1b32e4f40063dca520f600 Mon Sep 17 00:00:00 2001 From: kranthikirang Date: Fri, 7 Dec 2018 16:12:02 -0500 Subject: Fix nodeSlector and Affinity for aai charts Indentation problem. Correctly placed nodeSelector and Affinity aligned with Contrainers in template.spec common.resources do not need indent as indent 12 already present in return value Change-Id: Ie0e84fba2f18d903fdcc8bb8f6ff06a4785c0a75 Issue-ID: OOM-1541 Signed-off-by: Kranthi Guttikonda Signed-off-by: kranthikirang --- charts/aai-traversal/templates/deployment.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'charts/aai-traversal') diff --git a/charts/aai-traversal/templates/deployment.yaml b/charts/aai-traversal/templates/deployment.yaml index 834ab32..11950ad 100644 --- a/charts/aai-traversal/templates/deployment.yaml +++ b/charts/aai-traversal/templates/deployment.yaml @@ -358,7 +358,7 @@ spec: initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} periodSeconds: {{ .Values.readiness.periodSeconds }} resources: -{{ include "common.resources" . | indent 12 }} +{{ include "common.resources" . }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 8 }} @@ -380,6 +380,8 @@ spec: name: {{ include "common.fullname" . }}-logs - mountPath: /usr/share/filebeat/data name: {{ include "common.fullname" . }}-filebeat + resources: +{{ include "common.resources" . }} volumes: - name: localtime hostPath: -- cgit 1.2.3-korg