Updating charts to use common resource template
[oom.git] / kubernetes / oof / charts / oof-has / charts / oof-has-solver / templates / deployment.yaml
index ad1e1c5..26ed7c7 100755 (executable)
@@ -88,7 +88,7 @@ spec:
             name: {{ .Values.global.commonConfigPrefix }}-config
             subPath: healthy.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 }}