bngblaster-gui
by SVTECH-NMAA
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
secretKeyinvalidates existing login tokens; changingfernetKeymakes 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.hostexternalPostgresql.portexternalPostgresql.usernameexternalPostgresql.passwordexternalPostgresql.database
When deploying this chart you should provide:
externalPostgresql.hostexternalPostgresql.portexternalPostgresql.usernameexternalPostgresql.passwordexternalPostgresql.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.secretKeyexternalPostgresql.*backend.secret.googleClientIdbackend.secret.googleClientSecretbackend.secret.googleRedirectUribackend.secret.keycloakServerUrlbackend.secret.keycloakRealmbackend.secret.keycloakClientIdbackend.secret.keycloakClientSecretbackend.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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartbngblaster-gui is pinned at v0.1.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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