summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml')
-rw-r--r--kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml b/kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml
index a1083b2809..d7604d3231 100644
--- a/kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml
+++ b/kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml
@@ -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 }}