diff options
author | Mandeep Khinda <mandeep.khinda@amdocs.com> | 2018-09-24 15:25:42 +0000 |
---|---|---|
committer | Mandeep Khinda <mandeep.khinda@amdocs.com> | 2018-09-25 14:17:43 +0000 |
commit | 5e3f36a4b1710c9c1accc41d2530795d5fb66496 (patch) | |
tree | 57d9d848e4e0bffdb9da81a56465d1c0528ccd24 /kubernetes/uui | |
parent | 60d36d4b00699c857e219d22c48c42a4391b9147 (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 'kubernetes/uui')
-rw-r--r-- | kubernetes/uui/charts/uui-server/templates/deployment.yaml | 2 | ||||
-rw-r--r-- | kubernetes/uui/templates/deployment.yaml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/uui/charts/uui-server/templates/deployment.yaml b/kubernetes/uui/charts/uui-server/templates/deployment.yaml index 0a73fff646..f0d5d297f7 100644 --- a/kubernetes/uui/charts/uui-server/templates/deployment.yaml +++ b/kubernetes/uui/charts/uui-server/templates/deployment.yaml @@ -46,7 +46,7 @@ spec: periodSeconds: {{ .Values.liveness.periodSeconds }} {{ end -}} resources: -{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }} +{{ include "common.resources" . | indent 12 }} readinessProbe: tcpSocket: port: {{ .Values.service.internalPort }} diff --git a/kubernetes/uui/templates/deployment.yaml b/kubernetes/uui/templates/deployment.yaml index 5d564cf902..6c0992487d 100644 --- a/kubernetes/uui/templates/deployment.yaml +++ b/kubernetes/uui/templates/deployment.yaml @@ -58,7 +58,7 @@ spec: - name: MSB_ADDR value: {{ tpl .Values.msbaddr . }} resources: -{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }} +{{ include "common.resources" . | indent 12 }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 10 }} |