Updating charts to use common resource template
[oom.git] / kubernetes / oof / templates / deployment.yaml
index 3341505..ed64166 100644 (file)
@@ -77,7 +77,7 @@ spec:
             name: {{ include "common.fullname" . }}-config
             subPath: osdf_config.yaml
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}