Updating charts to use common resource template
[oom.git] / kubernetes / aai / charts / aai-modelloader / templates / deployment.yaml
index cee0818..3a81168 100644 (file)
@@ -60,7 +60,7 @@ spec:
         - containerPort: {{ .Values.service.internalPort }}
         - containerPort: {{ .Values.service.internalPort2 }}
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
 
       # side car containers
       - name: filebeat-onap