Skip to content

Move non-sensitive runtime configuration out of Secret Manager - #3

Merged
AFAskar merged 1 commit into
masterfrom
codex/plain-runtime-config
Oct 23, 2026
Merged

AFAskar merged 1 commit into
masterfrom
codex/plain-runtime-config

Conversation

@AFAskar

@AFAskar AFAskar commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Ordinary application configuration is currently stored as billable Secret Manager versions. This changes NOTE_GOOGLE_CLIENT_ID and NOTE_GOOGLE_CALLBACK_URI to ordinary Cloud Run environment values while preserving passwords, connection strings, session keys, and other existing runtime settings.

The deployment reads the current service configuration, resolves only the allowlisted legacy configuration references, and replaces them atomically alongside the new image. Values are neither committed nor printed. Later deployments preserve the ordinary values without accessing the retired secrets. The workflow verifies revision readiness, 100% traffic, and the deployed environment.

Validation: seven migration tests pass locally; workflow YAML and git diff checks pass. Pull requests run the migration tests without deploying.

Rollout: the existing service must exist and the deployment identity needs access to the selected configuration versions for the initial migration. Access failure stops before deployment. Only after this PR is merged, the deployment succeeds, and other live consumers are checked should the corresponding GCP secrets be deleted. Previous revisions referencing the retired secrets are not safe rollback targets after deletion.

@coderabbitai

coderabbitai Bot commented Oct 23, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 17e48e36-1ae0-475d-b32d-f06584a284b1
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@AFAskar
AFAskar merged commit e2445b1 into master Oct 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant