瀏覽代碼

refactor: Move application.properties to configmap template - remove from values

DevOps Team 3 月之前
父節點
當前提交
179368f375
共有 30 個文件被更改,包括 254 次插入529 次删除
  1. 3 3
      charts/base/templates/configmap.yaml
  2. 0 7
      charts/shop-recycle-account/values.yaml
  3. 0 7
      charts/shop-recycle-data-statistics/values.yaml
  4. 0 7
      charts/shop-recycle-erp-pc-web/values.yaml
  5. 0 7
      charts/shop-recycle-gateway/values.yaml
  6. 0 7
      charts/shop-recycle-import-web/values.yaml
  7. 0 7
      charts/shop-recycle-login-center/values.yaml
  8. 0 7
      charts/shop-recycle-marketer-pc-web/values.yaml
  9. 0 7
      charts/shop-recycle-merchant-pc-web/values.yaml
  10. 0 7
      charts/shop-recycle-merchant-wechat-web/values.yaml
  11. 0 7
      charts/shop-recycle-merchant/values.yaml
  12. 0 7
      charts/shop-recycle-msg/values.yaml
  13. 0 7
      charts/shop-recycle-order-center/values.yaml
  14. 0 7
      charts/shop-recycle-oss-web/values.yaml
  15. 0 7
      charts/shop-recycle-out-web/values.yaml
  16. 0 7
      charts/shop-recycle-payment-web/values.yaml
  17. 0 7
      charts/shop-recycle-payment/values.yaml
  18. 0 7
      charts/shop-recycle-pis/values.yaml
  19. 0 7
      charts/shop-recycle-platform-pc-web/values.yaml
  20. 0 7
      charts/shop-recycle-platform/values.yaml
  21. 0 7
      charts/shop-recycle-sche/values.yaml
  22. 0 7
      charts/shop-recycle-store-pc-web/values.yaml
  23. 0 7
      charts/shop-recycle-store-wechat-web/values.yaml
  24. 0 7
      charts/shop-recycle-store/values.yaml
  25. 0 7
      charts/shop-recycle-wechat-web/values.yaml
  26. 0 7
      charts/shop-recycle-wechat/values.yaml
  27. 125 50
      environments/dev-values.yaml
  28. 0 50
      environments/prod-values.yaml
  29. 125 50
      environments/staging-values.yaml
  30. 1 201
      values.yaml

+ 3 - 3
charts/base/templates/configmap.yaml

@@ -6,8 +6,8 @@ metadata:
     app: {{ .Values.app.name }}
 data:
   application.properties: |
-    {{- range $key, $value := .Values.config.properties }}
-    {{ $key }}={{ $value }}
-    {{- end }}
+    spring.application.name={{ .Values.app.name }}
+    spring.protocol.name=spring
+    server.port={{ .Values.service.targetPort }}
   application.yml: |
     {{- .Values.config.yml | toYaml | nindent 4 }}

+ 0 - 7
charts/shop-recycle-account/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-account
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/accountdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8084"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-data-statistics/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-data-statistics
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/data-statisticsdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8088"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-erp-pc-web/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-erp-pc-web
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/erp-pc-webdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8103"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-gateway/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-gateway
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/gatewaydb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8098"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-import-web/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-import-web
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/import-webdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8101"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-login-center/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-login-center
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/login-centerdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8096"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-marketer-pc-web/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-marketer-pc-web
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/marketer-pc-webdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8102"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-merchant-pc-web/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-merchant-pc-web
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/merchant-pc-webdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8104"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-merchant-wechat-web/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-merchant-wechat-web
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/merchant-wechat-webdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8100"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-merchant/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-merchant
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/merchantdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8083"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-msg/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-msg
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/msgdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8085"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-order-center/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-order-center
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/order-centerdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8086"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-oss-web/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-oss-web
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/oss-webdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8097"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-out-web/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-out-web
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/out-webdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8094"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-payment-web/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-payment-web
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/payment-webdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8091"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-payment/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-payment
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/paymentdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8080"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-pis/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-pis
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/pisdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8082"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-platform-pc-web/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-platform-pc-web
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/platform-pc-webdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8093"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-platform/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-platform
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/platformdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8089"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-sche/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-sche
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/schedb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8099"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-store-pc-web/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-store-pc-web
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/store-pc-webdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8095"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-store-wechat-web/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-store-wechat-web
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/store-wechat-webdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8092"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-store/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-store
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/storedb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8081"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-wechat-web/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-wechat-web
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/wechat-webdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8090"
   yml:
     logging:
       level:

