guacamole

by HelmForge

Helm chartv1.7.4App 1.6.0Apache-2.0Verified publisher

Apache Guacamole clientless remote desktop gateway with guacd, PostgreSQL or MySQL, OIDC/SAML SSO, and S3 backup

About this chart

Apache Guacamole Helm Chart

Deploy Apache Guacamole on Kubernetes — a clientless remote desktop gateway supporting RDP, VNC, SSH, telnet, and Kubernetes.

Features

  • guacd Sidecar — protocol daemon runs as a sidecar container
  • PostgreSQL Subchart — bundled via HelmForge dependency (default)
  • MySQL Subchart — bundled via HelmForge dependency
  • External Database — connect to existing PostgreSQL or MySQL
  • Database Init Job — automatic schema initialization via post-install hook
  • OpenID Connect — SSO with Keycloak, Okta, Azure AD, and others
  • SAML — SSO with any SAML 2.0 identity provider
  • TOTP — two-factor authentication
  • Reverse Proxy — Tomcat RemoteIpValve for proper client IP detection
  • Ingress — TLS with cert-manager
  • S3 Backup — scheduled CronJob with pg_dump or mysqldump
  • Real Port Overrides — Tomcat and guacd process listeners follow chart values
  • Immutable Images — official images pinned by multi-architecture digest
  • Secure Defaults — non-root, read-only filesystems, seccomp, dropped capabilities, and no API token
  • Ingress Isolation — NetworkPolicy enabled by default

Documentation

Security Scan: guacamole

FrameworkScore
MITRE + NSA + SOC278.78788%

Security posture acceptable with operator-provided resource limits, security contexts, and network policy.

Installation

HTTPS Repository

helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm install guacamole helmforge/guacamole -f values.yaml

OCI Registry

helm install guacamole oci://ghcr.io/helmforgedev/helm/guacamole -f values.yaml

Quick Start

postgresql:
  auth:
    password: "change-me"

After deploying, access the web interface and log in with guacadmin / guacadmin. Change the default password immediately.

kubectl port-forward svc/<release>-guacamole 8080:80

Examples

  • Simple bundled PostgreSQL
  • Production ingress, OIDC, and backups
  • External PostgreSQL
  • OIDC with Keycloak

Application and Service Ports

containerPorts.http changes the real Tomcat connector through the official image's entrypoint.d extension point. guacd.port is passed to the guacd daemon with -l and is also supplied to the web application. service.port is an independent client-facing port that targets the named http listener.

containerPorts:
  http: 18080

guacd:
  port: 14822

service:
  port: 8080

The custom-ports-values.yaml k3d scenario requires both overridden listeners to become Ready, proving that these settings change the processes themselves.

OIDC with Keycloak

oidc:
  enabled: true
  authorizationEndpoint: https://keycloak.example.com/realms/master/protocol/openid-connect/auth
  jwksEndpoint: https://keycloak.example.com/realms/master/protocol/openid-connect/certs
  issuer: https://keycloak.example.com/realms/master
  clientId: guacamole

ingress:
  enabled: true
  ingressClassName: traefik
  hosts:
    - host: guacamole.example.com
      paths:
        - path: /
          pathType: Prefix
  tls:
    - hosts:
        - guacamole.example.com
      secretName: guacamole-tls

See OIDC with Keycloak guide for detailed setup instructions.

Values

Common metadata

KeyDefaultDescription
commonLabels{}Labels added to chart-owned resources
commonAnnotations{}Annotations added to chart-owned resources; resource-specific annotations take precedence

Images

KeyDefaultDescription
image.repositoryguacamole/guacamoleWeb app image
image.tag"" (appVersion)Web app tag
image.digestpinned 1.6.0 digestImmutable web image manifest
guacd.image.repositoryguacamole/guacdguacd daemon image
guacd.image.tag"" (appVersion)guacd daemon tag
guacd.image.digestpinned 1.6.0 digestImmutable guacd image manifest
guacd.port4822guacd port
guacd.logLevelinfoguacd log level

Guacamole

KeyDefaultDescription
guacamole.contextPathROOTWeb context path (ROOT = /)
containerPorts.http8080Actual Tomcat HTTP listener

