psono

by Ankra

Helm chartv1.2.0App 5.0.0Apache-2.0Verified publisher

Helm chart for Psono — self-hosted password manager. Packages the Psono server, web client and (optional) admin client. Brings your own PostgreSQL, secret-keys Secret and (optional) ingress.

About this chart

psono

Psono — self-hosted password manager — packaged as a Helm chart. Bundles the server, web client and (optional) admin client behind a single Ingress (Traefik by default).

This chart is bring-your-own:

  • PostgreSQL — you provide a Secret with the connection details.
  • Psono secret keys — you provide a Secret with the Django + Psono crypto material.
  • SMTP — optional, you provide a Secret if you want outbound mail.

TL;DR

# 1. Make sure your Psono PostgreSQL Secret and secret-keys Secret already
#    exist in the target namespace (see "Required Secrets" below).

# 2. Install the chart from GHCR.
helm install psono oci://ghcr.io/ankraio/ankra-charts/psono \
  --version 1.2.0 \
  -n psono --create-namespace \
  --set base_url=https://psono.example.com \
  --set domain=example.com \
  --set ingress.enabled=true \
  --set ingress.tls.enabled=true

Requirements

RequirementNotes
Kubernetes>= 1.20 (enforced by Chart.yaml's kubeVersion). Ingress renders networking.k8s.io/v1.
PostgreSQLExternally managed (e.g. CloudNativePG, Zalando, Crunchy, RDS). The chart only consumes a Secret.
Ingress controllerTraefik by default (ingress.ingressClassName: traefik). The chart renders a Traefik StripPrefix Middleware that strips /server before it reaches the Psono server. Other controllers work — override the class and add controller-specific annotations via ingress.annotations (the server expects the /server prefix to be stripped).
cert-managerOptional. If ingress.tls.enabled=true, the chart references a TLS Secret named after base_url's host (override with ingress.tls.secretName).

Required Secrets (Bring Your Own)

Names are configurable via server.secret_keys_secret_name, server.database_secret_name and server.email_secret_name.

psono-secret — server crypto material

apiVersion: v1
kind: Secret
metadata:
  name: psono-secret
type: Opaque
stringData:
  secret_key: "<django SECRET_KEY>"
  activation_link_secret: "<random 32+ char string>"
  db_secret: "<random 32+ char string>"
  email_secret_salt: "<random 32+ char string>"
  public_key: "<nacl public key hex>"
  private_key: "<nacl private key hex>"

The public_key / private_key pair is generated once during initial Psono setup — see the upstream server install docs.

psono-database-secret — PostgreSQL connection

apiVersion: v1
kind: Secret
metadata:
  name: psono-database-secret
type: Opaque
stringData:
  name: psono
  username: psono
  password: "<db password>"
  host: psono-postgresql.psono.svc.cluster.local
  port: "5432"
  engine: django.db.backends.postgresql

psono-email-secret — SMTP (optional)

SMTP env vars are commented out in templates/server_deployment.yaml. Uncomment the block (or use server.extraSecretEnvironmentVars) to wire this in:

apiVersion: v1
kind: Secret
metadata:
  name: psono-email-secret
type: Opaque
stringData:
  from: [email protected]
  host: smtp.example.com
  port: "587"
  use_tls: "True"
  use_ssl: "False"
  user: psono
  password: "<smtp password>"
  backend: django.core.mail.backends.smtp.EmailBackend

Install

From GHCR (OCI)

helm install psono oci://ghcr.io/ankraio/ankra-charts/psono \
  --version 1.2.0 \
  -n psono --create-namespace \
  -f my-values.yaml

Private clusters need a registry login first:

helm registry login ghcr.io -u <github-user> -p <github-pat-with-read:packages>

From source (local checkout)

helm install psono ./psono -n psono --create-namespace -f my-values.yaml

Components

ComponentDefault imageToggleService port
Serverpsono/psono-server:5.0.0server.enabled=true10100
Web clientpsono/psono-client:3.6.2webclient.enabled=true10101
Admin clientpsono/psono-admin-client:1.7.12adminClient.enabled=false10102

When ingress.enabled=true, a single Ingress fronts all three under one host (base_url), all with pathType: Prefix:

  • /server → server (the /server prefix is stripped by a Traefik Middleware before the request reaches the server)
  • /portal → admin client (when enabled)
  • / → web client (catch-all, registered last)

ConfigMap changes roll the web client / admin client Deployments automatically via a checksum/config pod annotation. The server ships liveness/readiness probes against Psono's /healthcheck/ endpoint (server.livenessProbe / server.readinessProbe, set to null to disable).

Configuration reference

See values.yaml for the full list. Key knobs:

KeyDefaultDescription
base_url"" (REQUIRED)Public URL, e.g. https://psono.example.com. Used in env vars, Ingress host and TLS secret name.
domain""Default user domain, surfaced to the web/admin clients.
imagePullSecrets[]Pull secrets for all components (override per component with e.g. server.imagePullSecrets).
ingress.enabledfalseRender the shared Ingress object.
ingress.ingressClassName"traefik"IngressClass to bind. With traefik, a StripPrefix Middleware for /server is rendered and attached automatically.
ingress.tls.enabledfalseAdd a tls: block keyed off base_url's host.
ingress.tls.secretName""TLS secret name; defaults to the host derived from base_url.
server.enabledtrueRender the server Deployment/SA/Service.
server.replicas1Server replica count.
server.image.tag5.0.0Server image tag.
server.livenessProbe / server.readinessProbe/healthcheck/ httpGetServer probes; set to null to disable.
server.allowed_domains[]List of allowed domains, rendered comma-separated into PSONO_ALLOWED_DOMAINS.
server.allow_registrationfalseAllow new-user self-registration on the server.
server.multifactor_enabledtrueEnable MFA on the server.
server.allowed_second_factors"google_authenticator"Comma list of allowed second factors.
server.secret_keys_secret_namepsono-secretSecret with secret_key, activation_link_secret, db_secret, email_secret_salt, public_key, private_key.
server.database_secret_namepsono-database-secretSecret with name, username, password, host, port, engine.
server.email_secret_namepsono-email-secretSecret with SMTP config (only wired in if you uncomment the block in templates/server_deployment.yaml).
server.env{}Arbitrary extra env vars (e.g. PSONO_*) as key/value pairs.
server.extraSecretEnvironmentVars[]Project arbitrary PSONO_* env vars from existing Secrets.
webclient.enabledtrueRender the web client Deployment/SA/Service/ConfigMap.
webclient.replicas1Web client replica count.
webclient.image.tag3.6.2Web client image tag.
webclient.title"Password Manager"Backend server title shown in the clients.
webclient.allow_custom_servertrueSurface the "custom server" picker in the web UI.
webclient.allow_registrationfalseAllow registration in the web client UI.
webclient.allow_lost_passwordtrueAllow lost-password recovery in the web client UI.
webclient.disable_download_barfalseHide the download bar in the web client UI.
webclient.authentication_methods["AUTHKEY"]Auth methods exposed in the web client config.
adminClient.enabledfalseRender the admin client Deployment/SA/Service/ConfigMap.
adminClient.replicas1Admin client replica count.
adminClient.image.tag1.7.12Admin client image tag.

Both client ConfigMaps (web + admin portal) are rendered from the same webclient.* options.

Uninstall

helm uninstall psono -n psono

The bring-your-own PostgreSQL and Secrets are not touched.

See also

  • Upstream Psono server install docs.
  • Sibling charts in this repo: upcloud-ccm, upcloud-csi, cloudflare-operator.

Deploy psono with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has psono 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 chartpsono is pinned at v1.2.0 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