Skip to content

Connect Chat2DB to Hazy Trade production read-only - #8

Merged
PaleHazy merged 3 commits into
mainfrom
feature/prod-hazytrade-datasource
Jul 26, 2026
Merged

PaleHazy merged 3 commits into
mainfrom
feature/prod-hazytrade-datasource

Conversation

@PaleHazy

Copy link
Copy Markdown

Summary

  • add an application-native, idempotent managed PostgreSQL datasource reconciler
  • read the database password and trust root only from mounted Secret files and require TLS verify-full
  • project the dedicated Hazy Trade read-only credential from Azure Key Vault with External Secrets
  • configure the production datasource declaratively and provide a rollout revision for credential rotation

Safety

  • ownership is keyed by explicit managedBy/managedKey metadata; unmanaged aliases are never adopted
  • create and update both pre-connect before persistence and reject alias collisions
  • the production role is a dedicated database-enforced read-only role; no password or connection URI is committed

Verification

  • managed reconciler tests: 7 passed
  • bootstrap adapter tests: 5 passed
  • focused Java reactor builds: passed
  • Helm lint/render test: passed
  • production Helm render plus Kubernetes server-side dry-run: passed
  • independent security/correctness review: no merge-blocking findings

@PaleHazy
PaleHazy merged commit b473847 into main Jul 26, 2026
8 of 9 checks passed
@PaleHazy
PaleHazy deleted the feature/prod-hazytrade-datasource branch July 26, 2026 05:34
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