summaryrefslogtreecommitdiffstats
path: root/charts/aai-sparky-be/templates
diff options
context:
space:
mode:
Diffstat (limited to 'charts/aai-sparky-be/templates')
-rw-r--r--charts/aai-sparky-be/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/charts/aai-sparky-be/templates/deployment.yaml b/charts/aai-sparky-be/templates/deployment.yaml
index 48235bc..a6414dd 100644
--- a/charts/aai-sparky-be/templates/deployment.yaml
+++ b/charts/aai-sparky-be/templates/deployment.yaml
@@ -117,7 +117,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 }}