Moving the main Infisical instance from mini-m2 to x1
The Secrets Operator now delivers secrets on both clusters.
Until today my older Infisical on mini-m2 was the main one, with the new one on x1 kept in sync. Today I made x1 the main one.
Secrets into the clusters. I installed the Infisical Secrets Operator on both clusters. It logs in with a read-only machine identity through Universal Auth. An InfisicalSecret resource says which secret to copy into which Kubernetes Secret.
To test it, I deleted the runner’s registration Secret on the Dell cluster. The operator recreated it, and its SHA-256 matched the original.
Argo CD and server-side apply. One Application used server-side apply, and it rejected the InfisicalSecret because of a defect in the CRD’s schema. Removing ServerSideApply=true from that Application let it sync.
The cutover.
- Pointed the cloud sync at the x1 instance. It reported
succeeded. - Set the old instance’s agent identity to viewer, so it’s read-only.
- Moved my workstation’s agent credentials to x1. The check reported 85 secrets.
The old instance still runs, read-only, until I’m sure nothing reads from it.
Recipes written later from this work: