Skip to content

Commit

Permalink
metabase
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomte authored Sep 9, 2024
1 parent c7077b1 commit 693065d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 58 deletions.
2 changes: 1 addition & 1 deletion charts/metabase/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
76 changes: 19 additions & 57 deletions charts/metabase/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
}
}
}
Expand Down

0 comments on commit 693065d

Please sign in to comment.