Fix: aai resource limits- charts except cassandra
[oom.git] / kubernetes / aai / charts / aai-resources / templates / deployment.yaml
index 7df214f..065e130 100644 (file)
@@ -520,7 +520,7 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         resources:
-{{ toYaml .Values.resources | indent 10 }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 8 }}