Configure Azure PostgreSQL workload identity
Human verified
A human reviewed this page, but it may be out of date. Later edits may not have been reviewed.
Use this page only when the OCE database uses Azure workload-identity authentication. It is optional for Kubernetes installation. The Helm chart does not configure identity federation or token projections.
Requirements
- The shared Kubernetes requirements.
- Separate application and migrator workload identities, federation, and database grants; keep migrator privileges confined to migration.
- Password-free database URLs with certificate and hostname verification.
- Identity environment variables and a readable, renewed federation-token projection for migration, bootstrap, API, and worker processes.
Prepare each database client
- Prepare the protected application and migration URL files used by system Secret provisioning. Use the application identity for bootstrap, API, and worker; use the migrator identity only for migration.
- Configure each process with
OCC_DATABASE_AUTH=azure-workload-identityand its identity inputs. The deployment must renew each projected federation-token file. - Use the selected-image migration command with the migrator identity when preparing the database.
Helm boundary
Migration and bootstrap share an initialization Pod and service account. The operator must supply their distinct identity inputs; changing the database URL Secrets alone does not enable Azure mode. The stock chart does not provide this identity configuration.
Resume control plane installation only after the deployment supplies the required identity inputs to each database client. See connection behavior for token renewal and rejected configurations.
