summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Latusek <j.latusek@samsung.com>2020-09-15 11:07:56 +0200
committerJakub Latusek <j.latusek@samsung.com>2020-09-15 18:14:10 +0200
commit78234a5098bb3e5811c2362ef077ab51d6b0e2ed (patch)
tree78a9172bb221ed0995ff554e3ca0f4acdae11014
parent27aae18cdee00c873e3617a6a3b5fb2d294b9b98 (diff)
Use common.resources template to generate resources
Change-Id: Ibb947b44286f9f3df4a2b5c9e1cef9c3f76cde6b Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562
-rw-r--r--kubernetes/common/music/charts/music/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/common/music/charts/music/templates/deployment.yaml b/kubernetes/common/music/charts/music/templates/deployment.yaml
index 81c3c2049d..b4364dd4c6 100644
--- a/kubernetes/common/music/charts/music/templates/deployment.yaml
+++ b/kubernetes/common/music/charts/music/templates/deployment.yaml
@@ -77,7 +77,7 @@ spec:
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
env:
- name: SPRING_OPTS
value: "{{ .Values.springOpts }}"