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

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

commit 5fda2040ee2b9f26e6a2f6fd2b3c60ca1cf543c4
Author: Yingchu Chen <[email protected]>
AuthorDate: Fri Apr 7 19:57:50 2023 +0800

    modify configmaps
---
 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