diff options
author | GregSulek <gsulek@amdocs.com> | 2018-09-19 06:48:37 -0400 |
---|---|---|
committer | GregSulek <gsulek@amdocs.com> | 2018-09-19 06:50:29 -0400 |
commit | 973bfad52ba90a96ce77a3efd2b572d7e5c6f2e0 (patch) | |
tree | 8d5ff7805d076614fce69497f0766557116b5826 /kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml | |
parent | c196546bae5346d162b3fb20de96d9df8fe260ca (diff) |
Add Resource Limits for APP-C
flavor names removed from global
Issue-ID: OOM-1148
Change-Id: Ib8ccb694786d15be2830c067d5c3b10fc7054f0b
Signed-off-by: GregSulek <gsulek@amdocs.com>
Diffstat (limited to 'kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml')
-rw-r--r-- | kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml b/kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml index 8fb2776566..b7ef21f023 100644 --- a/kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml +++ b/kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml @@ -75,8 +75,8 @@ spec: name: config subPath: RestServer_config resources: -{{ toYaml .Values.resources | indent 12 }} {{- if .Values.nodeSelector }} +{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 10 }} {{- end -}} |