summaryrefslogtreecommitdiffstats
path: root/charts/aai-sparky-be
diff options
context:
space:
mode:
authorkranthikirang <kranthi.guttikonda@b-yond.com>2018-12-07 16:12:02 -0500
committerkranthikirang <kranthi.guttikonda@b-yond.com>2018-12-07 16:12:38 -0500
commit03078568415225f5ab1b32e4f40063dca520f600 (patch)
treebed0d7e5c03f003011805fe00363fe6caa7d03c8 /charts/aai-sparky-be
parentc7513ca0c231b93810db241ef1e6ca07a13d8c46 (diff)
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 <kranthi.guttikonda@b-yond.com> Signed-off-by: kranthikirang <kranthi.guttikonda@b-yond.com>
Diffstat (limited to 'charts/aai-sparky-be')
-rw-r--r--charts/aai-sparky-be/templates/deployment.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/charts/aai-sparky-be/templates/deployment.yaml b/charts/aai-sparky-be/templates/deployment.yaml
index d622be6..0d9e85d 100644
--- a/charts/aai-sparky-be/templates/deployment.yaml
+++ b/charts/aai-sparky-be/templates/deployment.yaml
@@ -125,7 +125,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 }}
@@ -147,6 +147,8 @@ spec:
name: {{ include "common.fullname" . }}-logs
- mountPath: /usr/share/filebeat/data
name: aai-sparky-filebeat
+ resources:
+{{ include "common.resources" . }}
volumes:
- name: localtime