Merge "Switch policy/api rest port from cluster to node"
[oom.git] / kubernetes / so / charts / so-mariadb / templates / deployment.yaml
index 07feb4a..6c7b85f 100755 (executable)
@@ -81,7 +81,7 @@ spec:
         - name: docker-entrypoint-initdb-d
           mountPath: "/docker-entrypoint-initdb.d"
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}