-
v0.4.0
StableAll checks were successfulreleased this
2026-08-16 18:01:57 +00:00 | 2 commits to main since this releaseWhat's Changed
Breaking
- feat: migrate to CDK v0.18 database-authoritative configuration (#33)
CDK v0.18 stores the authoritative mint configuration in the mint database; a normal
cdk-mintdstart no longer readsconfig.tomlor applies operationalCDK_MINTD_*environment overrides. The operator now renders a v0.18 import document into the ConfigMap, and a newconfig-initinit container runscdk-mintd config validate+config init(first start) orconfig apply(subsequent starts) beforemintdlaunches. Existing v0.17 mints are imported automatically on the first v0.18 start, with signer identity verified against the stored mint public key.Highlights:
[payment_backend]/backendreplaces[ln]/ln_backend;tls_dirreplacestls_dir_path; plaintext gRPC processor and management RPC connections now setallow_insecure = trueexplicitly- Secrets (PostgreSQL URLs, mint mnemonic, LDK RPC password/node mnemonic, Redis connection string) are rendered as
env:references and injected from Secrets at runtime — literal credentials never enter the ConfigMap - Pod environment slimmed down to bootstrap settings (work dir, database engine, postgres connection) plus
env:-referenced secrets - LNBits removed:
spec.paymentBackend.lnbitsis rejected by the webhook (first-class support was removed upstream in CDK v0.18); front LNBits with an external gRPC payment processor instead - New
spec.ldkNode.bitcoinRpc.userliteral field as an alternative touserSecretRef - Default mint image:
cashubtc/mintd:0.18.0-rc.0
Maintenance
- fix(ci): use REGISTRY_TOKEN secret for Forgejo registry push (
77cad60)
Upgrade notes
⚠️ Back up the mint database before upgrading. CDK v0.18 runs automatic database migrations on first open, and downgrading afterwards requires restoring the backup.
- Keep the same mint mnemonic —
config initrefuses to attach a different signer to an existing mint. - Mint metadata or quote TTL previously changed through the management RPC outside the CR is overwritten by the
CashuMintspec on the first v0.18 start; record current values withcdk-mint-cli get-info/get-quote-ttlbefore upgrading if needed. - If a staged configuration fails at startup, restore the previous document with
kubectl exec deployment/<name> -c mintd -- cdk-mintd config rollbackand restart the pod. - LNBits mints must migrate to
spec.paymentBackend.grpcProcessor(with an external processor in front of LNBits) before upgrading.
See the migration guide for details.
Install
kubectl apply -f https://git.cashu.dev/asmo/cashu-operator/releases/download/v0.4.0/install.yamlFull Changelog: https://git.cashu.dev/asmo/cashu-operator/compare/v0.3.2...v0.4.0
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads