Commit 76f6b83e authored by 智勇's avatar 智勇

mock

parent f3739da1
......@@ -20,6 +20,10 @@ const makeManifest = (data) => {
data.debug = '"0"'
}
if (!data.mock) {
data.mock = '"0"'
}
if (data.label === 'java') {
data.serviceType = data.debug === '"0"' ? 'ClusterIP' : 'NodePort'
}
......
......@@ -53,6 +53,8 @@ spec:
value: {{serviceName}}
- name: DEBUG
value: {{debug}}
- name: MOCK
value: {{mock}}
resources:
requests:
cpu: {{resources.cpu.request}}m
......
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