Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated yml format in 2022.x branch #3098

Merged
merged 1 commit into from
Jan 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
spring:
datasource:
driver-class-name: com.mysql.jdbc.Driver
username: root
password: 123456
username: 'root'
password: '123456'
main:
allow-bean-definition-overriding: true
mybatis:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: "1.0"
appVersion: '1.0'
description: Spring Cloud Alibaba Best Practice Example
name: integrated-example
version: 1.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
type: ClusterIP
ports:
- port: 3306
name: server
name: 'server'
selector:
app: integrated-mysql
---
Expand All @@ -43,11 +43,11 @@ spec:
spec:
containers:
- name: integrated-mysql
image: "{{ .Values.image.repository }}integrated-mysql"
image: '{{ .Values.image.repository }}integrated-mysql'
imagePullPolicy: Always
env:
- name: MYSQL_ROOT_PASSWORD
value: "123456"
value: '123456'
ports:
- containerPort: 3306
protocol: TCP
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ spec:
- containerPort: 3306
env:
- name: MYSQL_ROOT_PASSWORD
value: "root"
value: 'root'
- name: MYSQL_DATABASE
value: "nacos_config"
value: 'nacos_config'
- name: MYSQL_USER
value: "nacos"
value: 'nacos'
- name: MYSQL_PASSWORD
value: "nacos"
value: 'nacos'
---
apiVersion: v1
kind: Service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
imagePullPolicy: IfNotPresent
env:
- name: SEATA_PORT
value: "8091"
value: '8091'
- name: STORE_MODE
value: file
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: integrated-storage
image: "{{ .Values.image.repository }}integrated-storage"
image: '{{ .Values.image.repository }}integrated-storage'
imagePullPolicy: Always
ports:
- name: http-port
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ spring:
name: configserver
cloud:
nacos:
username: nacos
password: nacos
username: 'nacos'
password: 'nacos'
discovery:
server-addr: 127.0.0.1:8848
config:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ base:
hostname: 127.0.0.1 #your mysql server ip address
dbname: seata #your database name for test
port: 3306 #your mysql server listening port
username: root #your mysql server username
password: root #your mysql server password
username: 'root' #your mysql server username
password: 'root' #your mysql server password

server:
port: 18084
Expand Down Expand Up @@ -42,12 +42,12 @@ seata:
nacos:
serverAddr: 127.0.0.1:8848
dataId: "seata.properties"
username: "nacos"
password: "nacos"
username: 'nacos'
password: 'nacos'
registry:
type: nacos
nacos:
application: seata-server
server-addr: 127.0.0.1:8848
username: "nacos"
password: "nacos"
username: 'nacos'
password: 'nacos'
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ seata:
nacos:
serverAddr: 127.0.0.1:8848
dataId: "seata.properties"
username: "nacos"
password: "nacos"
username: 'nacos'
password: 'nacos'
registry:
type: nacos
nacos:
application: seata-server
server-addr: 127.0.0.1:8848
username: "nacos"
password: "nacos"
username: 'nacos'
password: 'nacos'

feign:
client:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ base:
hostname: 127.0.0.1 #your mysql server ip address
dbname: seata #your database name for test
port: 3306 #your mysql server listening port
username: root #your mysql server username
password: root #your mysql server password
username: 'root' #your mysql server username
password: 'root' #your mysql server password
server:
port: 18083

Expand Down Expand Up @@ -39,12 +39,12 @@ seata:
nacos:
serverAddr: 127.0.0.1:8848
dataId: "seata.properties"
username: "nacos"
password: "nacos"
username: 'nacos'
password: 'nacos'
registry:
type: nacos
nacos:
application: seata-server
server-addr: 127.0.0.1:8848
username: "nacos"
password: "nacos"
username: 'nacos'
password: 'nacos'
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ base:
hostname: 127.0.0.1 #your mysql server ip address
dbname: seata #your database name for test
port: 3306 #your mysql server listening port
username: root #your mysql server username
password: root #your mysql server password
username: 'root' #your mysql server username
password: 'root' #your mysql server password

server:
port: 7091
Expand All @@ -27,8 +27,8 @@ logging:

console:
user:
username: seata
password: seata
username: 'seata'
password: 'seata'

seata:
config:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ base:
hostname: 127.0.0.1 #your mysql server ip address
dbname: seata #your database name for test
port: 3306 #your mysql server listening port
username: root #your mysql server username
password: root #your mysql server password
username: 'root' #your mysql server username
password: 'root' #your mysql server password

server:
port: 18082
Expand Down Expand Up @@ -40,13 +40,13 @@ seata:
nacos:
serverAddr: 127.0.0.1:8848
dataId: "seata.properties"
username: "nacos"
password: "nacos"
username: 'nacos'
password: 'nacos'
registry:
type: nacos
nacos:
application: seata-server
server-addr: 127.0.0.1:8848
username: "nacos"
password: "nacos"
username: 'nacos'
password: 'nacos'

Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ server:
spring:
cloud:
nacos:
username: nacos
password: nacos
username: 'nacos'
password: 'nacos'
discovery:
server-addr: 127.0.0.1:8848
group: test
Expand Down