From 915b96d78d4cde5ef01050fde6eb63b41674a7b6 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Wed, 20 Dec 2023 16:25:20 +0000 Subject: [PATCH 1/2] Allow TEMPLATES_BUCKET_NAME to be configured in the Helm chart. --- charts/budibase/templates/app-service-deployment.yaml | 2 ++ .../templates/automation-worker-service-deployment.yaml | 2 ++ charts/budibase/templates/worker-service-deployment.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/charts/budibase/templates/app-service-deployment.yaml b/charts/budibase/templates/app-service-deployment.yaml index c6ded3cee2..e04a327479 100644 --- a/charts/budibase/templates/app-service-deployment.yaml +++ b/charts/budibase/templates/app-service-deployment.yaml @@ -106,6 +106,8 @@ spec: value: {{ .Values.services.objectStore.globalBucketName | quote }} - name: BACKUPS_BUCKET_NAME value: {{ .Values.services.objectStore.backupsBucketName | quote }} + - name: TEMPLATES_BUCKET_NAME + value: {{ .values.services.objectStore.templatesBucketName | quote }} - name: PORT value: {{ .Values.services.apps.port | quote }} {{ if .Values.services.worker.publicApiRateLimitPerSecond }} diff --git a/charts/budibase/templates/automation-worker-service-deployment.yaml b/charts/budibase/templates/automation-worker-service-deployment.yaml index b7eece6b85..7f429c5451 100644 --- a/charts/budibase/templates/automation-worker-service-deployment.yaml +++ b/charts/budibase/templates/automation-worker-service-deployment.yaml @@ -107,6 +107,8 @@ spec: value: {{ .Values.services.objectStore.globalBucketName | quote }} - name: BACKUPS_BUCKET_NAME value: {{ .Values.services.objectStore.backupsBucketName | quote }} + - name: TEMPLATES_BUCKET_NAME + value: {{ .values.services.objectStore.templatesBucketName | quote }} - name: PORT value: {{ .Values.services.automationWorkers.port | quote }} {{ if .Values.services.worker.publicApiRateLimitPerSecond }} diff --git a/charts/budibase/templates/worker-service-deployment.yaml b/charts/budibase/templates/worker-service-deployment.yaml index 04791df869..1a5d22cf54 100644 --- a/charts/budibase/templates/worker-service-deployment.yaml +++ b/charts/budibase/templates/worker-service-deployment.yaml @@ -106,6 +106,8 @@ spec: value: {{ .Values.services.objectStore.globalBucketName | quote }} - name: BACKUPS_BUCKET_NAME value: {{ .Values.services.objectStore.backupsBucketName | quote }} + - name: TEMPLATES_BUCKET_NAME + value: {{ .values.services.objectStore.templatesBucketName | quote }} - name: PORT value: {{ .Values.services.worker.port | quote }} - name: MULTI_TENANCY From 5083369a997095793f5192540efe7bcd262cca5f Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Wed, 20 Dec 2023 16:26:25 +0000 Subject: [PATCH 2/2] Fix incorrect casing. --- charts/budibase/templates/app-service-deployment.yaml | 2 +- .../templates/automation-worker-service-deployment.yaml | 2 +- charts/budibase/templates/worker-service-deployment.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/budibase/templates/app-service-deployment.yaml b/charts/budibase/templates/app-service-deployment.yaml index e04a327479..2cf15a7ade 100644 --- a/charts/budibase/templates/app-service-deployment.yaml +++ b/charts/budibase/templates/app-service-deployment.yaml @@ -107,7 +107,7 @@ spec: - name: BACKUPS_BUCKET_NAME value: {{ .Values.services.objectStore.backupsBucketName | quote }} - name: TEMPLATES_BUCKET_NAME - value: {{ .values.services.objectStore.templatesBucketName | quote }} + value: {{ .Values.services.objectStore.templatesBucketName | quote }} - name: PORT value: {{ .Values.services.apps.port | quote }} {{ if .Values.services.worker.publicApiRateLimitPerSecond }} diff --git a/charts/budibase/templates/automation-worker-service-deployment.yaml b/charts/budibase/templates/automation-worker-service-deployment.yaml index 7f429c5451..0d855c3859 100644 --- a/charts/budibase/templates/automation-worker-service-deployment.yaml +++ b/charts/budibase/templates/automation-worker-service-deployment.yaml @@ -108,7 +108,7 @@ spec: - name: BACKUPS_BUCKET_NAME value: {{ .Values.services.objectStore.backupsBucketName | quote }} - name: TEMPLATES_BUCKET_NAME - value: {{ .values.services.objectStore.templatesBucketName | quote }} + value: {{ .Values.services.objectStore.templatesBucketName | quote }} - name: PORT value: {{ .Values.services.automationWorkers.port | quote }} {{ if .Values.services.worker.publicApiRateLimitPerSecond }} diff --git a/charts/budibase/templates/worker-service-deployment.yaml b/charts/budibase/templates/worker-service-deployment.yaml index 1a5d22cf54..77d719ab70 100644 --- a/charts/budibase/templates/worker-service-deployment.yaml +++ b/charts/budibase/templates/worker-service-deployment.yaml @@ -107,7 +107,7 @@ spec: - name: BACKUPS_BUCKET_NAME value: {{ .Values.services.objectStore.backupsBucketName | quote }} - name: TEMPLATES_BUCKET_NAME - value: {{ .values.services.objectStore.templatesBucketName | quote }} + value: {{ .Values.services.objectStore.templatesBucketName | quote }} - name: PORT value: {{ .Values.services.worker.port | quote }} - name: MULTI_TENANCY