|
38 | 38 | } |
39 | 39 | } |
40 | 40 | }, |
| 41 | + "persistence": { |
| 42 | + "title": "Persistence", |
| 43 | + "type": "object", |
| 44 | + "properties": { |
| 45 | + "enabled": { |
| 46 | + "title": "Create a persistent volume", |
| 47 | + "type": "boolean", |
| 48 | + "default": true |
| 49 | + }, |
| 50 | + "size": { |
| 51 | + "title": "Persistent volume size", |
| 52 | + "type": "string", |
| 53 | + "default": "10Gi", |
| 54 | + "form": true, |
| 55 | + "render": "slider", |
| 56 | + "sliderMin": 1, |
| 57 | + "sliderMax": 100, |
| 58 | + "sliderStep": 1, |
| 59 | + "sliderUnit": "Gi" |
| 60 | + } |
| 61 | + } |
| 62 | + }, |
41 | 63 | "resources": { |
42 | 64 | "description": "Your service will have at least the requested resources and never more than its limits. No limit for a resource and you can consume everything left on the host machine.", |
43 | 65 | "type": "object", |
|
172 | 194 | } |
173 | 195 | } |
174 | 196 | }, |
175 | | - "postgresql": { |
176 | | - "description": "postgres specific configuration", |
177 | | - "type": "object", |
178 | | - "title": "Database", |
179 | | - "properties": { |
180 | | - "image": { |
181 | | - "description": "image specific configuration", |
182 | | - "type": "object", |
183 | | - "properties": { |
184 | | - "tag": { |
185 | | - "description": "postgresql major version", |
186 | | - "type": "string", |
187 | | - "enum": [ |
188 | | - "12", |
189 | | - "13", |
190 | | - "14", |
191 | | - "15", |
192 | | - "16", |
193 | | - "17" |
194 | | - ], |
195 | | - "default": "17" |
196 | | - } |
197 | | - } |
198 | | - }, |
199 | | - "auth": { |
200 | | - "description": "postgres specific configuration", |
201 | | - "type": "object", |
202 | | - "title": "Authentification", |
203 | | - "properties": { |
204 | | - "username": { |
205 | | - "type": "string", |
206 | | - "title": "User", |
207 | | - "default": "user", |
208 | | - "x-form": { |
209 | | - "value": "{{project.id}}" |
210 | | - }, |
211 | | - "x-onyxia": { |
212 | | - "overwriteDefaultWith": "{{project.id}}" |
213 | | - } |
214 | | - }, |
215 | | - "password": { |
216 | | - "type": "string", |
217 | | - "title": "User Password", |
218 | | - "default": "changeme", |
219 | | - "x-form": { |
220 | | - "value": "{{project.password}}" |
221 | | - }, |
222 | | - "x-onyxia": { |
223 | | - "overwriteDefaultWith": "{{project.password}}" |
224 | | - } |
225 | | - }, |
226 | | - "postgresPassword": { |
227 | | - "type": "string", |
228 | | - "title": "Admin Password", |
229 | | - "default": "changeme", |
230 | | - "x-form": { |
231 | | - "value": "{{project.password}}" |
232 | | - }, |
233 | | - "x-onyxia": { |
234 | | - "overwriteDefaultWith": "{{project.password}}" |
235 | | - } |
236 | | - }, |
237 | | - "database": { |
238 | | - "description": "Name for the default database that is created when the image is first started.", |
239 | | - "type": "string", |
240 | | - "title": "Database", |
241 | | - "default": "cloudbeaver" |
242 | | - } |
243 | | - } |
244 | | - } |
245 | | - } |
246 | | - }, |
247 | 197 | "discovery": { |
248 | 198 | "description": "configure your service to autodetect some ressources.", |
249 | 199 | "type": "object", |
|
0 commit comments