Commit 3714d6cd authored by liaozan's avatar liaozan 🏀

Probe active only when dev environment

parent 4f44b400
......@@ -46,6 +46,7 @@ spec:
protocol: TCP
- containerPort: 1024
protocol: TCP
#if($PROFILE != 'dev')
startupProbe:
httpGet:
scheme: HTTP
......@@ -66,6 +67,7 @@ spec:
path: /actuator/health/readiness
port: 1024
periodSeconds: 10
#end
volumeMounts:
- name: ${APP_NAME}-volume
mountPath: /data
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment