deploy/helm/qubit-server.1234567kubectl create secret generic qubit-secret-key \ --from-literal=secret-key="$(openssl rand -base64 32)" helm install qubit deploy/helm/qubit-server \ --set publicUrl=https://qubit.example.com \ --set secretKey.existingSecret=qubit-secret-key \ --set ingress.enabled=true --set 'ingress.hosts[0].host=qubit.example.com'
1kubectl logs deploy/qubit-qubit-server | grep 'First-run setup'
secretKey.existingSecret the chart generates a key on first install and keeps it across
upgrades and uninstalls (helm.sh/resource-policy: keep). Back it up anyway:
kubectl get secret <name> -o yaml.Recreate strategy, and refuses replicaCount above 1. To run more replicas, use PostgreSQL:123456kubectl create secret generic qubit-db \ --from-literal=database-url='postgres://qubit:...@postgres:5432/qubit' helm upgrade --install qubit deploy/helm/qubit-server \ --set database.type=postgres --set database.postgres.existingSecret=qubit-db \ --set replicaCount=2 ...
| Value | Default | Meaning |
image.repository | ghcr.io/loopyreviews/qubit-server | |
image.tag | the chart's appVersion | Pin a commit SHA in production. |
replicaCount | 1 | Must stay 1 with SQLite. |
publicUrl | empty | QUBIT_PUBLIC_URL. |
allowSignups | true | QUBIT_ALLOW_SIGNUPS. |
trustProxy | true | QUBIT_TRUST_PROXY. On by default, because an ingress adds X-Forwarded-For. |
secretKey.existingSecret / .key | empty / secret-key | Where QUBIT_SECRET_KEY comes from. |
secretKey.previousKey | empty | Key in the same Secret holding QUBIT_SECRET_KEY_PREVIOUS, during a rotation. |
database.type | sqlite | sqlite or postgres. |
database.postgres.existingSecret / .key | empty / database-url | The Secret holding DATABASE_URL. |
database.maxConnections | 10 | QUBIT_DB_MAX_CONNECTIONS. |
smtp.existingSecret / .urlKey | empty / smtp-url | The Secret holding QUBIT_SMTP_URL. |
smtp.from, smtp.helo | empty | QUBIT_SMTP_FROM, QUBIT_SMTP_HELO. |
logLevel | info | RUST_LOG. |
extraEnv | [] | Any other setting, as name/value pairs. |
persistence.size | 1Gi | The SQLite volume. Also enabled, existingClaim, storageClass, accessModes. |
service.port / service.metricsPort | 8787 / 9787 | |
ingress.* | off | enabled, className, annotations, hosts, tls. |
metrics.serviceMonitor.enabled | false | Turn on with the Prometheus Operator. |
resources | 50m CPU, 128Mi requested; 512Mi limit |
65532 with a read-only root filesystem, no privilege escalation, every
capability dropped and the RuntimeDefault seccomp profile.smtp.*: see Email.
QUBIT_SMTP_URL wins over the dashboard's settings and makes them read-only.