|
1 | 1 | ## @section Global parameters |
| 2 | +## Global Docker image parameters |
| 3 | +## Please, note that this will override the image parameters, including dependencies, configured to use the global value |
| 4 | +## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass |
| 5 | +## |
| 6 | + |
| 7 | +## @param global.imageRegistry Global Docker image registry |
| 8 | +## @param global.imagePullSecrets Global Docker registry secret names as an array |
| 9 | +## @param global.storageClass Global StorageClass for Persistent Volume(s) |
| 10 | +## |
| 11 | +global: |
| 12 | + imageRegistry: "" |
| 13 | + ## E.g. |
| 14 | + ## imagePullSecrets: |
| 15 | + ## - myRegistryKeySecretName |
| 16 | + ## |
| 17 | + imagePullSecrets: [] |
| 18 | + storageClass: "" |
2 | 19 |
|
3 | 20 | ## @section Common parameters |
4 | 21 | ## |
@@ -36,7 +53,7 @@ database: "" |
36 | 53 | service: |
37 | 54 | ## @param service.type Gorse Manager service type |
38 | 55 | ## |
39 | | - type: LoadBalancer |
| 56 | + type: ClusterIP |
40 | 57 | ## @param service.ports.http Gorse Manager service HTTP port |
41 | 58 | ## @param service.ports.https Gorse Manager service HTTPS port |
42 | 59 | ## |
@@ -231,25 +248,6 @@ image: |
231 | 248 | ## |
232 | 249 | pullSecrets: [] |
233 | 250 |
|
234 | | -## Autoscaling configuration |
235 | | -## |
236 | | -autoscaling: |
237 | | - ## @param autoscaling.enabled Enable replica autoscaling settings |
238 | | - ## |
239 | | - enabled: false |
240 | | - ## @param autoscaling.minReplicas Minimum replicas for the pod autoscaling |
241 | | - ## |
242 | | - minReplicas: 1 |
243 | | - ## @param autoscaling.maxReplicas Maximum replicas for the pod autoscaling |
244 | | - ## |
245 | | - maxReplicas: 11 |
246 | | - ## @param autoscaling.targetCPU Percentage of CPU to consider when autoscaling |
247 | | - ## |
248 | | - targetCPU: "" |
249 | | - ## @param autoscaling.targetMemory Percentage of Memory to consider when autoscaling |
250 | | - ## |
251 | | - targetMemory: "" |
252 | | - |
253 | 251 | ## @param podAffinityPreset Pod affinity preset. Ignored if `server.affinity` is set. Allowed values: `soft` or `hard` |
254 | 252 | ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity |
255 | 253 | ## |
@@ -289,21 +287,77 @@ nodeSelector: {} |
289 | 287 | ## |
290 | 288 | tolerations: [] |
291 | 289 |
|
292 | | -## @section MongoDB® Parameters |
| 290 | +## @section Database Parameters |
| 291 | +## |
293 | 292 |
|
294 | | -## MongoDB® chart configuration |
295 | | -## ref: https://github.com/bitnami/charts/tree/main/bitnami/mongodb |
296 | | -## @param mongodb.enabled Switch to enable or disable the MongoDB helm chart |
297 | | -## @param mongodb.auth.enabled Enable authentication |
298 | | -## @param mongodb.auth.rootPassword MongoDB(®) root password |
299 | | -## @param mongodb.architecture MongoDB(®) architecture (`standalone`` or `replicaset`) |
| 293 | +## MongoDB chart configuration |
| 294 | +## ref: https://github.com/bitnami/charts/blob/main/bitnami/mongodb/values.yaml |
300 | 295 | ## |
301 | 296 | mongodb: |
| 297 | + ## @param mongodb.enabled Deploy a MongoDB server to satisfy the applications database requirements |
| 298 | + ## |
302 | 299 | enabled: true |
| 300 | + ## @param mongodb.architecture MongoDB(®) architecture (`standalone` or `replicaset`) |
| 301 | + ## |
| 302 | + architecture: standalone |
| 303 | + ## MongoDB(®) Authentication parameters |
| 304 | + ## |
303 | 305 | auth: |
304 | | - enabled: false |
| 306 | + ## @param mongodb.auth.rootUser MongoDB(®) root user |
| 307 | + ## |
| 308 | + rootUser: "root" |
| 309 | + ## @param mongodb.auth.rootPassword MongoDB(®) root password |
| 310 | + ## ref: https://github.com/bitnami/containers/tree/main/bitnami/mongodb#setting-the-root-user-and-password-on-first-run |
| 311 | + ## |
305 | 312 | rootPassword: "" |
306 | | - architecture: "standalone" |
| 313 | + ## MongoDB(®) custom users and databases |
| 314 | + ## ref: https://github.com/bitnami/containers/tree/main/bitnami/mongodb#creating-a-user-and-database-on-first-run |
| 315 | + ## @param mongodb.auth.username Custom user to be created during the initialization |
| 316 | + ## @param mongodb.auth.password Password for the custom users set at `auth.usernames` |
| 317 | + ## @param mongodb.auth.database Custom databases to be created during the initialization |
| 318 | + ## |
| 319 | + username: gorse |
| 320 | + password: "" |
| 321 | + database: gorse |
| 322 | + ## Enable persistence using Persistent Volume Claims |
| 323 | + ## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/ |
| 324 | + ## |
| 325 | + persistence: |
| 326 | + ## @param mongodb.persistence.enabled Enable MongoDB(®) data persistence using PVC |
| 327 | + ## |
| 328 | + enabled: true |
| 329 | + ## @param mongodb.persistence.storageClass PVC Storage Class for MongoDB(®) data volume |
| 330 | + ## If defined, storageClassName: <storageClass> |
| 331 | + ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 332 | + ## If undefined (the default) or set to null, no storageClassName spec is |
| 333 | + ## set, choosing the default provisioner. |
| 334 | + ## |
| 335 | + storageClass: "" |
| 336 | + ## @param mongodb.persistence.accessModes PV Access Mode |
| 337 | + ## |
| 338 | + accessModes: |
| 339 | + - ReadWriteOnce |
| 340 | + ## @param mongodb.persistence.size PVC Storage Request for MongoDB(®) data volume |
| 341 | + ## |
| 342 | + size: 8Gi |
| 343 | +## External MongoDB configuration |
| 344 | +## All of these values are only used when mongodb.enabled is set to false |
| 345 | +## @param externalDatabase.host Database host |
| 346 | +## @param externalDatabase.port Database port number |
| 347 | +## @param externalDatabase.username Non-root username for Gorse |
| 348 | +## @param externalDatabase.password Password for the non-root username for Gorse |
| 349 | +## @param externalDatabase.database Gorse database name |
| 350 | +## @param externalDatabase.existingSecret Name of an existing secret resource containing the database credentials |
| 351 | +## @param externalDatabase.existingSecretPasswordKey Name of an existing secret key containing the database credentials |
| 352 | +## |
| 353 | +externalDatabase: |
| 354 | + host: localhost |
| 355 | + port: 27017 |
| 356 | + username: gorse |
| 357 | + database: gorse |
| 358 | + password: "" |
| 359 | + existingSecret: "" |
| 360 | + existingSecretPasswordKey: "mongodb-passwords" |
307 | 361 |
|
308 | 362 | ## @section MySQL Parameters |
309 | 363 |
|
|
0 commit comments