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

duanzhengqiang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shardingsphere-on-cloud.git

commit 38dbcc48b70b648dc9c76cfa2d6ce6731ce1e29c
Author: Ghoul_Lee <[email protected]>
AuthorDate: Thu Jul 21 12:54:16 2022 +0800

    fix(helm): fix start command for operator (#26)
    
    * fix(doc): add an online install doc
    fix(helm): fix start command for operator
    
    Signed-off-by: windghoul <[email protected]>
    
    * feat(ci): add tag to auto build image
    
    Signed-off-by: windghoul <[email protected]>
---
 .github/workflows/build.yaml                             |  2 +-
 charts/shardingsphere-operator/templates/deployment.yaml |  4 ++--
 doc/deploy.md                                            | 15 ++++++++++++++-
 3 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index c9f8937..0497a45 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -22,7 +22,7 @@ on:
       - dev**
       - release**
       - main
-
+    tags:
 env:
   REGISTRY: ghcr.io
   IMAGE_NAME: ${{ github.repository }}
diff --git a/charts/shardingsphere-operator/templates/deployment.yaml 
b/charts/shardingsphere-operator/templates/deployment.yaml
index e85c58b..619961f 100644
--- a/charts/shardingsphere-operator/templates/deployment.yaml
+++ b/charts/shardingsphere-operator/templates/deployment.yaml
@@ -35,7 +35,7 @@ spec:
             - --health-probe-bind-address=:{{ .Values.health.healthProbePort }}
             - --leader-elect
           command:
-            - /manager
+            - /operator
           ports:
             - name: webhook
               containerPort: {{ .Values.webhook.port }}
@@ -49,7 +49,7 @@ spec:
               port: {{ .Values.health.healthProbePort }}
             initialDelaySeconds: 15
             periodSeconds: 20
-          name: manager
+          name: operator
           readinessProbe:
             httpGet:
               path: /readyz
diff --git a/doc/deploy.md b/doc/deploy.md
index bc96097..8b0569c 100644
--- a/doc/deploy.md
+++ b/doc/deploy.md
@@ -4,20 +4,33 @@
 
 Configuration [below](#shardingsphere-operator-parameters) configuration 
content, configuration file location shardingsphere-operator/values.yaml
 run
-
+### Source Code Install 
 ```shell
+cd charts
 kubectl create ns  shardingsphere-operator
 helm install shardingsphere-operator shardingsphere-operator -n 
shardingsphere-operator
 ```
+
 ## Install ShardingSphere-Proxy cluster
 
 Configuration [below](#shardingsphere-proxy-cluster-parameters) configuration 
content, configuration file location shardingsphere-cluster/values.yaml
 run 
 
+### Source Code Install
 ```shell
+cd charts
 kubectl create ns  shardingsphere
 helm install  shardingsphere-cluster shardingsphere-cluster -n shardingsphere
 ```
+
+## Online Install ShardingSphere-Proxy cluster && ShardingSphere-Operator
+```shell
+helm repo add shardingspherecloud 
https://sphereex.github.io/shardingsphere-on-cloud/
+kubectl create ns  shardingsphere-operator
+helm install shardingsphere-operator 
shardingspherecloud/shardingsphere-operator -n shardingsphere-operator
+kubectl create ns  shardingsphere
+helm install  shardingsphere-cluster 
shardingspherecloud/shardingsphere-cluster -n shardingsphere
+```
 ##  Parameters
 ### ShardingSphere Operator Parameters
 

Reply via email to