diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..2fffc9112828d7db64a77f26d418ff6d8b4096b3 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +### 此项目文件在构建时均采用 Velocity 模板引擎进行变量替换,所以可以在文件中使用 Velocity 语法进行条件控制 \ No newline at end of file diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index e36941c287029d14d11e6a957b42f596b98edf02..94a04ceef4e85ab446635b897b971ec218bbd5ad 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -46,7 +46,6 @@ spec: protocol: TCP - containerPort: 1024 protocol: TCP - #if($PROFILE != 'dev') startupProbe: httpGet: scheme: HTTP @@ -55,6 +54,7 @@ spec: initialDelaySeconds: 20 failureThreshold: 18 periodSeconds: 5 + #if($PROFILE != 'dev') livenessProbe: httpGet: scheme: HTTP