Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Commit aa02a6a

Browse files
committed
elastic
1 parent 1cad06f commit aa02a6a

File tree

2 files changed

+43
-29
lines changed

2 files changed

+43
-29
lines changed

charts/elastic/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type: application
2323
# This is the chart version. This version number should be incremented each time you make changes
2424
# to the chart and its templates, including the app version.
2525
# Versions are expected to follow Semantic Versioning (https://semver.org/)
26-
version: 2.0.9
26+
version: 2.1.0
2727

2828
# This is the version number of the application being deployed. This version number should be
2929
# incremented each time you make changes to the application. Versions are not expected to

charts/elastic/values.schema.json

+42-28
Original file line numberDiff line numberDiff line change
@@ -129,41 +129,52 @@
129129
"x-form": {
130130
"hidden": true,
131131
"value": "{{project.id}}-{{k8s.randomSubdomain}}.{{k8s.domain}}"
132-
}
132+
},
133+
"x-onyxia": {
134+
"hidden": true,
135+
"overwriteDefaultWith": "{{project.id}}-{{k8s.randomSubdomain}}.{{k8s.domain}}"
136+
}
133137
}
134138
}
135139
},
136140
"security": {
137141
"description": "security specific configuration",
138142
"type": "object",
139143
"properties": {
140-
"allowlist": {
141-
"type": "object",
142-
"description": "IP protection",
143-
"properties": {
144-
"enabled": {
145-
"type": "boolean",
146-
"title": "Enable IP protection",
147-
"description": "Only the configured set of IPs will be able to reach the service",
148-
"default": true,
149-
"x-form": {
150-
"value": "{{region.defaultIpProtection}}"
151-
}
152-
},
153-
"ip": {
154-
"type": "string",
155-
"description": "the allow list of IP is whitespace",
156-
"title": "Allowed IP",
157-
"x-form": {
158-
"value": "{{user.ip}}"
159-
},
160-
"hidden": {
161-
"value": false,
162-
"path": "security/allowlist/enabled"
163-
}
164-
}
144+
"allowlist": {
145+
"type": "object",
146+
"description": "IP protection",
147+
"properties": {
148+
"enabled": {
149+
"type": "boolean",
150+
"title": "Enable IP protection",
151+
"description": "Only the configured set of IPs will be able to reach the service",
152+
"default": true,
153+
"x-form": {
154+
"value": "{{region.defaultIpProtection}}"
155+
},
156+
"x-onyxia": {
157+
"overwriteDefaultWith": "region.defaultIpProtection"
158+
}
159+
},
160+
"ip": {
161+
"type": "string",
162+
"description": "the allow list of IP is whitespace",
163+
"title": "Allowed IP",
164+
"default": "0.0.0.0/0",
165+
"x-form": {
166+
"value": "{{user.ip}}"
167+
},
168+
"x-onyxia": {
169+
"overwriteDefaultWith": "{{user.ip}}"
170+
},
171+
"hidden": {
172+
"value": false,
173+
"path": "security/allowlist/enabled"
165174
}
166-
},
175+
}
176+
}
177+
},
167178
"networkPolicy": {
168179
"type": "object",
169180
"description": "Define access policy to the service",
@@ -175,12 +186,15 @@
175186
"default": true,
176187
"x-form": {
177188
"value": "{{region.defaultNetworkPolicy}}"
189+
},
190+
"x-onyxia": {
191+
"overwriteDefaultWith": "region.defaultNetworkPolicy"
178192
}
179193
}
180194
}
181195
}
182196
}
183-
}
197+
}
184198
}
185199

186200
}

0 commit comments

Comments
 (0)