Pledge connects to infrastructure provisioned by your platform team or managed providers. Install and operate PostgreSQL, object storage, secret management, and Kafka independently of the Pledge Helm release. Your providers own their installation, upgrades, availability, and backups; Pledge owns its application workloads and connection configuration.
PostgreSQL
Use an existing PostgreSQL service or provision one through your database provider. If your platform uses CloudNativePG, manage its operator and database cluster as a separate infrastructure release. Supply the writer endpoint, optional reader endpoint, trusted CA, and application credentials to Pledge:
postgres:
mode: external
clientCertificates: false
poolMaxConnections: 10
external:
endpoint: postgres-writer.example.com
readEndpoint: postgres-reader.example.com
secretPath: postgres-credentials
Provision username and password fields at the selected secret-store path. If there is no separate read endpoint, omit readEndpoint; the chart points both services at the writer. Provide the required database/schema and migration permissions for the release.
Configure verified TLS using the database provider’s CA and endpoint names. Allow connections from Pledge workloads and grant the application the database/schema and migration permissions required by its release.
Set database capacity for both steady-state connections and rollout surge. See runtime configuration.
S3-compatible object storage
Create the document bucket, enable versioning, and provision an access key with the operations needed by uploads, reads, generated output, and recovery. Preserve old object versions under your retention policy. Pledge refuses to start against an unversioned document bucket.
objectStore:
mode: external
bucket: acme-claims-documents
region: us-east-1
versioning: true
external:
endpoint: https://s3.us-east-1.amazonaws.com
secretPath: objectstore
The external adapter’s secret fields are named MINIO_ROOT_USER and MINIO_ROOT_PASSWORD for historical compatibility. Put the provider’s access key ID and secret access key in those fields; the field names do not require using a MinIO root account.
The endpoint must be HTTPS and reachable by the API and workers. Include the appropriate trust chain for a private object store. Upload clients also need access to the returned upload endpoint; a bucket reachable only from pods can prevent browser or partner uploads.
Pledge also writes the log archive to its own bucket on the same endpoint and credentials (log.archive.bucket, claims-log by default). It must not be the documents bucket or the database backup bucket; the chart refuses either. Archive objects are written once and never overwritten.
Do not place a deletion policy on prior versions without accounting for confirmed document references. Back up metadata and objects together; see recovery.
Platform secret delivery
The chart creates ExternalSecrets from the inventory in charts/pledge/files/secrets.yaml. The inventory names remote keys, fields, destination Kubernetes Secrets, and the adapters that consume them. Provision the entries selected by your enabled adapters before starting workloads.
| Inventory entry | Fields | Purpose |
|---|---|---|
claims-platform-key |
platform-key |
Initial platform administrator API key |
metrics-reader |
metrics-key |
Dedicated metrics credential with telemetry permissions |
checkpoint-signing-key (or configured checkpoint name) |
key |
Ed25519 signing seed, 64 hexadecimal characters |
| Kafka external secret path | username, password, mechanism |
Broker authentication |
| PostgreSQL external secret path | username, password |
Database authentication |
| Object-store external secret path | MINIO_ROOT_USER, MINIO_ROOT_PASSWORD |
S3 access key pair |
The platform and metrics API keys use the release’s plg_<8 base32>_<43 base64url> format. Use the release’s credential provisioning procedure; arbitrary strings do not replace correctly formatted keys. Other user/integration keys are issued through the identity API.
Additional selected adapters, including notifications, require their own inventory entries. Demo seed values are examples for the lab and must not become production credentials.
Vault
Use a Vault service operated by your platform team or provider. Pledge does not install, initialize, unseal, or upgrade Vault. Those operations belong to the Vault service’s lifecycle.
Provide the Vault HTTPS endpoint, trusted CA, KV v2 mount, and Kubernetes authentication configuration. Authorize External Secrets to read the platform credential paths and authorize Pledge’s runtime identity to resolve the required versioned tenant secrets.
Keep those permissions separate: External Secrets delivers platform credentials to workloads, while the application resolves tenant secrets such as OIDC client credentials. Retain secret versions referenced by published tenant configuration and verify access through both paths before onboarding a tenant.
AWS Secrets Manager
secrets:
mode: aws
aws:
region: us-east-1
The chart’s ClusterSecretStore uses JWT authentication through the external-secrets service account in namespace external-secrets. Configure that account’s cloud identity and least-privilege access before expecting synchronization.
Inventory entries are JSON secret objects named claims/<path>. Selecting this backend supplies platform credentials through External Secrets; separately confirm the runtime adapter used to resolve versioned tenant secrets, such as OIDC client secrets.
Verify the dependency boundary
kubectl get clustersecretstore claims
kubectl -n claims get externalsecrets
kubectl -n claims get certificates
kubectl -n claims get pods
Check synchronization and certificate status, then inspect startup failures for the exact dependency. Do not print Secret contents as a routine health check. Proceed to install Pledge once the selected infrastructure, trust, and credentials are ready.