瀏覽代碼

Refactor: Move files from java-microservice directory to root, flatten directory structure

DevOps Team 3 月之前
父節點
當前提交
1224afd383
共有 6 個文件被更改,包括 4 次插入7 次删除
  1. 0 0
      Chart.yaml
  2. 4 7
      java-microservice/README.md
  3. 0 0
      templates/configmap.yaml
  4. 0 0
      templates/deployment.yaml
  5. 0 0
      templates/service.yaml
  6. 0 0
      values.yaml

java-microservice/Chart.yaml → Chart.yaml


+ 4 - 7
java-microservice/README.md

@@ -125,13 +125,10 @@ kubectl get svc java-microservice
 #### Properties文件配置(`.properties` 格式)
 
 ```yaml
-config.properties:
-  spring.application.name: java-microservice
-  spring.jpa.hibernate.ddl-auto: update
-  spring.datasource.url: jdbc:mysql://localhost:3306/mydb
-  spring.datasource.username: root
-  spring.datasource.password: password
-  server.port: "8080"
+application.properties:
+spring.application.name={{ app.name }}
+spring.protocol.name=spring
+server.port={{ app.port }}
 ```
 
 #### YAML文件配置(`.yml` 格式)

java-microservice/templates/configmap.yaml → templates/configmap.yaml


java-microservice/templates/deployment.yaml → templates/deployment.yaml


java-microservice/templates/service.yaml → templates/service.yaml


java-microservice/values.yaml → values.yaml