summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/templates/deployment.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-09-19 14:19:04 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-19 14:19:04 +0000
commit2fdf3a77b78c30214e6f8cbfd4363eab997f9497 (patch)
tree0c156e2f102cfb4eca86a002ad1d37316eb95c94 /kubernetes/aai/templates/deployment.yaml
parent800e00ec2c466c9242c2ee67775126fc7d7527b3 (diff)
parent0e89201bb34d95d41ec4aac6ace92e7228728b73 (diff)
Merge "Add resource limit for aai"
Diffstat (limited to 'kubernetes/aai/templates/deployment.yaml')
-rw-r--r--kubernetes/aai/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/aai/templates/deployment.yaml b/kubernetes/aai/templates/deployment.yaml
index dc65cef187..17ba83b8d7 100644
--- a/kubernetes/aai/templates/deployment.yaml
+++ b/kubernetes/aai/templates/deployment.yaml
@@ -80,7 +80,7 @@ spec:
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}