summaryrefslogtreecommitdiffstats
path: root/kubernetes/cli/templates/deployment.yaml
diff options
context:
space:
mode:
authorrajeshkalai <rajesh.kalaiselvan@amdocs.com>2018-09-18 03:39:18 -0400
committerMandeep Khinda <mandeep.khinda@amdocs.com>2018-09-18 15:08:07 +0000
commit91524d0531e4eb7c3070dc09dc397561da0fc710 (patch)
treef7fbd175ec4ec7a717b0ebffbe97af96376a29b8 /kubernetes/cli/templates/deployment.yaml
parented29d8f19549eeed1a091dc2b23b9339d4320ac4 (diff)
Fix: change the global to application flavor
Issue-ID: OOM-1150 Change-Id: Iac3d8080372162edd9ef7d382f1f31fd3373ac16 Signed-off-by: rajeshkalai <rajesh.kalaiselvan@amdocs.com>
Diffstat (limited to 'kubernetes/cli/templates/deployment.yaml')
-rw-r--r--kubernetes/cli/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/cli/templates/deployment.yaml b/kubernetes/cli/templates/deployment.yaml
index 09e0e7f167..94d475bcb5 100644
--- a/kubernetes/cli/templates/deployment.yaml
+++ b/kubernetes/cli/templates/deployment.yaml
@@ -55,7 +55,7 @@ spec:
- name: OPEN_CLI_MODE
value: "{{ .Values.config.climode }}"
resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}