Skip to content

Commit

Permalink
Merge request #58 from stardb:dev_jieker on 2023-06-14 11:09:48
Browse files Browse the repository at this point in the history
adjust charts.
  • Loading branch information
xiaoyu137 committed Jun 14, 2023
2 parents bf9994b + 68fe442 commit 875c05b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 30 deletions.
3 changes: 1 addition & 2 deletions chart/stardb-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@
apiVersion: v2
appVersion: 5.3.2
name: stardb-proxy
version: 0.16.0

version: 5.3.2-3
2 changes: 1 addition & 1 deletion chart/stardb-proxy/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ metadata:
name: {{ .Release.Name }}-svc
namespace: {{ .Values.compute.namespace }}
spec:
type: ClusterIP
ports:
- name: tcp
targetPort: {{.Values.compute.startPort}}
Expand All @@ -41,4 +42,3 @@ spec:
app.kubernetes.io/cluster-name: {{ .Values.compute.clusterName }}
app.kubernetes.io/instance-type: compute
app.kubernetes.io/app-service-code: stardb-proxy
type: ClusterIP
54 changes: 27 additions & 27 deletions chart/stardb-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ governance:
cpu: 2

compute:
clusterName: wzm
namespace: wzm-test
clusterName: stardb
namespace: stardb-proxy
image:
repository: "jvesselv2-dockerhub-test.jdcloud.com/stardb/stardb"
hub: "jvesselv2-dockerhub-test.jdcloud.com"
repository: "hub.jdcloud.com/stardb-proxy/stardb-proxy"
hub: "hub.jdcloud.com"
pullPolicy: IfNotPresent
tag: "5.3.2"
tag: "5.3.2-3"
imagePullSecrets:
name: jvessel-secret
name: stardb-secret
user:
passwd:
resources:
Expand All @@ -55,30 +55,30 @@ compute:
service:
type: LoadBalancer
port: 3307
# mysqlConnector:
# version: ""
startPort: 3307
agent:
enabled: true
sgm: true
# terminationGracePeriodSeconds: 30
serverConfig:
# authority:
# privilege:
# type: ALL_PERMITTED
# users:
# - password: root
# user: root@%
# mode:
# repository:
# props:
# maxRetries: 3
# namespace: ""
# operationTimeoutMilliseconds: 5000
# retryIntervalMilliseconds: 500
# server-lists: "{{ printf \"%s-zookeeper.%s:2181\" .Release.Name .Release.Namespace }}"
# timeToLiveSeconds: 600
# type: ZooKeeper
# type: Cluster
# props:
# proxy-frontend-database-protocol-type: MySQL
mode:
type: Cluster
repository:
type: ZooKeeper
props:
namespace: ss_51
server-lists: 127.0.0.1:2181
retryIntervalMilliseconds: 500
timeToLiveSeconds: 60
maxRetries: 3
operationTimeoutMilliseconds: 500
authority:
users:
- user: root@%
password: root
- user: sharding
password: sharding
privilege:
type: StarDB:PERMITTED
props:
proxy-frontend-database-protocol-type: openGauss

0 comments on commit 875c05b

Please sign in to comment.