summaryrefslogtreecommitdiffstats
path: root/charts/aai-sparky-be/templates/deployment.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <mandeep.khinda@amdocs.com>2018-09-24 15:25:42 +0000
committerMandeep Khinda <mandeep.khinda@amdocs.com>2018-09-25 14:17:43 +0000
commit47cf1150d28cfe61cb3b2fc1f30a5d18e992cb2b (patch)
tree385b7d367e65ada41ac4cd1e902280adeeec3a9b /charts/aai-sparky-be/templates/deployment.yaml
parent9a46bf38d7d2f37eb9efa8ef84e6fe97af60c34c (diff)
Updating charts to use common resource template
Issue-ID: OOM-1145 Change-Id: I1510339a820802554b6e8b9a201619ef66be17a0 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
Diffstat (limited to 'charts/aai-sparky-be/templates/deployment.yaml')
-rw-r--r--charts/aai-sparky-be/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/charts/aai-sparky-be/templates/deployment.yaml b/charts/aai-sparky-be/templates/deployment.yaml
index a6414dd..3ecbd80 100644
--- a/charts/aai-sparky-be/templates/deployment.yaml
+++ b/charts/aai-sparky-be/templates/deployment.yaml
@@ -117,7 +117,7 @@ spec:
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}