feat(db): add notifications service to shared postgresql cluster#255
Merged
Conversation
Mirror the iris/dopamenu/plates entries so the merged techgarden notifications manifests (PR #91, ADR-0025) can deploy: - Database CR: notifications DB, owner notifications_app (retain policy) - managed.role notifications_app (LOGIN NOSUPERUSER NOBYPASSRLS) - notifications-db-app-credentials ExternalSecret (databases ns) for the role password; Bitwarden entry notifications-db-app-credentials (7015df9c), same entry feeds the app namespace (parity)
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.
Adds the
notificationscore service to the shared cnpgpostgresqlcluster (nsdatabases), the homelab-side infra that the already-merged techgarden manifests (PR #91, ADR-0025) need to deploy.Mechanical mirror of the existing iris / dopamenu / plates entries — DB-per-service on the one shared cluster (ADR-0018):
notifications-database→ databasenotifications, ownernotifications_app,databaseReclaimPolicy: retain.notifications_app—LOGIN NOSUPERUSER NOBYPASSRLS(RLS invariant), password fromnotifications-db-app-credentials.notifications-db-app-credentials(nsdatabases) → materialises the role password from the new Bitwarden entrynotifications-db-app-credentials(7015df9c). Same entry feeds the app-namespace secret in techgarden (password parity).Bitwarden entries created (Secrets Manager, project
72a9d5cf):notifications-db-app-credentials(7015df9c) — NEW, DB app-role password.notifications-service-token(f61e8830) — NEW, shared east-westX-Service-Token(companion techgarden PR wires the UUID).kubectl kustomizebuilds clean. Once merged, ArgoCD self-heals the shared cluster: the role + DB appear andnotifications-db-app/notifications-db-app-credentialsExternalSecrets go SecretSynced.Companion: techgarden PR fills the two placeholder UUIDs in
projects/notifications/deploy/overlays/dev/notifications-secrets.yaml.🤖 Generated with Claude Code