+ 0 - 7
charts/shop-recycle-wechat/values.yaml

@@ -21,13 +21,6 @@ resources:
     memory: 512Mi
 
 config:
-  properties:
-    spring.application.name: shop-recycle-wechat
-    spring.jpa.hibernate.ddl-auto: update
-    spring.datasource.url: jdbc:mysql://mysql-service:3306/wechatdb
-    spring.datasource.username: root
-    spring.datasource.password: password
-    server.port: "8087"
   yml:
     logging:
       level:

+ 125 - 50
environments/dev-values.yaml

@@ -9,12 +9,15 @@ shop-recycle-payment:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-store:
   enabled: true
   app:
@@ -22,12 +25,15 @@ shop-recycle-store:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-pis:
   enabled: true
   app:
@@ -35,12 +41,15 @@ shop-recycle-pis:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-merchant:
   enabled: true
   app:
@@ -48,12 +57,15 @@ shop-recycle-merchant:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-account:
   enabled: true
   app:
@@ -61,12 +73,15 @@ shop-recycle-account:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-msg:
   enabled: true
   app:
@@ -74,12 +89,15 @@ shop-recycle-msg:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-order-center:
   enabled: true
   app:
@@ -87,12 +105,15 @@ shop-recycle-order-center:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-wechat:
   enabled: true
   app:
@@ -100,12 +121,15 @@ shop-recycle-wechat:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-data-statistics:
   enabled: true
   app:
@@ -113,12 +137,15 @@ shop-recycle-data-statistics:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-platform:
   enabled: true
   app:
@@ -126,12 +153,15 @@ shop-recycle-platform:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-wechat-web:
   enabled: true
   app:
@@ -139,12 +169,15 @@ shop-recycle-wechat-web:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-payment-web:
   enabled: true
   app:
@@ -152,12 +185,15 @@ shop-recycle-payment-web:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-store-wechat-web:
   enabled: true
   app:
@@ -165,12 +201,15 @@ shop-recycle-store-wechat-web:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-platform-pc-web:
   enabled: true
   app:
@@ -178,12 +217,15 @@ shop-recycle-platform-pc-web:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-out-web:
   enabled: true
   app:
@@ -191,12 +233,15 @@ shop-recycle-out-web:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-store-pc-web:
   enabled: true
   app:
@@ -204,12 +249,15 @@ shop-recycle-store-pc-web:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-login-center:
   enabled: true
   app:
@@ -217,12 +265,15 @@ shop-recycle-login-center:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-oss-web:
   enabled: true
   app:
@@ -230,12 +281,15 @@ shop-recycle-oss-web:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-gateway:
   enabled: true
   app:
@@ -243,12 +297,15 @@ shop-recycle-gateway:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-sche:
   enabled: true
   app:
@@ -256,12 +313,15 @@ shop-recycle-sche:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-merchant-wechat-web:
   enabled: true
   app:
@@ -269,12 +329,15 @@ shop-recycle-merchant-wechat-web:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-import-web:
   enabled: true
   app:
@@ -282,12 +345,15 @@ shop-recycle-import-web:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-marketer-pc-web:
   enabled: true
   app:
@@ -295,12 +361,15 @@ shop-recycle-marketer-pc-web:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-erp-pc-web:
   enabled: true
   app:
@@ -308,12 +377,15 @@ shop-recycle-erp-pc-web:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 shop-recycle-merchant-pc-web:
   enabled: true
   app:
@@ -321,10 +393,13 @@ shop-recycle-merchant-pc-web:
   image:
     tag: dev-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: create-drop
     yml:
       logging:
         level:
           root: DEBUG
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics,env,configprops
 

+ 0 - 50
environments/prod-values.yaml

