isms-builder

by Ankra

Helm chartv0.1.0App 1.40.2AGPL-3.0-onlyVerified publisher

ISMS Builder on Kubernetes - the open-source ISO 27001 / NIS2 ISMS template builder, digest-pinned, non-root, persistent, network-restricted by default, with managed-secret guardrails.

About this chart

isms-builder

ISMS Builder on Kubernetes - the open-source ISO 27001 / NIS2 ISMS template builder (AGPL-3.0). Upstream publishes a multi-arch container image but no Helm chart, so this one wraps it:

  • Digest-pinned image - upstream's own ghcr.io/coolstartnow/isms-builder, pinned by digest so a moved tag cannot change what runs.
  • Non-root, restricted-profile runtime - the image's docker-compose entrypoint starts as root to chown a bind mount; the chart bypasses it and runs the server directly as the image's isms user (uid 100), read-only root filesystem, no capabilities, satisfying the PodSecurity restricted profile.
  • Persistent by default - JSON stores, the sqlite database and every uploaded file live on a PersistentVolumeClaim at /app/data, kept on uninstall (persistence.retain).
  • Managed secrets - JWT_SECRET (required), DB_PASS and SMTP_PASS come from a Secret you manage or an ExternalSecret; inline values are refused unless waived.
  • Network-restricted - a default NetworkPolicy limits the pod to DNS and its own namespace in both directions; an ISMS holds your security records and has no business on the open internet.

Quick start

kubectl create namespace isms
kubectl -n isms create secret generic isms-credentials \
  --from-literal=JWT_SECRET="$(openssl rand -base64 48)"

helm repo add ankra https://ankraio.github.io/ankra-charts
helm install isms ankra/isms-builder -n isms \
  --set secrets.existingSecret=isms-credentials

Then open the app (see the release notes for the URL) and log in.

A fresh installation seeds the user admin with the password adminpass - change it before anyone else can reach the Service. Do not put an Ingress in front of an installation that still has the seeded credential.

Storage backends

storage.backendRecords live inNotes
json (default)JSON files on the data volumeUpstream's default; zero dependencies
sqliteSQLite on the data volumeSingle file, data/isms.db
postgresPostgreSQLNeeds storage.database.host + DB_PASS in the Secret
mariadbMariaDBNeeds storage.database.host + DB_PASS in the Secret

Uploaded files (GDPR documents, guidance attachments, template files) stay on the data volume with every backend, so persistence matters even with an external database. That is also why replicaCount is fixed at 1 - a second replica would hold a different ISMS; the render refuses it.

Hardening guardrails

helm template/install fails with a named reason instead of shipping a weaker Deployment. Each rule has its own waiver under hardening.*:

RefusedWaiver
No JWT_SECRET sourcenone - it signs every login token
image.tag without image.digestallowMutableImageTag
Inline secrets.<KEY> valuesallowInlineSecrets
Root, writable rootfs, added capabilities, mounted SA tokenallowPrivilegedRuntime
networkPolicy.enabled=falseallowUnrestrictedNetwork
replicaCount != 1, SQL backend without host/DB_PASSnone - they do not work

Secrets

Every key of the configured Secret lands in the container environment:

KeyRequiredUsed for
JWT_SECRETalwayssigns login tokens; rotate to invalidate all sessions
DB_PASSpostgres / mariadb backendsdatabase password
SMTP_PASSwhen smtp.user is setSMTP authentication

Point secrets.existingSecret at a Secret you manage (SOPS, sealed-secrets, Vault), or let the External Secrets Operator deliver it via externalSecret.* - see values-examples/production.yaml.

Reaching out: SMTP, external databases

The default NetworkPolicy allows egress only to DNS and the pod's own namespace. An SMTP relay, an Ollama endpoint or a database in another namespace needs an explicit networkPolicy.egress.extra rule - see the commented example in values-examples/postgres.yaml.

Values examples

FileShows
values-examples/minimal.yamlsmallest guardrail-satisfying install
values-examples/postgres.yamlPostgreSQL backend next to the app
values-examples/production.yamlESO secrets, TLS Ingress, postgres, real client addresses

Verifying what you install

The chart is also published as an OCI artifact with keyless signatures:

helm pull oci://ghcr.io/ankraio/ankra-charts/isms-builder

See the repository README for signature verification.

Deploy isms-builder with OpenTenant

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