Merge "Fixed mount point for policy-apex-pdp config file"
[oom.git] / kubernetes / policy / charts / policy-apex-pdp / templates / statefulset.yaml
index e53dc01..8063c83 100644 (file)
@@ -72,7 +72,7 @@ spec:
           - mountPath: /home/apexuser/config
             name: apexconfig
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}