diff --git a/charts/metabase/Chart.yaml b/charts/metabase/Chart.yaml index 623a8bf..9b15669 100644 --- a/charts/metabase/Chart.yaml +++ b/charts/metabase/Chart.yaml @@ -22,7 +22,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.2.5 +version: 2.0.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/metabase/values.schema.json b/charts/metabase/values.schema.json index 09a0e71..4a54d1c 100644 --- a/charts/metabase/values.schema.json +++ b/charts/metabase/values.schema.json @@ -91,69 +91,31 @@ "overwriteDefaultWith": "{{user.email}}" } }, - "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-form": { - "value": "{{region.defaultIpProtection}}" - }, - "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-form": { - "value": "{{user.ip}}" - }, - "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-form": { - "value": "{{region.defaultNetworkPolicy}}" - }, - "x-onyxia": { - "overwriteDefaultWith": "region.defaultNetworkPolicy" - } - }, - "from": { - "type": "array", - "description": "Array of source allowed to have network access to your service", - "default": [], - "x-form": { - "hidden": true, - "value": "{{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" + } }, - "x-onyxia": { - "hidden": true, - "overwriteDefaultWith": "region.from" + "from": { + "type": "array", + "description": "Array of source allowed to have network access to your service", + "default": [], + "x-onyxia": { + "hidden": true, + "overwriteDefaultWith": "region.from" + } } - } } } }