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 2023/11/08 09:21:11 UTC

(incubator-devlake-helm-chart) branch main updated: adjust helmsetup.md (#197)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new a78279c  adjust helmsetup.md (#197)
a78279c is described below

commit a78279cff1944919bf4652bc972e540fc995403b
Author: ZhangNing10 <13...@users.noreply.github.com>
AuthorDate: Wed Nov 8 17:21:05 2023 +0800

    adjust helmsetup.md (#197)
    
    * adjust helmsetup.md
    
    * adjust helmsetup md
---
 HelmSetup.md | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/HelmSetup.md b/HelmSetup.md
index 219439a..7c6911c 100644
--- a/HelmSetup.md
+++ b/HelmSetup.md
@@ -126,6 +126,15 @@ helm install devlake devlake/devlake \
 
 After deployed, visit devlake: https://devlake-0.example.com:8443, and grafana at https://devlake-0.example.com:8443/grafana
 
+### 3.4 Specify grafana admin password
+
+```
+ENCRYPTION_SECRET=$(openssl rand -base64 2000 | tr -dc 'A-Z' | fold -w 128 | head -n 1)
+helm install devlake devlake/devlake \
+  --set grafana.adminPassword=<your password> \
+  --set lake.encryptionSecret.secret=$ENCRYPTION_SECRET
+```
+
 ---
 
 ## 4 Parameters
@@ -261,6 +270,22 @@ helm install devlake devlake/devlake \
 
 ```
 
+4. How to set the Grafana admin password? If not explicitly set, a random password will be generated and saved in a Kubernetes Secret
+
+- `grafana.adminPassword`: your password
+
+Here is the example:
+
+```
+helm repo add devlake https://apache.github.io/incubator-devlake-helm-chart
+helm repo update
+ENCRYPTION_SECRET=$(openssl rand -base64 2000 | tr -dc 'A-Z' | fold -w 128 | head -n 1)
+helm install devlake devlake/devlake \
+  --set grafana.adminPassword=<your password> \
+  --set lake.encryptionSecret.secret=$ENCRYPTION_SECRET
+
+```
+
 ---
 
 ## 6 Troubleshooting