@@ -16,8 +16,6 @@ shop-recycle-payment:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -41,8 +39,6 @@ shop-recycle-store:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -66,8 +62,6 @@ shop-recycle-pis:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -91,8 +85,6 @@ shop-recycle-merchant:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -116,8 +108,6 @@ shop-recycle-account:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -141,8 +131,6 @@ shop-recycle-msg:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -166,8 +154,6 @@ shop-recycle-order-center:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -191,8 +177,6 @@ shop-recycle-wechat:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -216,8 +200,6 @@ shop-recycle-data-statistics:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -241,8 +223,6 @@ shop-recycle-platform:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -266,8 +246,6 @@ shop-recycle-wechat-web:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -291,8 +269,6 @@ shop-recycle-payment-web:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -316,8 +292,6 @@ shop-recycle-store-wechat-web:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -341,8 +315,6 @@ shop-recycle-platform-pc-web:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -366,8 +338,6 @@ shop-recycle-out-web:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -391,8 +361,6 @@ shop-recycle-store-pc-web:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -416,8 +384,6 @@ shop-recycle-login-center:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -441,8 +407,6 @@ shop-recycle-oss-web:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -466,8 +430,6 @@ shop-recycle-gateway:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -491,8 +453,6 @@ shop-recycle-sche:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -516,8 +476,6 @@ shop-recycle-merchant-wechat-web:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -541,8 +499,6 @@ shop-recycle-import-web:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -566,8 +522,6 @@ shop-recycle-marketer-pc-web:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -591,8 +545,6 @@ shop-recycle-erp-pc-web:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
@@ -616,8 +568,6 @@ shop-recycle-merchant-pc-web:
       cpu: 1000m
       memory: 1024Mi
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:

+ 125 - 50
environments/staging-values.yaml

@@ -9,12 +9,15 @@ shop-recycle-payment:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-store:
   enabled: true
   app:
@@ -22,12 +25,15 @@ shop-recycle-store:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-pis:
   enabled: true
   app:
@@ -35,12 +41,15 @@ shop-recycle-pis:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-merchant:
   enabled: true
   app:
@@ -48,12 +57,15 @@ shop-recycle-merchant:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-account:
   enabled: true
   app:
@@ -61,12 +73,15 @@ shop-recycle-account:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-msg:
   enabled: true
   app:
@@ -74,12 +89,15 @@ shop-recycle-msg:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-order-center:
   enabled: true
   app:
@@ -87,12 +105,15 @@ shop-recycle-order-center:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-wechat:
   enabled: true
   app:
@@ -100,12 +121,15 @@ shop-recycle-wechat:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-data-statistics:
   enabled: true
   app:
@@ -113,12 +137,15 @@ shop-recycle-data-statistics:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-platform:
   enabled: true
   app:
@@ -126,12 +153,15 @@ shop-recycle-platform:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-wechat-web:
   enabled: true
   app:
@@ -139,12 +169,15 @@ shop-recycle-wechat-web:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-payment-web:
   enabled: true
   app:
@@ -152,12 +185,15 @@ shop-recycle-payment-web:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-store-wechat-web:
   enabled: true
   app:
@@ -165,12 +201,15 @@ shop-recycle-store-wechat-web:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-platform-pc-web:
   enabled: true
   app:
@@ -178,12 +217,15 @@ shop-recycle-platform-pc-web:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-out-web:
   enabled: true
   app:
@@ -191,12 +233,15 @@ shop-recycle-out-web:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-store-pc-web:
   enabled: true
   app:
@@ -204,12 +249,15 @@ shop-recycle-store-pc-web:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-login-center:
   enabled: true
   app:
@@ -217,12 +265,15 @@ shop-recycle-login-center:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-oss-web:
   enabled: true
   app:
@@ -230,12 +281,15 @@ shop-recycle-oss-web:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-gateway:
   enabled: true
   app:
@@ -243,12 +297,15 @@ shop-recycle-gateway:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-sche:
   enabled: true
   app:
@@ -256,12 +313,15 @@ shop-recycle-sche:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-merchant-wechat-web:
   enabled: true
   app:
@@ -269,12 +329,15 @@ shop-recycle-merchant-wechat-web:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-import-web:
   enabled: true
   app:
@@ -282,12 +345,15 @@ shop-recycle-import-web:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-marketer-pc-web:
   enabled: true
   app:
@@ -295,12 +361,15 @@ shop-recycle-marketer-pc-web:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-erp-pc-web:
   enabled: true
   app:
@@ -308,12 +377,15 @@ shop-recycle-erp-pc-web:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 shop-recycle-merchant-pc-web:
   enabled: true
   app:
@@ -321,10 +393,13 @@ shop-recycle-merchant-pc-web:
   image:
     tag: staging-latest
   config:
-    properties:
-      spring.jpa.hibernate.ddl-auto: validate
     yml:
       logging:
         level:
           root: INFO
+      management:
+        endpoints:
+          web:
+            exposure:
+              include: health,info,metrics
 

+ 1 - 201
values.yaml

@@ -1,5 +1,5 @@
 # Microservice Platform - Shop Recycle Services Configuration
-# This file contains global configuration for all microservices
+# Spring Cloud format with standardized application.properties
 
 # Global configuration shared across all services
 global:
@@ -15,7 +15,6 @@ global:
 # Base chart configuration
 base:
   enabled: true
-
 # shop-recycle-payment Configuration
 shop-recycle-payment:
   enabled: true
@@ -38,13 +37,6 @@ shop-recycle-payment:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-payment
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/paymentdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8080"
     yml:
       logging:
         level:
@@ -54,7 +46,6 @@ shop-recycle-payment:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-store Configuration
 shop-recycle-store:
   enabled: true
@@ -77,13 +68,6 @@ shop-recycle-store:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-store
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/storedb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8081"
     yml:
       logging:
         level:
@@ -93,7 +77,6 @@ shop-recycle-store:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-pis Configuration
 shop-recycle-pis:
   enabled: true
@@ -116,13 +99,6 @@ shop-recycle-pis:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-pis
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/pisdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8082"
     yml:
       logging:
         level:
@@ -132,7 +108,6 @@ shop-recycle-pis:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-merchant Configuration
 shop-recycle-merchant:
   enabled: true
@@ -155,13 +130,6 @@ shop-recycle-merchant:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-merchant
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/merchantdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8083"
     yml:
       logging:
         level:
@@ -171,7 +139,6 @@ shop-recycle-merchant:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-account Configuration
 shop-recycle-account:
   enabled: true
@@ -194,13 +161,6 @@ shop-recycle-account:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-account
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/accountdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8084"
     yml:
       logging:
         level:
@@ -210,7 +170,6 @@ shop-recycle-account:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-msg Configuration
 shop-recycle-msg:
   enabled: true
@@ -233,13 +192,6 @@ shop-recycle-msg:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-msg
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/msgdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8085"
     yml:
       logging:
         level:
@@ -249,7 +201,6 @@ shop-recycle-msg:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-order-center Configuration
 shop-recycle-order-center:
   enabled: true
@@ -272,13 +223,6 @@ shop-recycle-order-center:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-order-center
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/order-centerdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8086"
     yml:
       logging:
         level:
@@ -288,7 +232,6 @@ shop-recycle-order-center:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-wechat Configuration
 shop-recycle-wechat:
   enabled: true
@@ -311,13 +254,6 @@ shop-recycle-wechat:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-wechat
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/wechatdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8087"
     yml:
       logging:
         level:
@@ -327,7 +263,6 @@ shop-recycle-wechat:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-data-statistics Configuration
 shop-recycle-data-statistics:
   enabled: true
@@ -350,13 +285,6 @@ shop-recycle-data-statistics:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-data-statistics
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/data-statisticsdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8088"
     yml:
       logging:
         level:
@@ -366,7 +294,6 @@ shop-recycle-data-statistics:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-platform Configuration
 shop-recycle-platform:
   enabled: true
@@ -389,13 +316,6 @@ shop-recycle-platform:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-platform
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/platformdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8089"
     yml:
       logging:
         level:
@@ -405,7 +325,6 @@ shop-recycle-platform:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-wechat-web Configuration
 shop-recycle-wechat-web:
   enabled: true
@@ -428,13 +347,6 @@ shop-recycle-wechat-web:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-wechat-web
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/wechat-webdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8090"
     yml:
       logging:
         level:
@@ -444,7 +356,6 @@ shop-recycle-wechat-web:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-payment-web Configuration
 shop-recycle-payment-web:
   enabled: true
@@ -467,13 +378,6 @@ shop-recycle-payment-web:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-payment-web
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/payment-webdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8091"
     yml:
       logging:
         level:
@@ -483,7 +387,6 @@ shop-recycle-payment-web:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-store-wechat-web Configuration
 shop-recycle-store-wechat-web:
   enabled: true
@@ -506,13 +409,6 @@ shop-recycle-store-wechat-web:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-store-wechat-web
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/store-wechat-webdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8092"
     yml:
       logging:
         level:
