Prechádzať zdrojové kódy

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

DevOps Team 3 mesiacov pred
rodič
commit
1224afd383

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