Updating charts to use common resource template
[oom.git] / kubernetes / uui / templates / deployment.yaml
index 5d564cf..6c09924 100644 (file)
@@ -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 }}