From 1fc5ced4ddf68112cd6c6c77de45f6cc2c197b3b Mon Sep 17 00:00:00 2001 From: Comte Date: Sat, 7 Sep 2024 15:59:39 +0200 Subject: [PATCH] Update network-policy.json --- .../main/resources/schemas/ide/network-policy.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/onyxia-api/src/main/resources/schemas/ide/network-policy.json b/onyxia-api/src/main/resources/schemas/ide/network-policy.json index bf4665bf..841a31f3 100644 --- a/onyxia-api/src/main/resources/schemas/ide/network-policy.json +++ b/onyxia-api/src/main/resources/schemas/ide/network-policy.json @@ -8,12 +8,18 @@ "type": "boolean", "title": "Enable network policy", "description": "Only pod from the same namespace will be allowed", - "default": false + "default": false, + "hidden": { + "value": true + } }, "from": { "type": "array", "description": "Array of source allowed to have network access to your service", - "default": [] + "default": [], + "hidden": { + "value": true + } } } -} \ No newline at end of file +}