This is an automated email from the ASF dual-hosted git repository.
zhangliang2022 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 ccf11fa feat: upgrade helm chart to v0.17.0-beta9 (#141)
ccf11fa is described below
commit ccf11fa9b1eb8c6f7a73529fc5efb2a47a3a9d27
Author: abeizn <[email protected]>
AuthorDate: Thu Jun 1 19:01:01 2023 +0800
feat: upgrade helm chart to v0.17.0-beta9 (#141)
---
HelmSetup.md | 74 ++++++++++++++++++++++++----------------------
README.md | 4 +--
charts/devlake/Chart.yaml | 10 +++----
charts/devlake/values.yaml | 2 +-
4 files changed, 46 insertions(+), 44 deletions(-)
diff --git a/HelmSetup.md b/HelmSetup.md
index 0f936fe..51523d0 100644
--- a/HelmSetup.md
+++ b/HelmSetup.md
@@ -21,7 +21,7 @@ To install the chart with release name `devlake`:
```shell
helm repo add devlake https://apache.github.io/incubator-devlake-helm-chart
helm repo update
-helm install devlake devlake/devlake --version=0.17.0-beta8
+helm install devlake devlake/devlake --version=0.17.0-beta9
```
And visit your devlake from the node port (32001 by default).
@@ -50,7 +50,7 @@ grafana by url `http://YOUR-NODE-IP:30091`
```shell
helm repo update
-helm upgrade --install devlake devlake/devlake --version=0.17.0-beta8
+helm upgrade --install devlake devlake/devlake --version=0.17.0-beta9
```
### Uninstall
@@ -191,10 +191,10 @@ Some useful parameters for the chart, you could also
check them in values.yaml
1. Can I use a managed Cloud database service instead of running database in
docker?
- Yes, it just set useExternal value to true while you deploy devlake with
helm chart. Below we'll use MySQL on AWS RDS as an example.
+Yes, it just set useExternal value to true while you deploy devlake with helm
chart. Below we'll use MySQL on AWS RDS as an example.
- a. (Optional) Create a MySQL instance on AWS RDS following this
[doc](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_GettingStarted.CreatingConnecting.MySQL.html),
skip this step if you'd like to use an existing instance
- b. Proviede below values while install from helm:
+a. (Optional) Create a MySQL instance on AWS RDS following this
[doc](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_GettingStarted.CreatingConnecting.MySQL.html),
skip this step if you'd like to use an existing instance
+b. Proviede below values while install from helm:
- `mysql.useExternal`: this should be `true`
- `mysql.externalServer`: use your RDS instance's IP address or domain
name.
@@ -203,46 +203,48 @@ Some useful parameters for the chart, you could also
check them in values.yaml
- `mysql.password`: use your `password` for access RDS instance's DB
- `mysql.database`: use your RDS instance's DB name, you may need to
create a database first with `CREATE DATABASE <DB name>;`
- Here is the example:
+Here is the example:
- ```
- helm repo add devlake https://apache.github.io/incubator-devlake-helm-chart
- helm repo update
- helm install devlake devlake/devlake \
- --set mysql.useExternal=true \
- --set mysql.externalServer=db.example.com \
- --set mysql.externalPort=3306 \
- --set mysql.username=admin \
- --set mysql.password=password_4_admin \
- --set mysql.database=devlake
- ```
+```
+helm repo add devlake https://apache.github.io/incubator-devlake-helm-chart
+helm repo update
+helm install devlake devlake/devlake \
+ --set mysql.useExternal=true \
+ --set mysql.externalServer=db.example.com \
+ --set mysql.externalPort=3306 \
+ --set mysql.username=admin \
+ --set mysql.password=password_4_admin \
+ --set mysql.database=devlake
+```
2. Can I use a secret to store the database connection details?
- Yes, to do so, you need to have a secret in your Kubernetes Cluster that
contains the following values:
+Yes, to do so, you need to have a secret in your Kubernetes Cluster that
contains the following values:
- - `MYSQL_USER`: The user to connect to your DB.
- - `MYSQL_PASSWORD`: The password to connect to your DB.
- - `MYSQL_DATABASE`: The database to connect to your DB.
- - `MYSQL_ROOT_PASSWORD`: The root password to connect to your DB.
- - `DB_URL`:
mysql://`username`:`password`@`dbserver`:`port`/`database`?charset=utf8mb4&parseTime=True
+- `MYSQL_USER`: The user to connect to your DB.
+- `MYSQL_PASSWORD`: The password to connect to your DB.
+- `MYSQL_DATABASE`: The database to connect to your DB.
+- `MYSQL_ROOT_PASSWORD`: The root password to connect to your DB.
+- `DB_URL`:
mysql://`username`:`password`@`dbserver`:`port`/`database`?charset=utf8mb4&parseTime=True
- The secret name needs to be the same as the value
`option.connectionSecretName`
+The secret name needs to be the same as the value `option.connectionSecretName`
3. Can I use an external Grafana instead of running built-in Grafana?
- Yes, the devlake helm chart supports using an external Grafana. You can set
the following values while installing from helm:
- - `grafana.useExternal`: this should be `true`
- - `grafana.externalUrl`: use your Grafana's URL, e.g.
`https://grafana.example.com`
-
- Here is the example:
- ```
- helm repo add devlake https://apache.github.io/incubator-devlake-helm-chart
- helm repo update
- helm install devlake devlake/devlake \
- --set grafana.useExternal=true \
- --set grafana.externalUrl=https://grafana.example.com
- ```
+Yes, the devlake helm chart supports using an external Grafana. You can set
the following values while installing from helm:
+
+- `grafana.useExternal`: this should be `true`
+- `grafana.externalUrl`: use your Grafana's URL, e.g.
`https://grafana.example.com`
+
+Here is the example:
+
+```
+helm repo add devlake https://apache.github.io/incubator-devlake-helm-chart
+helm repo update
+helm install devlake devlake/devlake \
+ --set grafana.useExternal=true \
+ --set grafana.externalUrl=https://grafana.example.com
+```
## Troubleshooting
diff --git a/README.md b/README.md
index bc02275..1f6e601 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@ To install the chart with release name `devlake`:
```shell
helm repo add devlake https://apache.github.io/incubator-devlake-helm-chart
helm repo update
-helm install devlake devlake/devlake --version=0.17.0-beta8
+helm install devlake devlake/devlake --version=0.17.0-beta9
```
If you are using minikube inside your mac, please use the following command to
forward the port:
@@ -51,7 +51,7 @@ grafana by url `http://YOUR-NODE-IP:30091`
```shell
helm repo update
-helm upgrade --install devlake devlake/devlake --version=0.17.0-beta8
+helm upgrade --install devlake devlake/devlake --version=0.17.0-beta9
```
## Uninstall
diff --git a/charts/devlake/Chart.yaml b/charts/devlake/Chart.yaml
index cb1e3c4..a4c260e 100644
--- a/charts/devlake/Chart.yaml
+++ b/charts/devlake/Chart.yaml
@@ -20,15 +20,15 @@ description: Apache DevLake is an open-source dev data
platform that ingests, an
home: https://devlake.apache.org/
icon: https://devlake.apache.org/img/logo.svg
sources:
- - https://github.com/apache/incubator-devlake
- - https://github.com/apache/incubator-devlake-website
+ - https://github.com/apache/incubator-devlake
+ - https://github.com/apache/incubator-devlake-website
keywords:
- - devlake
+ - devlake
type: application
# Chart version
-version: 0.17.0-beta8
+version: 0.17.0-beta9
# devlake version
-appVersion: v0.17.0-beta8
+appVersion: v0.17.0-beta9
diff --git a/charts/devlake/values.yaml b/charts/devlake/values.yaml
index 8267da9..20700a7 100644
--- a/charts/devlake/values.yaml
+++ b/charts/devlake/values.yaml
@@ -17,7 +17,7 @@
# replica count for dev
replicaCount: 1
-imageTag: v0.17.0-beta8
+imageTag: v0.17.0-beta9
mysql:
# if use external mysql server, please set true