Updating charts to use common resource template
[oom.git] / kubernetes / multicloud / charts / multicloud-windriver / templates / deployment.yaml
index 3dfe72c..99b1ea9 100644 (file)
@@ -63,7 +63,7 @@ spec:
          name: windriver-logconfig
          subPath: log.yml
        resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
        image: "{{ include "common.repository" . }}/{{ .Values.image }}"
        imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
        ports: