opensign
by HelmForge
Production-ready OpenSign electronic signature platform with MongoDB and durable document storage
About this chart
OpenSign Helm chart
Deploy OpenSign, an open-source electronic signature platform, with separate frontend and API workloads, HelmForge MongoDB, durable document storage, External Secrets, and hardened Kubernetes networking.
Features
- Separate frontend and Parse API workloads with independent process listeners.
- Bundled or external MongoDB, retained local documents, and S3-compatible storage.
- Generated, existing, or External Secrets-backed application credentials.
- Ingress, Gateway API, dual-stack Services, HPA, disruption budgets, and NetworkPolicy.
- Pinned official image digests with non-root execution and explicit security boundaries.
Install
helm install opensign oci://ghcr.io/helmforgedev/helm/opensign \
--version 1.0.0 \
--namespace opensign \
--create-namespace
The first user is created through the application. Configure HTTPS, a stable master key, a signing certificate, SMTP, and tested backups before accepting production documents.
Architecture
OpenSign consists of a React frontend and a Parse Server backend. Their real
listeners default to ports 3000 and 8080 and are configured through
containerPorts.frontend and containerPorts.backend. The chart exposes them
through separate Services and public hostnames because the backend owns
root-level Parse routes in addition to /app.
The application listener ports are independent from service.frontendPort and
service.backendPort. Services, probes, and NetworkPolicies target the named
http ports, so listener overrides remain consistent end to end. Listener
values must be between 1024 and 65535 because the containers run non-root and
do not receive NET_BIND_SERVICE.
The frontend defaults to two replicas and supports HPA. The backend remains a
single Recreate replica because upstream runs migrations during startup and
local document storage uses one writable volume. MongoDB is supplied by the
HelmForge subchart or by an external URI.
Image provenance
Upstream publishes its deployment images through the mutable main channel.
This chart never renders that floating tag. It pins the official manifests
resolved for upstream v2.41.3 at commit
e5f2c5c0a9f65ec01d8a53e4bf3a390c7ade7bcd on 2026-10-21:
- Frontend:
docker.io/opensign/opensign@sha256:0ebc230eed21ced0d321a0df887c1a48e9f4bd423c2454fe865a262aec49f99a - Backend:
docker.io/opensign/opensignserver@sha256:cadfcaaa20bf40272aed43c91314362c1dac034b2a4651f50e5288d01c2b434d
Review the upstream release and re-verify both manifests before changing either digest.
Secrets and signing
When secrets.existingSecret is empty, the chart creates and retains a random
Parse master key. Production GitOps installations should provide an existing
Secret or use the canonical externalSecrets.items mapping so the identity can
be restored independently of the Helm release.
OpenSign signs documents with a base64-encoded PKCS#12 certificate. Configure
pfx-base64 and pfx-passphrase together. SMTP and S3 credentials are also
read from the same Secret; plain values exist only for bootstrap convenience.
Storage and recovery
storage.type=local mounts a retained PVC at /usr/src/app/files.
storage.type=s3 configures an S3-compatible bucket and uses an ephemeral
local work directory. Back up MongoDB, documents, the master key, certificate,
and integration credentials as one recovery set.
Restore the same OpenSign image digests into an isolated namespace, verify login, template access, upload, signing, download, and email delivery, and only then upgrade.
Public exposure and networking
Ingress and Gateway API are opt-in. Use distinct frontend and API hostnames,
terminate TLS at the controller, set config.publicUrl to the frontend origin,
and keep config.apiUrl ending in /app.
NetworkPolicy is enabled by default. It allows frontend-to-backend traffic,
DNS, MongoDB, public HTTP/HTTPS, and the configured SMTP port. Private database,
SMTP, S3, webhook, or proxy destinations require explicit
networkPolicy.extraEgress rules.
Both application containers run as UID/GID 1000 with dropped capabilities and
RuntimeDefault seccomp. The frontend root filesystem is read-only. The official
backend writes randomly named PFX work files in its application directory, so
its root remains writable; bounded volumes still isolate documents and /tmp.
This explicit upstream compatibility exception avoids copying the 643 MiB
node_modules tree during every Pod startup.
Availability
The default frontend has two replicas and an enabled PodDisruptionBudget.
Enable frontend.autoscaling only when resource metrics are available. The
backend intentionally remains a singleton; use resilient MongoDB and object
storage to protect state, and schedule upgrades with a brief API interruption.
Key values
| Value | Default | Purpose |
|---|---|---|
frontend.replicaCount | 2 | Stateless web replicas |
frontend.autoscaling.enabled | false | CPU or memory based frontend HPA |
frontend.podDisruptionBudget.enabled | true | Protect frontend availability |
containerPorts.frontend | 3000 | Real frontend Node.js listener |
containerPorts.backend | 8080 | Real backend Node.js listener |
mongodb.enabled | true | Bundled HelmForge MongoDB |
mongodb.auth.rootPassword | "" | Optional URI-safe password; empty lets the subchart generate one |
storage.type | local | Local PVC or S3-compatible documents |
storage.persistence.size | 10Gi | Local document capacity |
secrets.existingSecret | "" | Stable master key and integration credentials |
networkPolicy.enabled | true | Component-aware traffic isolation |
ingress.enabled | false | Kubernetes Ingress exposure |
gateway.enabled | false | Gateway API exposure |
Every value is documented in values.yaml and constrained by values.schema.json.
Examples
Use the reviewed production values as a starting point, then replace every hostname, Secret name, storage endpoint, and capacity with environment-specific values:
helm upgrade --install opensign oci://ghcr.io/helmforgedev/helm/opensign \
--namespace opensign \
--create-namespace \
--version 1.0.0 \
--values examples/production.yaml
Validation scenarios
The chart validates the default topology, immutable images, generated and external Secrets, local and S3 storage contracts, external MongoDB, Ingress, Gateway API, dual-stack Services, non-default application listeners, HPA, disruption protection, and invalid configuration fail-fast behavior. The k3d smoke discovers the real listeners, verifies both HTTP workloads, runtime UID 1000, stable master-key retention, clean logs/events, and MongoDB connectivity.
Security scan
Security Scan: opensign
| Framework | Score |
|---|---|
| MITRE | 100.00% |
| NSA | 91.08% |
| SOC 2 | 96.00% |
| Aggregate resource score | 93.99% |
Kubescape reported no critical or high-severity failures. The remaining medium and low findings are limited to the maintained MongoDB dependency, whose writable data filesystem and bootstrap context are required by the upstream database image.
Troubleshooting
- If the frontend loads but API calls fail, verify that
config.apiUrlends in/appand resolves to the backend hostname from the browser. - If a Pod never becomes Ready after changing a listener, confirm that
containerPorts.frontendorcontainerPorts.backendis valid and that noextraEnventry attempts to overridePORT. - If signing fails, verify the PKCS#12 base64 payload and passphrase together; restore both from the same recovery set as the Parse master key.
- If uploads fail, inspect the retained PVC or S3 credentials and ensure the NetworkPolicy egress rules allow private storage endpoints.
Limitations
- Upstream does not publish immutable version tags for both deployment images; this chart therefore records verified release-associated digests.
- The backend is deliberately singleton because migrations run at startup.
- Local
ReadWriteOncestorage cannot support multiple backend replicas. - OpenSign does not expose a documented Prometheus endpoint, so the chart does not create a misleading ServiceMonitor.
Additional documentation
- Design
- Research
- Implementation plan
- External services
- Operations and recovery
- Production example
Deploy opensign with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has opensign 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 chartopensign is pinned at v1.0.2 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