|
56 | 56 | "tag": {
|
57 | 57 | "type": "string",
|
58 | 58 | "title": "MongoDB Image Tag",
|
59 |
| - "description": "MongoDB Docker image tag with digest" |
| 59 | + "description": "MongoDB image tag" |
60 | 60 | },
|
61 |
| - "imagePullPolicy": { |
| 61 | + "pullPolicy": { |
62 | 62 | "type": "string",
|
63 | 63 | "title": "MongoDB Image Pull Policy",
|
64 | 64 | "description": "MongoDB image pull policy",
|
|
76 | 76 | "title": "Full Name Override",
|
77 | 77 | "description": "String to fully override mongodb.fullname"
|
78 | 78 | },
|
| 79 | + "commonLabels": { |
| 80 | + "type": "object", |
| 81 | + "title": "Common Labels", |
| 82 | + "description": "Labels to add to all deployed objects", |
| 83 | + "additionalProperties": { |
| 84 | + "type": "string" |
| 85 | + } |
| 86 | + }, |
| 87 | + "commonAnnotations": { |
| 88 | + "type": "object", |
| 89 | + "title": "Common Annotations", |
| 90 | + "description": "Annotations to add to all deployed objects", |
| 91 | + "additionalProperties": { |
| 92 | + "type": "string" |
| 93 | + } |
| 94 | + }, |
79 | 95 | "service": {
|
80 | 96 | "type": "object",
|
81 | 97 | "title": "Service Configuration",
|
|
128 | 144 | }
|
129 | 145 | }
|
130 | 146 | },
|
131 |
| - "databases": { |
132 |
| - "type": "array", |
133 |
| - "title": "Additional Databases", |
134 |
| - "description": "Array of additional databases to create", |
135 |
| - "items": { |
136 |
| - "type": "object", |
137 |
| - "properties": { |
138 |
| - "name": { |
139 |
| - "type": "string", |
140 |
| - "title": "Database Name", |
141 |
| - "description": "Name of the database" |
142 |
| - }, |
143 |
| - "user": { |
144 |
| - "type": "string", |
145 |
| - "title": "Database User", |
146 |
| - "description": "Username for the database" |
147 |
| - }, |
148 |
| - "password": { |
149 |
| - "type": "string", |
150 |
| - "title": "Database Password", |
151 |
| - "description": "Password for the database user" |
152 |
| - } |
153 |
| - }, |
154 |
| - "required": ["name"] |
155 |
| - } |
156 |
| - }, |
157 | 147 | "config": {
|
158 | 148 | "type": "object",
|
159 | 149 | "title": "MongoDB Configuration",
|
160 | 150 | "description": "MongoDB configuration options",
|
161 |
| - "additionalProperties": true |
| 151 | + "properties": { |
| 152 | + "mountPath": { |
| 153 | + "type": "string", |
| 154 | + "title": "Config Mount Path", |
| 155 | + "description": "MongoDB configuration options" |
| 156 | + }, |
| 157 | + "content": { |
| 158 | + "type": "string", |
| 159 | + "title": "Config Content", |
| 160 | + "description": "Include your custom MongoDB configurations here as string" |
| 161 | + }, |
| 162 | + "existingConfigmap": { |
| 163 | + "type": "string", |
| 164 | + "title": "Existing ConfigMap", |
| 165 | + "description": "Name of an existing Configmap to use instead of creating one" |
| 166 | + }, |
| 167 | + "existingConfigmapKey": { |
| 168 | + "type": "string", |
| 169 | + "title": "Existing ConfigMap Key", |
| 170 | + "description": "Name of the key in the Configmap that should be used" |
| 171 | + } |
| 172 | + } |
| 173 | + }, |
| 174 | + "customUser": { |
| 175 | + "type": "object", |
| 176 | + "title": "Custom User", |
| 177 | + "description": "Optional user to be created at initialisation with a custom password and database", |
| 178 | + "properties": { |
| 179 | + "name": { |
| 180 | + "type": "string", |
| 181 | + "title": "Custom User Name", |
| 182 | + "description": "Name of the custom user to be created" |
| 183 | + }, |
| 184 | + "database": { |
| 185 | + "type": "string", |
| 186 | + "title": "Custom User Database", |
| 187 | + "description": "Name of the database to be created" |
| 188 | + }, |
| 189 | + "password": { |
| 190 | + "type": "string", |
| 191 | + "title": "Custom User Password", |
| 192 | + "description": "Password to be used for the custom user" |
| 193 | + }, |
| 194 | + "existingSecret": { |
| 195 | + "type": "string", |
| 196 | + "title": "Custom User Existing Secret", |
| 197 | + "description": "Existing secret, in which username, password and database name are saved" |
| 198 | + }, |
| 199 | + "secretKeys": { |
| 200 | + "type": "object", |
| 201 | + "title": "Custom User Secret Keys", |
| 202 | + "description": "Name of keys in existing secret to use the custom user name, password and database", |
| 203 | + "properties": { |
| 204 | + "name": { |
| 205 | + "type": "string", |
| 206 | + "title": "Secret Key for User Name", |
| 207 | + "description": "Key name in the secret for username" |
| 208 | + }, |
| 209 | + "password": { |
| 210 | + "type": "string", |
| 211 | + "title": "Secret Key for Password", |
| 212 | + "description": "Key name in the secret for password" |
| 213 | + }, |
| 214 | + "database": { |
| 215 | + "type": "string", |
| 216 | + "title": "Secret Key for Database", |
| 217 | + "description": "Key name in the secret for database name" |
| 218 | + } |
| 219 | + } |
| 220 | + } |
| 221 | + } |
162 | 222 | },
|
163 | 223 | "persistence": {
|
164 | 224 | "type": "object",
|
|
191 | 251 | "type": "string",
|
192 | 252 | "title": "Mount Path",
|
193 | 253 | "description": "Mount path for MongoDB data"
|
| 254 | + }, |
| 255 | + "annotations": { |
| 256 | + "type": "object", |
| 257 | + "title": "Persistence Annotations", |
| 258 | + "description": "Annotations for persistent volume claims", |
| 259 | + "additionalProperties": { |
| 260 | + "type": "string" |
| 261 | + } |
194 | 262 | }
|
195 | 263 | }
|
196 | 264 | },
|
|
264 | 332 | },
|
265 | 333 | "containerSecurityContext": {
|
266 | 334 | "type": "object",
|
267 |
| - "title": "Security Context", |
| 335 | + "title": "Container Security Context", |
268 | 336 | "description": "Security context configuration",
|
269 | 337 | "properties": {
|
270 |
| - "fsGroup": { |
271 |
| - "type": "integer", |
272 |
| - "title": "FS Group", |
273 |
| - "description": "Group ID for filesystem ownership", |
274 |
| - "minimum": 0 |
275 |
| - }, |
276 | 338 | "runAsUser": {
|
277 | 339 | "type": "integer",
|
278 | 340 | "title": "Run As User",
|
|
283 | 345 | "type": "boolean",
|
284 | 346 | "title": "Run As Non-Root",
|
285 | 347 | "description": "Run as non-root user"
|
| 348 | + }, |
| 349 | + "allowPrivilegeEscalation": { |
| 350 | + "type": "boolean", |
| 351 | + "title": "Allow Privilege Escalation", |
| 352 | + "description": "Set MongoDB container's privilege escalation" |
286 | 353 | }
|
287 | 354 | }
|
288 | 355 | },
|
289 | 356 | "podSecurityContext": {
|
290 | 357 | "type": "object",
|
291 | 358 | "title": "Pod Security Context",
|
292 | 359 | "description": "Security context for the pod",
|
293 |
| - "additionalProperties": true |
| 360 | + "properties": { |
| 361 | + "fsGroup": { |
| 362 | + "type": "integer", |
| 363 | + "title": "FS Group", |
| 364 | + "description": "Set MongoDB pod's Security Context fsGroup", |
| 365 | + "minimum": 0 |
| 366 | + } |
| 367 | + } |
294 | 368 | },
|
295 | 369 | "livenessProbe": {
|
296 | 370 | "type": "object",
|
|
0 commit comments