Updated script
This commit is contained in:
parent
1f41aab543
commit
efe1e26b69
2
csccp.js
2
csccp.js
|
@ -13,7 +13,7 @@ app.get('/cscclassprofilestaging', async (req, res) => {
|
||||||
await call(`kubectl expose deployment ${name}`);
|
await call(`kubectl expose deployment ${name}`);
|
||||||
await call(`kubectl create ingress ${name} --rule='${name}-snedadah.k8s.csclub.cloud/*=${name}:80'`);
|
await call(`kubectl create ingress ${name} --rule='${name}-snedadah.k8s.csclub.cloud/*=${name}:80'`);
|
||||||
|
|
||||||
res.send('Hello World!')
|
res.send('Finished redeploy!')
|
||||||
})
|
})
|
||||||
|
|
||||||
async function call(cmd){
|
async function call(cmd){
|
||||||
|
|
Loading…
Reference in New Issue