This is an automated email from the ASF dual-hosted git repository.

warren pushed a commit to branch eks
in repository 
https://gitbox.apache.org/repos/asf/incubator-devlake-helm-chart.git


The following commit(s) were added to refs/heads/eks by this push:
     new 65e33e6  modify configmaps (#107)
65e33e6 is described below

commit 65e33e67da6debcca7fff703ecde023b6c6f3e09
Author: Warren Chen <[email protected]>
AuthorDate: Fri Apr 7 19:58:51 2023 +0800

    modify configmaps (#107)
---
 charts/devlake/templates/configmaps.yaml | 21 ++-------------------
 1 file changed, 2 insertions(+), 19 deletions(-)

diff --git a/charts/devlake/templates/configmaps.yaml 
b/charts/devlake/templates/configmaps.yaml
index 65c40d5..87b9deb 100644
--- a/charts/devlake/templates/configmaps.yaml
+++ b/charts/devlake/templates/configmaps.yaml
@@ -95,23 +95,6 @@ data:
         secureJsonData:
           password: $MYSQL_PASSWORD
         editable: false
-#{{- else if eq .Values.option.database "pgsql" }}
-#  grafana-datasource.yml: |
-#    apiVersion: 1
-#    datasources:
-#      - name: postgres
-#        type: postgres
-#        url: $POSTGRES_URL
-#        database: $POSTGRES_DB
-#        user: $POSTGRES_USER
-#        secureJsonData:
-#          password: $POSTGRES_PASSWORD
-#        jsonData:
-#          sslmode: 'disable'
-#          postgresVersion: 1000 # support pgsql 10.0 and above
-#          timescaledb: false
-{{- end }}
-{{- end }}
 
 ---
 apiVersion: v1
@@ -156,7 +139,7 @@ data:
   VITE_AUTH_USER_POOL_ID: "{{ .Values.ui.env.VITE_AUTH_USER_POOL_ID }}"
   VITE_AUTH_USER_POOL_WEB_CLIENT_ID: "{{ 
.Values.ui.env.VITE_AUTH_USER_POOL_WEB_CLIENT_ID }}"
   VITE_AUTH_COOKIE_STORAGE_DOMAIN: "{{ 
.Values.ui.env.VITE_AUTH_COOKIE_STORAGE_DOMAIN }}"
-  {{ - if .Values.ui.basicAuth.enabled }}
+  {{- if .Values.ui.basicAuth.enabled }}
   ADMIN_USER: "{{ .Values.ui.basicAuth.user }}"
   ADMIN_PASS: "{{ .Values.ui.basicAuth.password }}"
-  {{ - end }}
+  {{- end }}

Reply via email to