From 51bf94d66cec3505639e711215f1d6ba46b8cb1a Mon Sep 17 00:00:00 2001 From: Comte Date: Mon, 9 Sep 2024 16:39:23 +0200 Subject: [PATCH] metaflow --- charts/metaflow/Chart.yaml | 2 +- charts/metaflow/values.schema.json | 65 +++++++++--------------------- 2 files changed, 21 insertions(+), 46 deletions(-) diff --git a/charts/metaflow/Chart.yaml b/charts/metaflow/Chart.yaml index a394645..0f4ce90 100644 --- a/charts/metaflow/Chart.yaml +++ b/charts/metaflow/Chart.yaml @@ -10,7 +10,7 @@ sources: - https://github.com/Netflix/metaflow - https://github.com/outerbounds/metaflow-tools type: application -version: 0.2.5 +version: 1.0.0 dependencies: - name: postgresql diff --git a/charts/metaflow/values.schema.json b/charts/metaflow/values.schema.json index 533eeaa..b164333 100644 --- a/charts/metaflow/values.schema.json +++ b/charts/metaflow/values.schema.json @@ -123,56 +123,31 @@ "description": "security specific configuration", "type": "object", "properties": { - "allowlist": { - "type": "object", - "description": "IP protection", - "properties": { - "enabled": { - "type": "boolean", - "title": "Enable IP protection", - "description": "Only the configured set of IPs will be able to reach the service", - "default": true, - "x-onyxia": { - "overwriteDefaultWith": "region.defaultIpProtection" - } - }, - "ip": { - "type": "string", - "description": "the white list of IP is whitespace", - "title": "Whitelist of IP", - "default": "0.0.0.0", - "x-onyxia": { - "overwriteDefaultWith": "{{user.ip}}" - }, - "hidden": { - "value": false, - "path": "security/allowlist/enabled" - } - } - } - }, "networkPolicy": { "type": "object", "description": "Define access policy to the service", + "x-onyxia": { + "overwriteSchemaWith": "network-policy.json" + }, "properties": { - "enabled": { - "type": "boolean", - "title": "Enable network policy", - "description": "Only pod from the same namespace will be allowed", - "default": true, - "x-onyxia": { - "overwriteDefaultWith": "region.defaultNetworkPolicy" - } - }, - "from": { - "type": "array", - "description": "Array of source allowed to have network access to your service", - "default": [], - "x-onyxia": { - "hidden": true, - "overwriteDefaultWith": "region.from" + "enabled": { + "type": "boolean", + "title": "Enable network policy", + "description": "Only pod from the same namespace will be allowed", + "default": false, + "x-onyxia": { + "overwriteDefaultWith": "region.defaultNetworkPolicy" + } + }, + "from": { + "type": "array", + "description": "Array of source allowed to have network access to your service", + "default": [], + "x-onyxia": { + "hidden": true, + "overwriteDefaultWith": "region.from" + } } - } } } }