From 2d243aa5f369b654eec7172ed7ef8fb884c9082b Mon Sep 17 00:00:00 2001 From: Kartik Shah Date: Thu, 1 Jun 2023 19:59:05 +0530 Subject: [PATCH] fix: galoy chart resource config (#3202) --- charts/galoy/templates/api-deployment.yaml | 2 +- charts/galoy/templates/exporter-deployment.yaml | 2 +- charts/galoy/templates/galoy-migration-job.yaml | 2 +- charts/galoy/templates/trigger-deployment.yaml | 2 +- charts/galoy/values.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/galoy/templates/api-deployment.yaml b/charts/galoy/templates/api-deployment.yaml index 40c32a8389..ddf138c66d 100644 --- a/charts/galoy/templates/api-deployment.yaml +++ b/charts/galoy/templates/api-deployment.yaml @@ -51,7 +51,7 @@ spec: - "/app/lib/services/tracing.js" - "lib/servers/graphql-main-server.js" resources: - {{ toYaml .Values.resources | nindent 10 }} + {{ toYaml .Values.galoy.api.resources | nindent 10 }} ports: - name: api containerPort: {{ .Values.galoy.api.port }} diff --git a/charts/galoy/templates/exporter-deployment.yaml b/charts/galoy/templates/exporter-deployment.yaml index 9beb267cc5..eef94b222a 100644 --- a/charts/galoy/templates/exporter-deployment.yaml +++ b/charts/galoy/templates/exporter-deployment.yaml @@ -56,7 +56,7 @@ spec: - "/app/lib/services/tracing.js" - "lib/servers/exporter.js" resources: - {{ toYaml .Values.resources | nindent 10 }} + {{ toYaml .Values.galoy.exporter.resources | nindent 10 }} ports: - name: http containerPort: {{ .Values.galoy.exporter.port }} diff --git a/charts/galoy/templates/galoy-migration-job.yaml b/charts/galoy/templates/galoy-migration-job.yaml index 862587e1ce..8ff380b3bb 100644 --- a/charts/galoy/templates/galoy-migration-job.yaml +++ b/charts/galoy/templates/galoy-migration-job.yaml @@ -40,7 +40,7 @@ spec: - name: mongodb-migrate image: "{{ .Values.galoy.images.mongodbMigrate.repository }}@{{ .Values.galoy.images.mongodbMigrate.digest }}" resources: - {{ toYaml .Values.galoy.migrationJob.resources | nindent 10 }} + {{ toYaml .Values.galoy.mongoMigrationJob.resources | nindent 10 }} env: {{ include "galoy.mongodb.env" . | indent 8 }} restartPolicy: Never diff --git a/charts/galoy/templates/trigger-deployment.yaml b/charts/galoy/templates/trigger-deployment.yaml index 38785d7350..6e587edba7 100644 --- a/charts/galoy/templates/trigger-deployment.yaml +++ b/charts/galoy/templates/trigger-deployment.yaml @@ -51,7 +51,7 @@ spec: - "/app/lib/services/tracing.js" - "lib/servers/trigger.js" resources: - {{ toYaml .Values.resources | nindent 10 }} + {{ toYaml .Values.galoy.trigger.resources | nindent 10 }} ports: - name: http containerPort: {{ .Values.galoy.trigger.port }} diff --git a/charts/galoy/values.yaml b/charts/galoy/values.yaml index 118225a09e..12bfee7ad4 100644 --- a/charts/galoy/values.yaml +++ b/charts/galoy/values.yaml @@ -312,7 +312,7 @@ galoy: balanceNotificationCron: resources: {} enabled: false - migrationJob: + mongoMigrationJob: resources: {} ## Kratos kratos: