Updating charts to use common resource template
[oom.git] / kubernetes / policy / charts / brmsgw / templates / deployment.yaml
index 7b40dbe..7535d54 100644 (file)
@@ -85,7 +85,7 @@ spec:
           name: pe-scripts
           subPath: do-start.sh
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}