Updating charts to use common resource template
[oom.git] / kubernetes / multicloud / charts / multicloud-vio / templates / deployment.yaml
index b555d46..1a737d6 100644 (file)
@@ -63,7 +63,7 @@ spec:
          name: vio-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: