Fix: aai resource limits- charts except cassandra
[oom.git] / kubernetes / aai / charts / aai-spike / templates / deployment.yaml
index edf6ce8..a6801e1 100644 (file)
@@ -103,7 +103,7 @@ spec:
           - mountPath: /var/log/onap
             name: {{ include "common.fullname" . }}-logs
           resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}