Public: anyone can read this; nobody can change it.

workbenchthis machine

DOM-1a: fork-reseal cloudflare-dns-api token per daughter (#24) #53

Merged opened this view on origin

Check · Review · Land done · Live — Landed; nothing deploys from this branch, so this is the end of its path.

Merged

feat/dom-1a-fork-reseal-cloudflare-token → main 1 commit

  • Merged. feat/dom-1a-fork-reseal-cloudflare-token was merged into main.

Review

Sign in to review this change.
1 file changed +13 −0
bin/lib.sh +13
@@ -308,6 +308,19 @@ stringData:
308308 EOF
309309 ( cd "$g" && sops --encrypt --in-place "$P/registry-pull-secret.yaml" )
310310
311 # cloudflare-dns-api (DOM-1a, plat/mitosis#24) — the ACME DNS-01 solver token for
312 # the letsencrypt-dns01 ClusterIssuer. Only present in seeds that carry the
313 # plat/gitops letsencrypt component; on older seeds this whole block no-ops, so it
314 # is forward-compatible. Reseal the operator-provided CLOUDFLARE_DNS_API_TOKEN to
315 # the fork key (empty if unset — the issuer then stays inert and the internal CA
316 # still serves; supply the token at germination to activate public ACME TLS). This
317 # replaces the shipped UNSEALED placeholder so fork_verify_all_sealed is satisfied.
318 if [ -f "$g/$P/letsencrypt/cloudflare-dns-api.yaml" ]; then
319 _fork_seal "$g" "$P/letsencrypt/cloudflare-dns-api.yaml" cloudflare-dns-api cert-manager "$_FORK_LBL_MANAGED" <<EOF
320 api-token: "${CLOUDFLARE_DNS_API_TOKEN:-}"
321 EOF
322 fi
323
311324 git -C "$g" add -A
312325 git -C "$g" -c user.email=mitosis@plat -c user.name=mitosis commit -q -m "mitosis fork: regenerate platform secrets (sealed to sovereign key)" || true
313326

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs