This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 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 a6550bc4a2 Set init job as a helm hook so that DS can be upgraded
using `helm upgrade`, also remove legacy `registryPluginDir˚` (#13547)
a6550bc4a2 is described below
commit a6550bc4a2de3dd9eaa313081a1fac31ba08f2f0
Author: kezhenxu94 <[email protected]>
AuthorDate: Sat Feb 11 16:35:57 2023 +0800
Set init job as a helm hook so that DS can be upgraded using `helm
upgrade`, also remove legacy `registryPluginDir˚` (#13547)
---
.../templates/job-dolphinscheduler-schema-initializer.yaml | 3 +++
deploy/kubernetes/dolphinscheduler/values.yaml | 1 -
docs/docs/en/guide/installation/kubernetes.md | 1 -
docs/docs/zh/guide/installation/kubernetes.md | 1 -
4 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/deploy/kubernetes/dolphinscheduler/templates/job-dolphinscheduler-schema-initializer.yaml
b/deploy/kubernetes/dolphinscheduler/templates/job-dolphinscheduler-schema-initializer.yaml
index 204223b869..6a7644d2ce 100644
---
a/deploy/kubernetes/dolphinscheduler/templates/job-dolphinscheduler-schema-initializer.yaml
+++
b/deploy/kubernetes/dolphinscheduler/templates/job-dolphinscheduler-schema-initializer.yaml
@@ -20,6 +20,9 @@ metadata:
name: {{ include "dolphinscheduler.fullname" . }}-db-init-job
labels:
{{- include "dolphinscheduler.common.labels" . | nindent 4 }}
+ annotations:
+ "helm.sh/hook": post-install
+ "helm.sh/hook-weight": "1"
spec:
template:
metadata:
diff --git a/deploy/kubernetes/dolphinscheduler/values.yaml
b/deploy/kubernetes/dolphinscheduler/values.yaml
index 4b212f90c0..6ce0e378fc 100644
--- a/deploy/kubernetes/dolphinscheduler/values.yaml
+++ b/deploy/kubernetes/dolphinscheduler/values.yaml
@@ -91,7 +91,6 @@ zookeeper:
## If exists external registry and set zookeeper.enable value to false, the
external registry will be used.
externalRegistry:
- registryPluginDir: "lib/plugin/registry"
registryPluginName: "zookeeper"
registryServers: "127.0.0.1:2181"
diff --git a/docs/docs/en/guide/installation/kubernetes.md
b/docs/docs/en/guide/installation/kubernetes.md
index be32e63c8e..ac6c4faf08 100644
--- a/docs/docs/en/guide/installation/kubernetes.md
+++ b/docs/docs/en/guide/installation/kubernetes.md
@@ -548,7 +548,6 @@ common:
| `zookeeper.persistence.enabled` | Set
`zookeeper.persistence.enabled` to `true` to mount a new volume for internal
ZooKeeper | `false`
|
| `zookeeper.persistence.size` |
`PersistentVolumeClaim` size
| `20Gi`
|
| `zookeeper.persistence.storageClass` |
ZooKeeper data persistent volume storage class. If set to "-",
storageClassName: "", which disables dynamic provisioning | `-`
|
-| `externalRegistry.registryPluginDir` | If
exists external registry and set `zookeeper.enable` to `false`, specify the
external registry plugin directory | `lib/plugin/registry`
|
| `externalRegistry.registryPluginName` | If
exists external registry and set `zookeeper.enable` to `false`, specify the
external registry plugin name | `zookeeper`
|
| `externalRegistry.registryServers` | If
exists external registry and set `zookeeper.enable` to `false`, specify the
external registry servers | `127.0.0.1:2181`
|
| |
|
|
diff --git a/docs/docs/zh/guide/installation/kubernetes.md
b/docs/docs/zh/guide/installation/kubernetes.md
index 8416f1e0ee..e01d4fde0a 100644
--- a/docs/docs/zh/guide/installation/kubernetes.md
+++ b/docs/docs/zh/guide/installation/kubernetes.md
@@ -546,7 +546,6 @@ common:
| `zookeeper.persistence.enabled` | Set
`zookeeper.persistence.enabled` to `true` to mount a new volume for internal
Zookeeper | `false`
|
| `zookeeper.persistence.size` |
`PersistentVolumeClaim` size
| `20Gi`
|
| `zookeeper.persistence.storageClass` |
Zookeeper data persistent volume storage class. If set to "-",
storageClassName: "", which disables dynamic provisioning | `-`
|
-| `externalRegistry.registryPluginDir` | If
exists external registry and set `zookeeper.enable` to `false`, specify the
external registry plugin directory | `lib/plugin/registry`
|
| `externalRegistry.registryPluginName` | If
exists external registry and set `zookeeper.enable` to `false`, specify the
external registry plugin name | `zookeeper`
|
| `externalRegistry.registryServers` | If
exists external registry and set `zookeeper.enable` to `false`, specify the
external registry servers | `127.0.0.1:2181`
|
| |
|
|