bngblaster-gui

by SVTECH-NMAA

Helm chartv0.1.5App 1.0.0Verified publisher

Helm chart for the BNGBlaster Web Client

About this chart

BNGBlaster GUI Helm Chart

Helm chart for BNGBlaster GUI with:

  • Frontend service exposed by Ingress
  • Backend service exposed by ClusterIP
  • External PostgreSQL for backend database connectivity

Install

Install with the required secrets:

kubectl create secret docker-registry ghcr-pull-secret \
  --namespace bngblaster-gui \
  --docker-server=ghcr.io \
  --docker-username=<username> \
  --docker-password=<token>

helm upgrade --install bngblaster-gui ./bngblaster-gui \
  --namespace bngblaster-gui \
  --create-namespace \
  --set ingress.enabled=true \
  --set ingress.className=nginx \
  --set backend.secret.secretKey=<output-of-openssl-rand-hex-32> \
  --set backend.secret.fernetKey=<output-of-fernet-generate-key> \
  --set externalPostgresql.host=postgres.database.svc.cluster.local \
  --set externalPostgresql.username=bng_user \
  --set externalPostgresql.password=change-me-db-password \
  --set externalPostgresql.database=bng_web

Generate the required backend keys before installation:

# Generate backend.secret.secretKey
openssl rand -hex 32

# Generate backend.secret.fernetKey
openssl rand -base64 32 | tr '/+' '_-'
  • Use the first output for backend.secret.secretKey.
  • Use the second output for backend.secret.fernetKey.
  • Keep both values stable across upgrades. Changing secretKey invalidates existing login tokens; changing fernetKey makes previously encrypted credentials unreadable.

The chart already defines default image repositories and tags in values.yaml. Override them only when deploying a different build. ghcr-pull-secret must already exist in the target namespace.

Ingress

By default the chart is configured for path-based ingress at:

/bngblaster-gui

Key values:

ingress:
  enabled: true
  className: ""
  host: ""
  path: /bngblaster-gui

When you use a host or IP with this path, requests are routed as:

http://<host-or-ip>/bngblaster-gui -> frontend
http://<host-or-ip>/bngblaster-gui/api -> backend

Database

The backend always connects with:

  • externalPostgresql.host
  • externalPostgresql.port
  • externalPostgresql.username
  • externalPostgresql.password
  • externalPostgresql.database

When deploying this chart you should provide:

  • externalPostgresql.host
  • externalPostgresql.port
  • externalPostgresql.username
  • externalPostgresql.password
  • externalPostgresql.database
externalPostgresql:
  host: pgpool.database.svc.cluster.local
  port: 5432
  username: bng_user
  password: change-me-db-password
  database: bng_web

Persistence

Backend data is mounted through a PersistentVolumeClaim. By default, the chart also creates a retained static PersistentVolume backed by the host path:

<global.basePath>/<namespace>/backend-data

Key values:

backend:
  replicaCount: 1

sharedVolume:
  volumeName: backend-data
  path: /app/app/data
  pvcName: backend-data-pvc
  storageSize: 2Gi
  accessModes: ReadWriteOnce
  storageClass: backend-data-hostpath

Managed PV/PVC names include the Helm release fullname to avoid install collisions between releases in the same namespace.

The default host path is:

<global.basePath>/<namespace>/backend-data

The chart-managed PV is hostPath-backed and ReadWriteOnce by default. For multiple backend replicas, prefer network-backed RWX storage.

Production Values

Review these before production:

  • ingress.*
  • backend.secret.secretKey
  • externalPostgresql.*
  • backend.secret.googleClientId
  • backend.secret.googleClientSecret
  • backend.secret.googleRedirectUri
  • backend.secret.keycloakServerUrl
  • backend.secret.keycloakRealm
  • backend.secret.keycloakClientId
  • backend.secret.keycloakClientSecret
  • backend.secret.keycloakRedirectUri
  • SSO client IDs and secrets

Deploy bngblaster-gui with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has bngblaster-gui 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 chartbngblaster-gui is pinned at v0.1.5 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