You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by lu...@apache.org on 2022/04/01 11:45:25 UTC

[shardingsphere] branch master updated: Update names in shardingsphere-charts (#16550)

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

lujingshang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 52231f7  Update names in shardingsphere-charts (#16550)
52231f7 is described below

commit 52231f7d1fe9060dca4fc083ca27d99d1b5e7329
Author: 吴伟杰 <wu...@apache.org>
AuthorDate: Fri Apr 1 19:44:11 2022 +0800

    Update names in shardingsphere-charts (#16550)
---
 shardingsphere-charts/shardingsphere-proxy/Chart.yaml        |  2 +-
 .../shardingsphere-proxy/templates/configmap.yaml            |  2 +-
 .../shardingsphere-proxy/templates/deployment.yaml           | 12 ++++++------
 .../shardingsphere-proxy/templates/service.yaml              |  6 +++---
 4 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/shardingsphere-charts/shardingsphere-proxy/Chart.yaml b/shardingsphere-charts/shardingsphere-proxy/Chart.yaml
index a21f260..cdf1fac 100644
--- a/shardingsphere-charts/shardingsphere-proxy/Chart.yaml
+++ b/shardingsphere-charts/shardingsphere-proxy/Chart.yaml
@@ -16,7 +16,7 @@
 #
 apiVersion: v2
 appVersion: 5.1.1
-name: sharding-proxy
+name: shardingsphere-proxy
 version: 1.0.0
 maintainers:
   - name: windghoul
diff --git a/shardingsphere-charts/shardingsphere-proxy/templates/configmap.yaml b/shardingsphere-charts/shardingsphere-proxy/templates/configmap.yaml
index b0fb642..2f14fd9 100644
--- a/shardingsphere-charts/shardingsphere-proxy/templates/configmap.yaml
+++ b/shardingsphere-charts/shardingsphere-proxy/templates/configmap.yaml
@@ -17,6 +17,6 @@
 apiVersion: v1
 kind: ConfigMap
 metadata:
-  name: sharding-proxy
+  name: shardingsphere-proxy
 data:
 {{ (.Files.Glob "conf/*").AsConfig |replace "__namespace__" .Release.Namespace | indent 2 }}
diff --git a/shardingsphere-charts/shardingsphere-proxy/templates/deployment.yaml b/shardingsphere-charts/shardingsphere-proxy/templates/deployment.yaml
index 61dcf68..c905404 100644
--- a/shardingsphere-charts/shardingsphere-proxy/templates/deployment.yaml
+++ b/shardingsphere-charts/shardingsphere-proxy/templates/deployment.yaml
@@ -18,13 +18,13 @@ apiVersion: apps/v1
 kind: Deployment
 metadata:
   labels:
-    app: sharding-proxy
-  name: sharding-proxy
+    app: shardingsphere-proxy
+  name: shardingsphere-proxy
 spec:
   replicas: {{ .Values.replicas | default 1 }}
   selector:
     matchLabels:
-      app: sharding-proxy
+      app: shardingsphere-proxy
   strategy:
     rollingUpdate:
       maxSurge: 25%
@@ -33,7 +33,7 @@ spec:
   template:
     metadata:
       labels:
-        app: sharding-proxy
+        app: shardingsphere-proxy
     spec:
       {{- if .Values.mysqlconnector.enabled }}
       initContainers:
@@ -51,7 +51,7 @@ spec:
       containers:
         - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
           imagePullPolicy: {{.Values.image.pullPolicy}}
-          name: sharding-proxy
+          name: shardingsphere-proxy
           env:
             - name: PORT
               value: "{{.Values.proxyport}}"
@@ -76,7 +76,7 @@ spec:
       volumes:
         - name: config
           configMap:
-            name: sharding-proxy
+            name: shardingsphere-proxy
         - name: mysql-connect-jar
           emptyDir: { }
 
diff --git a/shardingsphere-charts/shardingsphere-proxy/templates/service.yaml b/shardingsphere-charts/shardingsphere-proxy/templates/service.yaml
index 6127f95..71e9c2d 100644
--- a/shardingsphere-charts/shardingsphere-proxy/templates/service.yaml
+++ b/shardingsphere-charts/shardingsphere-proxy/templates/service.yaml
@@ -18,13 +18,13 @@ apiVersion: v1
 kind: Service
 metadata:
   labels:
-    app: sharding-proxy
-  name: sharding-proxy
+    app: shardingsphere-proxy
+  name: shardingsphere-proxy
 spec:
   ports:
     - name: tcp
       port: {{.Values.proxyport}}
       protocol: TCP
   selector:
-    app: sharding-proxy
+    app: shardingsphere-proxy
   type: {{.Values.service.type}}