Remove SQLite and deploy Postgres by default#1503
Merged
Conversation
Signed-off-by: Jeremy Alvis <jeremy.alvis@solo.io>
Signed-off-by: Jeremy Alvis <jeremy.alvis@solo.io>
Signed-off-by: Jeremy Alvis <jeremy.alvis@solo.io>
Contributor
|
Please consider support https://github.com/cloudnative-pg/cloudnative-pg |
Signed-off-by: Jeremy Alvis <jeremy.alvis@solo.io>
EItanya
approved these changes
Mar 16, 2026
Contributor
Author
|
Follow-up to this in: #1527 |
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.
Summary
Removes SQLite as a supported database backend and makes PostgreSQL the only supported option. Bundles a PostgreSQL instance (with pgvector) in the Helm chart so that
helm installworks out of the box with no external prerequisites.Closes: #1502
Changes
Helm
helm/kagent/templates/postgresql.yaml— deployed whendatabase.postgres.urlanddatabase.postgres.urlFileare both empty (the default)database.postgres.urlto skip the bundled instance and use an external PostgreSQLdatabase.type,database.sqlite, SQLite emptyDir volume, andXDG_CACHE_HOMEfrom the controller deploymentCI
strategy.matrix: database: [sqlite, postgres]fromtest-e2e— single database, no matrix neededmake helm-installHelm values
Test plan
go test -race -skip 'TestE2E.*' ./...)helm unittest helm/kagent)TestE2EMemoryWithAgentpasses — confirms pgvector and memory table work end-to-endmake helm-install push-test-agent push-test-skillfollowed by e2e tests viago test -v github.com/kagent-dev/kagent/go/core/test/e2e -failfast -shuffle=on)