|
1 | 1 | # Apache Guacamole Helm Chart |
2 | 2 |
|
3 | | -   |
| 3 | +   |
4 | 4 |
|
5 | 5 | A Helm chart for deploying Apache Guacamole, a clientless remote desktop gateway that supports standard protocols like VNC, RDP and SSH. |
6 | 6 |
|
@@ -407,6 +407,28 @@ volumes: |
407 | 407 | claimName: guacamole-recordings |
408 | 408 | ``` |
409 | 409 |
|
| 410 | +### Environment Variables from ConfigMaps and Secrets |
| 411 | + |
| 412 | +Both the client and guacd deployments support loading environment variables from ConfigMaps and Secrets using `envFrom`. This is useful for managing configuration externally or integrating with secret management systems. |
| 413 | + |
| 414 | +```yaml |
| 415 | +client: |
| 416 | + envFrom: |
| 417 | + configMap: "guacamole-client-config" |
| 418 | + secret: "guacamole-client-secrets" |
| 419 | + extraEnv: |
| 420 | + - name: ADDITIONAL_VAR |
| 421 | + value: "additional-value" |
| 422 | +
|
| 423 | +guacd: |
| 424 | + envFrom: |
| 425 | + configMap: "guacd-config" |
| 426 | + secret: "guacd-secrets" |
| 427 | + extraEnv: |
| 428 | + - name: CUSTOM_GUACD_VAR |
| 429 | + value: "custom-value" |
| 430 | +``` |
| 431 | + |
410 | 432 | ### Custom Extensions |
411 | 433 |
|
412 | 434 | ```yaml |
@@ -514,13 +536,19 @@ kubectl exec -it deployment/my-guacamole-client -- nc -zv postgres.default.svc.c |
514 | 536 | | client.image.pullPolicy | string | `"IfNotPresent"` | Client image pull policy | |
515 | 537 | | client.service.type | string | `"ClusterIP"` | Client service type | |
516 | 538 | | client.service.port | int | `8080` | Client service port | |
| 539 | +| client.envFrom.configMap | string | `""` | ConfigMap name for client environment variables | |
| 540 | +| client.envFrom.secret | string | `""` | Secret name for client environment variables | |
| 541 | +| client.extraEnv | list | `[]` | Additional environment variables for client | |
517 | 542 | | client.initContainers | list | `[]` | Init containers for the client pod | |
518 | 543 | | client.auth.postgresql.enabled | bool | `false` | Enable PostgreSQL authentication | |
519 | 544 | | client.auth.mysql.enabled | bool | `false` | Enable MySQL authentication | |
520 | 545 | | client.auth.ldap.enabled | bool | `false` | Enable LDAP authentication | |
521 | 546 | | guacd.replicaCount | int | `1` | Number of guacd replicas | |
522 | 547 | | guacd.image.repository | string | `"guacamole/guacd"` | Guacd container image repository | |
523 | 548 | | guacd.service.port | int | `4822` | Guacd service port | |
| 549 | +| guacd.envFrom.configMap | string | `""` | ConfigMap name for guacd environment variables | |
| 550 | +| guacd.envFrom.secret | string | `""` | Secret name for guacd environment variables | |
| 551 | +| guacd.extraEnv | list | `[]` | Additional environment variables for guacd | |
524 | 552 | | guacd.initContainers | list | `[]` | Init containers for the guacd pod | |
525 | 553 | | ingress.enabled | bool | `false` | Enable ingress | |
526 | 554 | | httpRoute.enabled | bool | `false` | Enable Gateway API HTTPRoute | |
|
0 commit comments