@@ -522,7 +418,6 @@ shop-recycle-store-wechat-web:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-platform-pc-web Configuration
 shop-recycle-platform-pc-web:
   enabled: true
@@ -545,13 +440,6 @@ shop-recycle-platform-pc-web:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-platform-pc-web
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/platform-pc-webdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8093"
     yml:
       logging:
         level:
@@ -561,7 +449,6 @@ shop-recycle-platform-pc-web:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-out-web Configuration
 shop-recycle-out-web:
   enabled: true
@@ -584,13 +471,6 @@ shop-recycle-out-web:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-out-web
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/out-webdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8094"
     yml:
       logging:
         level:
@@ -600,7 +480,6 @@ shop-recycle-out-web:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-store-pc-web Configuration
 shop-recycle-store-pc-web:
   enabled: true
@@ -623,13 +502,6 @@ shop-recycle-store-pc-web:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-store-pc-web
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/store-pc-webdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8095"
     yml:
       logging:
         level:
@@ -639,7 +511,6 @@ shop-recycle-store-pc-web:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-login-center Configuration
 shop-recycle-login-center:
   enabled: true
@@ -662,13 +533,6 @@ shop-recycle-login-center:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-login-center
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/login-centerdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8096"
     yml:
       logging:
         level:
@@ -678,7 +542,6 @@ shop-recycle-login-center:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-oss-web Configuration
 shop-recycle-oss-web:
   enabled: true
@@ -701,13 +564,6 @@ shop-recycle-oss-web:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-oss-web
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/oss-webdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8097"
     yml:
       logging:
         level:
@@ -717,7 +573,6 @@ shop-recycle-oss-web:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-gateway Configuration
 shop-recycle-gateway:
   enabled: true
@@ -740,13 +595,6 @@ shop-recycle-gateway:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-gateway
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/gatewaydb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8098"
     yml:
       logging:
         level:
@@ -756,7 +604,6 @@ shop-recycle-gateway:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-sche Configuration
 shop-recycle-sche:
   enabled: true
@@ -779,13 +626,6 @@ shop-recycle-sche:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-sche
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/schedb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8099"
     yml:
       logging:
         level:
@@ -795,7 +635,6 @@ shop-recycle-sche:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-merchant-wechat-web Configuration
 shop-recycle-merchant-wechat-web:
   enabled: true
@@ -818,13 +657,6 @@ shop-recycle-merchant-wechat-web:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-merchant-wechat-web
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/merchant-wechat-webdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8100"
     yml:
       logging:
         level:
@@ -834,7 +666,6 @@ shop-recycle-merchant-wechat-web:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-import-web Configuration
 shop-recycle-import-web:
   enabled: true
@@ -857,13 +688,6 @@ shop-recycle-import-web:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-import-web
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/import-webdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8101"
     yml:
       logging:
         level:
@@ -873,7 +697,6 @@ shop-recycle-import-web:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-marketer-pc-web Configuration
 shop-recycle-marketer-pc-web:
   enabled: true
@@ -896,13 +719,6 @@ shop-recycle-marketer-pc-web:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-marketer-pc-web
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/marketer-pc-webdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8102"
     yml:
       logging:
         level:
@@ -912,7 +728,6 @@ shop-recycle-marketer-pc-web:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-erp-pc-web Configuration
 shop-recycle-erp-pc-web:
   enabled: true
@@ -935,13 +750,6 @@ shop-recycle-erp-pc-web:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-erp-pc-web
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/erp-pc-webdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8103"
     yml:
       logging:
         level:
@@ -951,7 +759,6 @@ shop-recycle-erp-pc-web:
           web:
             exposure:
               include: health,info,metrics
-
 # shop-recycle-merchant-pc-web Configuration
 shop-recycle-merchant-pc-web:
   enabled: true
@@ -974,13 +781,6 @@ shop-recycle-merchant-pc-web:
       cpu: 500m
       memory: 512Mi
   config:
-    properties:
-      spring.application.name: shop-recycle-merchant-pc-web
-      spring.jpa.hibernate.ddl-auto: update
-      spring.datasource.url: jdbc:mysql://mysql-service:3306/merchant-pc-webdb
-      spring.datasource.username: root
-      spring.datasource.password: password
-      server.port: "8104"
     yml:
       logging:
         level: