Resource Limits for policy
[oom.git] / kubernetes / policy / charts / policy-apex-pdp / templates / statefulset.yaml
index a1083b2..d7604d3 100644 (file)
@@ -73,7 +73,7 @@ spec:
             name: apexconfig
             subpath: config.json
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}