Repository navigation
feat(DM01-6630): support Cloud SQL credentials from External Secrets - #663
Merged
Merged
Conversation
yuan-on-ai
approved these changes
Dec 3, 2026
Jiachen0715
approved these changes
Dec 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cloud SQL credentials stored in Helm values can overwrite a rotated Kubernetes Secret during an ArgoCD sync, breaking database connectivity. Add an opt-in
database.cloudsql.external_secretconfiguration that reads the service-account JSON from an external secret store.All Cloud SQL proxy consumers, including the migration Job, mount a separate generated Secret. ArgoCD creates the system namespace first, then waits for the ExternalSecret before applying workloads. Legacy inline configuration remains the default. The distinct Secret name avoids ownership and pruning conflicts with the legacy Secret during migration.
Validation: 11 Helm rendering tests passed, including all nine proxy consumers, legacy/disabled modes, required configuration, exclusion of leftover inline credentials, and namespace ordering. Both production values files were rendered and compared to confirm only the expected credential resources, references, and namespace ordering changed.
Merge this chart support before enabling the option in deployment values. Runtime rollout remains a separate step.