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-website.git
The following commit(s) were added to refs/heads/main by this push:
new 7ed9ec6f5f adjust helmsetup to add example of setting grafana password
(#668)
7ed9ec6f5f is described below
commit 7ed9ec6f5ff396f5fe119ec17cb65ce9025133f9
Author: ZhangNing10 <[email protected]>
AuthorDate: Mon Nov 6 13:23:49 2023 +0800
adjust helmsetup to add example of setting grafana password (#668)
---
docs/GettingStarted/HelmSetup.md | 16 ++++++++++++++++
versioned_docs/version-v0.18/GettingStarted/HelmSetup.md | 16 ++++++++++++++++
versioned_docs/version-v0.19/GettingStarted/HelmSetup.md | 16 ++++++++++++++++
3 files changed, 48 insertions(+)
diff --git a/docs/GettingStarted/HelmSetup.md b/docs/GettingStarted/HelmSetup.md
index 7566e88793..c599cb2ac6 100644
--- a/docs/GettingStarted/HelmSetup.md
+++ b/docs/GettingStarted/HelmSetup.md
@@ -287,6 +287,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
+
+```
+
## Troubleshooting
If you run into any problem, please check the
[Troubleshooting](/Troubleshooting/Installation.md) or [create an
issue](https://github.com/apache/incubator-devlake/issues)
diff --git a/versioned_docs/version-v0.18/GettingStarted/HelmSetup.md
b/versioned_docs/version-v0.18/GettingStarted/HelmSetup.md
index 507de4934a..bcfd2b1aec 100644
--- a/versioned_docs/version-v0.18/GettingStarted/HelmSetup.md
+++ b/versioned_docs/version-v0.18/GettingStarted/HelmSetup.md
@@ -286,6 +286,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
+
+```
+
## Troubleshooting
If you run into any problem, please check the
[Troubleshooting](/Troubleshooting/Installation.md) or [create an
issue](https://github.com/apache/incubator-devlake/issues)
diff --git a/versioned_docs/version-v0.19/GettingStarted/HelmSetup.md
b/versioned_docs/version-v0.19/GettingStarted/HelmSetup.md
index 7566e88793..c599cb2ac6 100644
--- a/versioned_docs/version-v0.19/GettingStarted/HelmSetup.md
+++ b/versioned_docs/version-v0.19/GettingStarted/HelmSetup.md
@@ -287,6 +287,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
+
+```
+
## Troubleshooting
If you run into any problem, please check the
[Troubleshooting](/Troubleshooting/Installation.md) or [create an
issue](https://github.com/apache/incubator-devlake/issues)