diff --git a/spring-cloud-alibaba-examples/governance-example/label-routing-example/istio-consumer-example/src/main/resources/application.yml b/spring-cloud-alibaba-examples/governance-example/label-routing-example/istio-consumer-example/src/main/resources/application.yml index fab651433..a4cf45ee6 100644 --- a/spring-cloud-alibaba-examples/governance-example/label-routing-example/istio-consumer-example/src/main/resources/application.yml +++ b/spring-cloud-alibaba-examples/governance-example/label-routing-example/istio-consumer-example/src/main/resources/application.yml @@ -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} diff --git a/spring-cloud-alibaba-examples/integrated-example/config/datasource-config.yaml b/spring-cloud-alibaba-examples/integrated-example/config/datasource-config.yaml index a5e4b6c4b..e3cc76339 100644 --- a/spring-cloud-alibaba-examples/integrated-example/config/datasource-config.yaml +++ b/spring-cloud-alibaba-examples/integrated-example/config/datasource-config.yaml @@ -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: diff --git a/spring-cloud-alibaba-examples/integrated-example/helm-chart/Chart.yaml b/spring-cloud-alibaba-examples/integrated-example/helm-chart/Chart.yaml index 29591f114..f29851558 100644 --- a/spring-cloud-alibaba-examples/integrated-example/helm-chart/Chart.yaml +++ b/spring-cloud-alibaba-examples/integrated-example/helm-chart/Chart.yaml @@ -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 \ No newline at end of file diff --git a/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-account.yaml b/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-account.yaml index e7196a319..e8777b112 100644 --- a/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-account.yaml +++ b/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-account.yaml @@ -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 diff --git a/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-frontend.yaml b/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-frontend.yaml index 82f8f5d2f..efcf8a9ce 100644 --- a/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-frontend.yaml +++ b/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-frontend.yaml @@ -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 diff --git a/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-gateway.yaml b/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-gateway.yaml index cc054f30d..01b278d4b 100644 --- a/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-gateway.yaml +++ b/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-gateway.yaml @@ -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 diff --git a/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-mysql.yaml b/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-mysql.yaml index 5251b48b5..efe531a5c 100644 --- a/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-mysql.yaml +++ b/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-mysql.yaml @@ -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 \ No newline at end of file diff --git a/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-nacos-mysql.yaml b/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-nacos-mysql.yaml index c15950d5f..dfa410d9c 100644 --- a/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-nacos-mysql.yaml +++ b/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-nacos-mysql.yaml @@ -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 diff --git a/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-nacos-stand.yaml b/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-nacos-stand.yaml index 24e32ef74..c9c0fe130 100644 --- a/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-nacos-stand.yaml +++ b/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-nacos-stand.yaml @@ -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 diff --git a/spring-cloud-alibaba-examples/nacos-example/nacos-discovery-example/nacos-discovery-spring-cloud-config-client-example/src/main/resources/bootstrap.yml b/spring-cloud-alibaba-examples/nacos-example/nacos-discovery-example/nacos-discovery-spring-cloud-config-client-example/src/main/resources/bootstrap.yml index 9abeb329b..b0a862353 100644 --- a/spring-cloud-alibaba-examples/nacos-example/nacos-discovery-example/nacos-discovery-spring-cloud-config-client-example/src/main/resources/bootstrap.yml +++ b/spring-cloud-alibaba-examples/nacos-example/nacos-discovery-example/nacos-discovery-spring-cloud-config-client-example/src/main/resources/bootstrap.yml @@ -3,8 +3,8 @@ spring: name: client cloud: nacos: - username: nacos - password: nacos + username: 'nacos' + password: 'nacos' discovery: server-addr: localhost:8848 config: diff --git a/spring-cloud-alibaba-examples/nacos-example/nacos-discovery-example/nacos-discovery-spring-cloud-config-server-example/src/main/resources/application.yml b/spring-cloud-alibaba-examples/nacos-example/nacos-discovery-example/nacos-discovery-spring-cloud-config-server-example/src/main/resources/application.yml index cca1b4465..c710642fb 100644 --- a/spring-cloud-alibaba-examples/nacos-example/nacos-discovery-example/nacos-discovery-spring-cloud-config-server-example/src/main/resources/application.yml +++ b/spring-cloud-alibaba-examples/nacos-example/nacos-discovery-example/nacos-discovery-spring-cloud-config-server-example/src/main/resources/application.yml @@ -6,8 +6,8 @@ spring: name: configserver cloud: nacos: - username: nacos - password: nacos + username: 'nacos' + password: 'nacos' discovery: server-addr: localhost:8848 config: diff --git a/spring-cloud-alibaba-examples/seata-example/account-service/src/main/resources/application.yml b/spring-cloud-alibaba-examples/seata-example/account-service/src/main/resources/application.yml index 195b96b2f..605121197 100644 --- a/spring-cloud-alibaba-examples/seata-example/account-service/src/main/resources/application.yml +++ b/spring-cloud-alibaba-examples/seata-example/account-service/src/main/resources/application.yml @@ -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' diff --git a/spring-cloud-alibaba-examples/seata-example/business-service/src/main/resources/application.yml b/spring-cloud-alibaba-examples/seata-example/business-service/src/main/resources/application.yml index e360bb340..e93a42a13 100644 --- a/spring-cloud-alibaba-examples/seata-example/business-service/src/main/resources/application.yml +++ b/spring-cloud-alibaba-examples/seata-example/business-service/src/main/resources/application.yml @@ -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: diff --git a/spring-cloud-alibaba-examples/seata-example/order-service/src/main/resources/application.yml b/spring-cloud-alibaba-examples/seata-example/order-service/src/main/resources/application.yml index bf948818d..49683f33a 100644 --- a/spring-cloud-alibaba-examples/seata-example/order-service/src/main/resources/application.yml +++ b/spring-cloud-alibaba-examples/seata-example/order-service/src/main/resources/application.yml @@ -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' diff --git a/spring-cloud-alibaba-examples/seata-example/seata-server/src/main/resources/application.yml b/spring-cloud-alibaba-examples/seata-example/seata-server/src/main/resources/application.yml index 0cf028df8..9c2bc613d 100644 --- a/spring-cloud-alibaba-examples/seata-example/seata-server/src/main/resources/application.yml +++ b/spring-cloud-alibaba-examples/seata-example/seata-server/src/main/resources/application.yml @@ -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: "" diff --git a/spring-cloud-alibaba-examples/seata-example/storage-service/src/main/resources/application.yml b/spring-cloud-alibaba-examples/seata-example/storage-service/src/main/resources/application.yml index 8df1abca6..3d4d94e64 100644 --- a/spring-cloud-alibaba-examples/seata-example/storage-service/src/main/resources/application.yml +++ b/spring-cloud-alibaba-examples/seata-example/storage-service/src/main/resources/application.yml @@ -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' diff --git a/spring-cloud-alibaba-examples/spring-cloud-alibaba-sidecar-examples/spring-cloud-alibaba-sidecar-nacos-example/src/main/resources/application.yml b/spring-cloud-alibaba-examples/spring-cloud-alibaba-sidecar-examples/spring-cloud-alibaba-sidecar-nacos-example/src/main/resources/application.yml index 22642a71c..467a4efaa 100644 --- a/spring-cloud-alibaba-examples/spring-cloud-alibaba-sidecar-examples/spring-cloud-alibaba-sidecar-nacos-example/src/main/resources/application.yml +++ b/spring-cloud-alibaba-examples/spring-cloud-alibaba-sidecar-examples/spring-cloud-alibaba-sidecar-nacos-example/src/main/resources/application.yml @@ -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