Updating charts to use common resource template
[oom.git] / kubernetes / portal / charts / portal-widget / templates / deployment.yaml
index 8c16974..fdf9915 100644 (file)
@@ -77,7 +77,7 @@ spec:
           mountPath: "/application.yml"
           subPath: application.yml
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}