license-server
Helm chartv0.6.1App 0.6.1Verified publisher
A Helm chart for Loft License Server
About this chart
License Server Helm Chart
This chart guide documents the offline license key setup and uses existingSecret for all sensitive configuration.
Prerequisites
- Kubernetes 1.19+
- Helm 3.0+
Secret Keys Used by the Chart
Create a Kubernetes secret that contains:
offline-license-keypostgres-password(required whenpostgresql.enabled=true)postgres-dsn(required whenpostgresql.enabled=false)
Install with Embedded PostgreSQL (using existingSecret)
- Create the secret in your target namespace:
kubectl create secret generic license-server-config \
--namespace license-server \
--from-literal=postgres-password='my-password' \
--from-literal=offline-license-key='<your-offline-license-key>'
- Install the chart with embedded PostgreSQL enabled and secret reuse:
helm install license-server license-server \
--repo https://charts.loft.sh \
--namespace license-server \
--set postgresql.enabled=true \
--set existingSecret=license-server-config
Install with External PostgreSQL (using existingSecret)
- Create the secret in your target namespace:
kubectl create secret generic license-server-config \
--namespace license-server \
--from-literal=postgres-dsn='postgres://<user>:<password>@<host>:5432/license_server?sslmode=require' \
--from-literal=offline-license-key='<your-offline-license-key>'
- Install the chart with embedded PostgreSQL disabled and secret reuse:
helm install license-server license-server \
--repo https://charts.loft.sh \
--namespace license-server \
--set postgresql.enabled=false \
--set existingSecret=license-server-config
Uninstall
helm uninstall license-server --namespace license-server
Deploy license-server with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has license-server 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 chartlicense-server is pinned at v0.6.1 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