Updated yml format in 2.2.x branch (#3100)

Updated yml format in 2.2.x branch
pull/3102/head
YuLuo 2 years ago committed by GitHub
parent 5f923b41e9
commit 2530f0400a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,8 +10,8 @@ spring:
discovery:
server-addr: 127.0.0.1:8848
fail-fast: true
username: nacos
password: nacos
username: 'nacos'
password: 'nacos'
governance:
auth:
enabled: ${ISTIO_AUTH_ENABLE:false}

@ -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:

@ -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

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: integrated-account
image: "{{ .Values.image.repository }}integrated-account"
image: '{{ .Values.image.repository }}integrated-account'
imagePullPolicy: Always
ports:
- name: http-port

@ -31,7 +31,7 @@ spec:
spec:
containers:
- name: integrated-frontend
image: "{{ .Values.image.repository }}integrated-frontend"
image: '{{ .Values.image.repository }}integrated-frontend'
imagePullPolicy: Always
ports:
- name: http-port

@ -31,7 +31,7 @@ spec:
spec:
containers:
- name: integrated-gateway
image: "{{ .Values.image.repository }}integrated-gateway"
image: '{{ .Values.image.repository }}integrated-gateway'
imagePullPolicy: Always
ports:
- name: http-port

@ -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

@ -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

@ -44,11 +44,11 @@ kind: ConfigMap
metadata:
name: nacos-cm
data:
mysql.host: "nacos-mysql"
mysql.db.name: "nacos_config"
mysql.port: "3307"
mysql.user: "nacos"
mysql.password: "nacos"
mysql.host: 'nacos-mysql'
mysql.db.name: 'nacos_config'
mysql.port: '3307'
mysql.user: 'nacos'
mysql.password: 'nacos'
---
apiVersion: apps/v1
kind: Deployment
@ -61,7 +61,7 @@ spec:
labels:
app: nacos-standalone
annotations:
pod.alpha.kubernetes.io/initialized: "true"
pod.alpha.kubernetes.io/initialized: 'true'
spec:
affinity:
podAntiAffinity:
@ -72,7 +72,7 @@ spec:
operator: In
values:
- nacos-standalone
topologyKey: "kubernetes.io/hostname"
topologyKey: 'kubernetes.io/hostname'
containers:
- name: local-nacos
imagePullPolicy: Always
@ -115,11 +115,11 @@ spec:
name: nacos-cm
key: mysql.password
- name: MODE
value: "standalone"
value: 'standalone'
- name: NACOS_SERVER_PORT
value: "8848"
value: '8848'
- name: PREFER_HOST_MODE
value: "hostname"
value: 'hostname'
selector:
matchLabels:
app: nacos-standalone

@ -3,8 +3,8 @@ spring:
name: client
cloud:
nacos:
username: nacos
password: nacos
username: 'nacos'
password: 'nacos'
discovery:
server-addr: localhost:8848
config:

@ -6,8 +6,8 @@ spring:
name: configserver
cloud:
nacos:
username: nacos
password: nacos
username: 'nacos'
password: 'nacos'
discovery:
server-addr: localhost:8848
config:

@ -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
@ -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'

@ -15,7 +15,7 @@ spring:
application:
name: business-service
datasource:
name: "businessDataSource"
name: 'businessDataSource'
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://xxx:3306/seata?useSSL=false&serverTimezone=UTC
@ -36,15 +36,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'
service:
vgroup-mapping:

@ -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
@ -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'

@ -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
@ -36,8 +36,8 @@ seata:
type: nacos
nacos:
server-addr: 127.0.0.1:8848
username: nacos
password: nacos
username: 'nacos'
password: 'nacos'
##if use MSE Nacos with auth, mutex with username/password attribute
#access-key: ""
#secret-key: ""

@ -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
@ -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'

@ -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

Loading…
Cancel
Save