Commit 21737355 authored by 智勇's avatar 智勇

取消 创建确认码

parent eb3334b3
......@@ -28,9 +28,9 @@ const IMAGES = {
router.post('/init', async (ctx) => {
const body = ctx.request.body
if (body.code !== newNsKey) {
throw new Error('创建确认码不正确')
}
// if (body.code !== newNsKey) {
// throw new Error('创建确认码不正确')
// }
await ctx.cluster.namespace_create(body.namespace)
await ctx.cluster.ingress_create(body.namespace)
......
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