Database

KeyDefaultDescription
database.typepostgresqlDatabase type (postgresql, mysql)
database.waitForConnection.enabledtrueWait for successful database connection before starting
database.waitForConnection.resources{}Optional resource definitions for waitForConnection
database.external.host""External database host
database.external.nameguacamole_dbDatabase name
database.external.usernameguacamole_userDatabase username
postgresql.enabledtrueDeploy PostgreSQL subchart
mysql.enabledfalseDeploy MySQL subchart
initDb.enabledtrueRun schema init Job on install

OIDC (OpenID Connect)

KeyDefaultDescription
oidc.enabledfalseEnable OIDC authentication
oidc.authorizationEndpoint""Authorization endpoint URI
oidc.jwksEndpoint""JWKS endpoint URI
oidc.issuer""Token issuer
oidc.clientId""Client ID
oidc.redirectUri""Redirect URI (auto-detected from ingress)
oidc.usernameClaimpreferred_usernameJWT username claim
oidc.groupsClaimgroupsJWT groups claim

SAML

KeyDefaultDescription
saml.enabledfalseEnable SAML authentication
saml.idpMetadataUrl""IdP metadata URL
saml.entityId""SP entity ID (auto-detected from ingress)
saml.callbackUrl""Callback URL (auto-detected from ingress)
saml.groupAttributegroupsGroup attribute name

Service & Ingress

KeyDefaultDescription
service.typeClusterIPService type
service.port80Service port
ingress.enabledfalseEnable ingress
ingress.ingressClassNametraefikIngress class
networkPolicy.enabledtrueIsolate inbound application traffic
serviceAccount.automountServiceAccountTokenfalseMount the Kubernetes API token

Backup

KeyDefaultDescription
backup.enabledfalseEnable S3 backup CronJob
backup.schedule0 2 * * *Cron schedule
backup.s3.endpoint""S3 endpoint URL
backup.s3.bucket""S3 bucket
backup.s3.region""AWS region required for workload identity
backup.s3.credentialsFromPodIdentityfalseUse ambient workload identity instead of static keys
backup.serviceAccount.createtrueCreate a dedicated backup ServiceAccount
backup.serviceAccount.annotations{}Workload identity annotations for the backup ServiceAccount

Extra

KeyDefaultDescription
extraInitContainers[]Additional init containers for the pod
extraVolumes[]Additional volumes for the pod
extraVolumeMounts[]Additional volume mounts for the container
extraManifests[]Extra manifests to deploy alongside the chart

Architecture

Guacamole runs as a single Deployment with two containers:

  • guacamole — Java/Tomcat web application on port 8080
  • guacd — protocol daemon on port 4822 (sidecar, communicates via localhost)

A post-install Job initializes the database schema. The init job is idempotent and skips schema creation if tables already exist.

Security

The default application pod uses the non-root users defined by the official images, RuntimeDefault seccomp, a read-only root filesystem, no privilege escalation, and no Linux capabilities. Writable /tmp paths are explicit emptyDir volumes. Kubernetes API token mounting is disabled for the Deployment, initialization Job, and backup CronJob.

NetworkPolicy isolates ingress while intentionally leaving egress open for remote desktop targets and identity providers. Add ingress-controller peers to networkPolicy.ingressFrom when they are outside the release. Use existing Secrets or External Secrets for production database and S3 credentials, and change the default guacadmin password immediately.

Operations and Troubleshooting

kubectl -n <namespace> rollout status deployment/<release>-guacamole
kubectl -n <namespace> logs deployment/<release>-guacamole -c guacamole
kubectl -n <namespace> logs deployment/<release>-guacamole -c guacd
kubectl -n <namespace> get events --sort-by=.lastTimestamp

If the web container is not Ready, verify database initialization, the active Tomcat listener, Secret keys, and reverse-proxy headers. If remote sessions fail while the UI works, verify the guacd logs, target DNS/firewall reachability, and that guacd.port is not overridden by guacamole.extraEnv.

Deploy guacamole with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has guacamole on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartguacamole is pinned at v1.7.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply