Skip to content

fix(powersync): disable TLS for in-cluster CNPG - #26

Merged
birdmanmandbir merged 3 commits into
mainfrom
fix/powersync-cnpg-tls-mode
Sep 5, 2026
Merged

fix(powersync): disable TLS for in-cluster CNPG#26
birdmanmandbir merged 3 commits into
mainfrom
fix/powersync-cnpg-tls-mode

Conversation

@orga-agent

@orga-agent orga-agent Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • set PowerSync sslmode: disable on both PostgreSQL connection objects
  • keep generated connection URIs limited to credentials and endpoint data
  • cover storage and replication TLS mode in resource tests

Why

PowerSync 1.20.4 does not use sslmode=disable from the URI query as its connection policy. It falls back to verify-full and rejects CloudNativePG's self-signed in-cluster certificate. PowerSync documents sslmode as a sibling of uri in config.yaml for private-network connections.

Verification

  • go test ./internal/resources/configmaps ./internal/resources/deployments
  • go test ./...

@birdmanmandbir
birdmanmandbir merged commit 5f877e0 into main Sep 5, 2026
2 checks passed
@orga-agent
orga-agent Bot deleted the fix/powersync-cnpg-tls-mode branch September 5, 2026 09:10
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