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

xincheng pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new a9decc911f [Bug][Helm] fix image.registry (#15860)
a9decc911f is described below

commit a9decc911f8141b7dbc1de8b4f0599e0e170a1ff
Author: Gallardot <[email protected]>
AuthorDate: Fri Apr 19 16:52:17 2024 +0800

    [Bug][Helm] fix image.registry (#15860)
    
    Signed-off-by: Gallardot <[email protected]>
    Co-authored-by: fuchanghai <[email protected]>
    Co-authored-by: Rick Cheng <[email protected]>
---
 deploy/kubernetes/dolphinscheduler/README.md   |  2 +-
 deploy/kubernetes/dolphinscheduler/values.yaml |  2 +-
 docs/docs/en/guide/installation/kubernetes.md  | 19 +++++++++----------
 docs/docs/zh/guide/installation/kubernetes.md  | 19 +++++++++----------
 4 files changed, 20 insertions(+), 22 deletions(-)

diff --git a/deploy/kubernetes/dolphinscheduler/README.md 
b/deploy/kubernetes/dolphinscheduler/README.md
index 33633f3b2e..ba533b6e47 100644
--- a/deploy/kubernetes/dolphinscheduler/README.md
+++ b/deploy/kubernetes/dolphinscheduler/README.md
@@ -174,7 +174,7 @@ Please refer to the [Quick Start in 
Kubernetes](../../../docs/docs/en/guide/inst
 | image.master | string | `"dolphinscheduler-master"` | master image |
 | image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. Options: 
Always, Never, IfNotPresent |
 | image.pullSecret | string | `""` | Specify a imagePullSecrets |
-| image.registry | string | `"apache/dolphinscheduler"` | Docker image 
repository for the DolphinScheduler |
+| image.registry | string | `"apache"` | Docker image repository for the 
DolphinScheduler |
 | image.tag | string | `"latest"` | Docker image version for the 
DolphinScheduler |
 | image.tools | string | `"dolphinscheduler-tools"` | tools image |
 | image.worker | string | `"dolphinscheduler-worker"` | worker image |
diff --git a/deploy/kubernetes/dolphinscheduler/values.yaml 
b/deploy/kubernetes/dolphinscheduler/values.yaml
index 98c2f70db0..7a04ff5604 100644
--- a/deploy/kubernetes/dolphinscheduler/values.yaml
+++ b/deploy/kubernetes/dolphinscheduler/values.yaml
@@ -31,7 +31,7 @@ initImage:
 
 image:
   # -- Docker image repository for the DolphinScheduler
-  registry: apache/dolphinscheduler
+  registry: apache
   # -- Docker image version for the DolphinScheduler
   tag: latest
   # -- Image pull policy. Options: Always, Never, IfNotPresent
diff --git a/docs/docs/en/guide/installation/kubernetes.md 
b/docs/docs/en/guide/installation/kubernetes.md
index 8e58fdeccd..a6587a5855 100644
--- a/docs/docs/en/guide/installation/kubernetes.md
+++ b/docs/docs/en/guide/installation/kubernetes.md
@@ -14,16 +14,15 @@ If you are a new hand and want to experience 
DolphinScheduler functions, we reco
 
 ## Install DolphinScheduler
 
-Please download the source code package 
`apache-dolphinscheduler-<version>-src.tar.gz`, download address: [download 
address](https://dolphinscheduler.apache.org/en-us/download)
-
-To publish the release name `dolphinscheduler` version, please execute the 
following commands:
-
-```
-$ tar -zxvf apache-dolphinscheduler-<version>-src.tar.gz
-$ cd apache-dolphinscheduler-<version>-src/deploy/kubernetes/dolphinscheduler
-$ helm repo add bitnami https://charts.bitnami.com/bitnami
-$ helm dependency update .
-$ helm install dolphinscheduler . --set image.tag=<version>
+```bash
+# Choose the corresponding version yourself
+export VERSION=3.2.1
+helm pull oci://registry-1.docker.io/apache/dolphinscheduler-helm --version 
${VERSION}
+tar -xvf dolphinscheduler-helm-${VERSION}.tgz
+cd dolphinscheduler-helm
+helm repo add bitnami https://charts.bitnami.com/bitnami
+helm dependency update .
+helm install dolphinscheduler .
 ```
 
 To publish the release name `dolphinscheduler` version to `test` namespace:
diff --git a/docs/docs/zh/guide/installation/kubernetes.md 
b/docs/docs/zh/guide/installation/kubernetes.md
index 20cd8907e8..f4b95de27b 100644
--- a/docs/docs/zh/guide/installation/kubernetes.md
+++ b/docs/docs/zh/guide/installation/kubernetes.md
@@ -14,16 +14,15 @@ Kubernetes 部署目的是在 Kubernetes 集群中部署 DolphinScheduler 服务
 
 ## 安装 dolphinscheduler
 
-请下载源码包 apache-dolphinscheduler-<version>-src.tar.gz,下载地址: 
[下载](https://dolphinscheduler.apache.org/zh-cn/download)
-
-发布一个名为 `dolphinscheduler` 的版本(release),请执行以下命令:
-
-```
-$ tar -zxvf apache-dolphinscheduler-<version>-src.tar.gz
-$ cd apache-dolphinscheduler-<version>-src/deploy/kubernetes/dolphinscheduler
-$ helm repo add bitnami https://charts.bitnami.com/bitnami
-$ helm dependency update .
-$ helm install dolphinscheduler . --set image.tag=<version>
+```bash
+# 自行选择对应的版本
+export VERSION=3.2.1
+helm pull oci://registry-1.docker.io/apache/dolphinscheduler-helm --version 
${VERSION}
+tar -xvf dolphinscheduler-helm-${VERSION}.tgz
+cd dolphinscheduler-helm
+helm repo add bitnami https://charts.bitnami.com/bitnami
+helm dependency update .
+helm install dolphinscheduler .
 ```
 
 将名为 `dolphinscheduler` 的版本(release) 发布到 `test` 的命名空间中:

Reply via email to