You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2022/12/01 09:39:39 UTC
[incubator-devlake-helm-chart] branch kw-add-lake-envvars created (now a9bd15b)
This is an automated email from the ASF dual-hosted git repository.
klesh pushed a change to branch kw-add-lake-envvars
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-helm-chart.git
at a9bd15b fix: add missing configuration for lake container
This branch includes the following new commits:
new a9bd15b fix: add missing configuration for lake container
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[incubator-devlake-helm-chart] 01/01: fix: add missing configuration for lake container
Posted by kl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch kw-add-lake-envvars
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-helm-chart.git
commit a9bd15b213e8ef4309de9afde8517655bd37f749
Author: Klesh Wong <zh...@merico.dev>
AuthorDate: Thu Dec 1 17:38:33 2022 +0800
fix: add missing configuration for lake container
---
charts/devlake/templates/statefulsets.yaml | 10 ++++++++++
charts/devlake/values.yaml | 7 +++++++
2 files changed, 17 insertions(+)
diff --git a/charts/devlake/templates/statefulsets.yaml b/charts/devlake/templates/statefulsets.yaml
index 7db0958..5571541 100644
--- a/charts/devlake/templates/statefulsets.yaml
+++ b/charts/devlake/templates/statefulsets.yaml
@@ -244,6 +244,16 @@ spec:
value: "{{ include "database.url" . }}"
- name: ENV_PATH
value: /app/config/.env
+ - name: API_TIMEOUT
+ value: "{{ .Values.lake.dotenv.API_TIMEOUT }}"
+ - name: API_RETRY
+ value: "{{ .Values.lake.dotenv.API_RETRY }}"
+ - name: API_REQUESTS_PER_HOUR
+ value: "{{ .Values.lake.dotenv.API_REQUESTS_PER_HOUR }}"
+ - name: PIPELINE_MAX_PARALLEL
+ value: "{{ .Values.lake.dotenv.PIPELINE_MAX_PARALLEL }}"
+ - name: IN_SECURE_SKIP_VERIFY
+ value: "{{ .Values.lake.dotenv.IN_SECURE_SKIP_VERIFY }}"
volumeMounts:
- mountPath: /app/config
name: {{ include "devlake.fullname" . }}-lake-config
diff --git a/charts/devlake/values.yaml b/charts/devlake/values.yaml
index c63d3d3..7cd14f0 100644
--- a/charts/devlake/values.yaml
+++ b/charts/devlake/values.yaml
@@ -150,6 +150,13 @@ lake:
loggingDir: "/app/logs"
# debug, info, warn, error
loggingLevel: "info"
+ dotenv:
+ API_TIMEOUT: "120s"
+ API_RETRY: "3"
+ API_REQUESTS_PER_HOUR: "10000"
+ PIPELINE_MAX_PARALLEL: "1"
+ IN_SECURE_SKIP_VERIFY: "false"
+
ui:
image: