Skip to content

fix: correct postgres service name and enable sslmode=require - #21

Merged
tonyferrell merged 1 commit into
mainfrom
fix/e2e-names-and-kubeconfig
Mar 28, 2026
Merged

fix: correct postgres service name and enable sslmode=require#21
tonyferrell merged 1 commit into
mainfrom
fix/e2e-names-and-kubeconfig

Conversation

@tonyferrell

Copy link
Copy Markdown
Contributor

Summary

  • Fix pgFullname constant: pg-postgrespg-ownpulse-postgres (matches Helm's <release>-<chart> naming)
  • Change DATABASE_URL from sslmode=disable to sslmode=require — encrypts API-to-Postgres traffic even inside k3d
  • Remove unused k3dContext constant

Depends on OwnPulse/ownpulse#104 (SQLx tls-rustls feature) for sslmode=require to work.

Test plan

  • go vet / go build / go test pass
  • opdev e2e up deploys successfully with correct service name
  • API connects to Postgres over TLS

🤖 Generated with Claude Code

- pgFullname: pg-postgres → pg-ownpulse-postgres (matches Helm fullname template)
- DATABASE_URL: sslmode=disable → sslmode=require (encrypt in-cluster traffic)
- Remove unused k3dContext constant

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tonyferrell
tonyferrell merged commit b23a0c0 into main Mar 28, 2026
1 check passed
@tonyferrell
tonyferrell deleted the fix/e2e-names-and-kubeconfig branch March 28, 2026 07:35
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