Updating charts to use common resource template
[oom.git] / kubernetes / portal / charts / portal-sdk / templates / deployment.yaml
index 4a9f4a0..f59a16a 100644 (file)
@@ -90,7 +90,7 @@ spec:
         - name: var-log-onap
           mountPath: /var/log/onap
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}