diff --git a/addons/polardbx/Chart.yaml b/addons/polardbx/Chart.yaml index d89a6fe8f..a9433e6ca 100644 --- a/addons/polardbx/Chart.yaml +++ b/addons/polardbx/Chart.yaml @@ -3,7 +3,7 @@ name: polardbx description: PolarDB-X is a cloud native distributed SQL Database designed for high concurrency, massive storage, complex querying scenarios. type: application -version: 0.8.0 +version: 0.8.1 appVersion: v2.3 keywords: @@ -21,4 +21,4 @@ maintainers: annotations: addon.kubeblocks.io/kubeblocks-version: ">=0.7.0" addon.kubeblocks.io/model: "RDBMS" - addon.kubeblocks.io/provider: "community" \ No newline at end of file + addon.kubeblocks.io/provider: "community" diff --git a/addons/polardbx/templates/clusterDefintion.yaml b/addons/polardbx/templates/clusterDefintion.yaml index 620b052e5..0cd995676 100644 --- a/addons/polardbx/templates/clusterDefintion.yaml +++ b/addons/polardbx/templates/clusterDefintion.yaml @@ -36,16 +36,10 @@ spec: customHandler: - image: "arey/mysql-client:latest" command: - - mysql - - "-h127.0.0.1" - - "-P3306" - - "-uroot" - - "-N" - - "-B" - - "-e" - - "\"select role from information_schema.alisql_cluster_local\"" - - "|" - - "xargs echo -n" + - sh + - -c + - | + mysql -h127.0.0.1 -P3306 -uroot -N -B -e "select role from information_schema.alisql_cluster_local" | xargs echo -n memberUpdateStrategy: Serial service: ports: @@ -251,16 +245,10 @@ spec: customHandler: - image: "arey/mysql-client:latest" command: - - mysql - - "-h127.0.0.1" - - "-P3306" - - "-uroot" - - "-N" - - "-B" - - "-e" - - "\"select role from information_schema.alisql_cluster_local\"" - - "|" - - "xargs echo -n" + - sh + - -c + - | + mysql -h127.0.0.1 -P3306 -uroot -N -B -e "select role from information_schema.alisql_cluster_local" | xargs echo -n memberUpdateStrategy: Serial service: ports: