Commit 343e8f8d authored by xuezj's avatar xuezj

增加保留空间

parent 2be44aa3
...@@ -8,7 +8,7 @@ let newNsKey = '' ...@@ -8,7 +8,7 @@ let newNsKey = ''
const router = new Router(); const router = new Router();
module.exports = router module.exports = router
const keepNamespace = ['default', 'kube-system'] const keepNamespace = ['default', 'kube-system', 'monitor']
router.get('/', async (ctx) => { router.get('/', async (ctx) => {
const data = await ctx.cluster.namespace_get() const data = await ctx.cluster.namespace_get()
......
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