Deploy the Vault Secrets Operator across clusters #1525
No reviewers
Labels
No labels
epic
fleet:hub
fleet:identity
fleet:ingress
fleet:offload
fleet:sveltos
needs-triage
ready-for-agent
ready-for-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/clusters!1525
Loading…
Reference in a new issue
No description provided.
Delete branch "vso-deploy-vault-secrets-operator"
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?
Closes #1524
Deploy the Vault Secrets Operator across clusters
ADR-0004 in
lab/iacdesignates the Vault Secrets Operator (VSO) as the read path for Vault secrets — per-appVaultAuth(serviceAccountRefto the app's own SA) syncing scoped KV paths into native Kubernetes Secrets viaVaultStaticSecret. VSO is currently documented but deployed nowhere. This change ships the operator itself.Scope
Deploy VSO on the clusters that already consume Vault via the ESO
vault-backendClusterSecretStore:miniportable(runs the Vault server itself)remotemx2andlocalhostare out of scope.Deliverables
generic-templates/vault-secrets-operator/— a shared template mirroringgeneric-templates/cnpg/+ the tofu-controllercrds: Createidiom:HelmRepository hashicorp→https://helm.releases.hashicorp.comHelmRelease vault-secrets-operatorv1.5.1 (chart self-manages CRDs viainstall.crds: Create/upgrade.crds: CreateReplace)defaultVaultConnection.enabled: true→https://vault.animeteamspeak.moe(public letsencrypt cert, noskipTLSVerify/caCertSecret)defaultAuthMethod.enabled: false— ADR-0004 mandates per-appVaultAuth, no shared operator identityKustomizationpointerclusters/<name>/vault-secrets-operator.yamlfor mini, portable, remote.hashicorpHelmRepository fromclusters/portable/helmsources/andclusters/remote/helmsources/(the template ships the identical source;clusters/portable/vault/helmRelease.yamlis unaffected — same name/url).Out of scope (separate
lab/iacwork, per ADR-0004)kubernetesauth backend + token-reviewervault_kubernetes_auth_backend_rolebound toapp-a-vsoapp-a-vsoServiceAccounts and per-appVaultAuth/VaultStaticSecret/VaultAuthGlobalCRs in app reposThe operator reconciles fine without these; only actual
VaultStaticSecretCRs trigger Vault logins. ESOClusterSecretStore vault-backendstays (write path + existing apps).Pull request closed