Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reject empty datasource if external database is enabled #2058

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

rmweir
Copy link
Contributor

@rmweir rmweir commented Aug 13, 2024

Prior, an empty datasource was accepted when external database was enabled. An empty datasource causes kine to use sqlite which is embedded- not external. Now, passing an empty datasource while external database is enabled will result in an error.

What issue type does this pull request address? (keep at least one, remove the others)
/kind bugfix

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
Fixes ENG-4330

Please provide a short message that should be published in the vcluster release notes
Fixed an issue where vcluster ...

What else do we need to know?

Prior, an empty datasource was accepted when external database was
enabled. An empty datasource causes kine to use sqlite which is
embedded- not external. Now, passing an empty datasource while
external database is enabled will result in an error.
Copy link

netlify bot commented Aug 13, 2024

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 22e95a0
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/66bbe2c7bbcbe7000801b613

@rmweir rmweir marked this pull request as ready for review August 14, 2024 05:22
@FabianKramm FabianKramm added the backport-to-v0.20 backport this PR to v0.20 branch label Aug 14, 2024
@FabianKramm FabianKramm merged commit 982fe73 into loft-sh:main Aug 14, 2024
62 checks passed
@loft-bot
Copy link

💚 All backports created successfully

Status Branch Result
v0.20

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

FabianKramm added a commit that referenced this pull request Aug 14, 2024
[v0.20] Merge pull request #2058 from rmweir/reject-empty-datasource
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-v0.20 backport this PR to v0.20 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants