chore(platform): drop the unused GCP service account key #682
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/drop-unused-gcp-key"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
XPlatformmints a key forseanfarm-platform-iamand writes it to Secretclouddns-service-accountin theopenbaonamespace. Nothing reads it.The stated consumer does not exist
The comment claims OpenBao's GCP secrets engine uses the key so per-tenant
external-dns rolesets can mint ephemeral SAs. Verified against the cluster:
openbaogcprolesetsopenbaogcpsecretsbackendsapis/stack, deleted along with the tenantsIt is not the credential cert-manager uses
There are two Secrets with the same name, and the live one is the other:
cert-managercredentials.jsondns-admin-credentials, generated byrun-ensure-dns-iam.shopenbaoprivate_key,attribute.private_keyNo workload, CR or manifest references the
openbaoone.So this is a live GCP service account private key sitting in the cluster,
unused and unrotated — and the only composed resource without
deletionPolicy: Retain. Removing it from the composition deletes the key inGCP, which is the point. The service account itself is unaffected;
run-ensure-platform-iam.showns that, not Crossplane.First step of retiring Crossplane
Ten APIs are already gone and the README records where each concern went.
XPlatformis the last composition. After this it composes ten resources, allOpenBao consumer CRs carrying
deletionPolicy: Retain— which is what makes theremaining steps safe.
All platform-seanfarm guards pass.
https://claude.ai/code/session_01GfkEuwuvGSqGyXVuxwT7PA