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

fix: chart fixes for upstream #1306

Merged
merged 3 commits into from
Oct 11, 2023
Merged

fix: chart fixes for upstream #1306

merged 3 commits into from
Oct 11, 2023

Conversation

yashmehrotra
Copy link
Member

No description provided.

pkg/db/init.go Outdated
@@ -58,8 +58,7 @@ func embeddedDB() error {
embeddedPath := strings.TrimSuffix(strings.TrimPrefix(ConnectionString, "embedded://"), "/")
err := os.Chmod(embeddedPath, 0750)
if err != nil {
logger.Errorf("Error changing permission of dataPath: %v, Error: %v", embeddedPath, err)
return err
logger.Warnf("Error changing permission of dataPath: %v, Error: %v", embeddedPath, err)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@moshloop
Not sure why we try to change the mode here. It breaks if we run our current helm chart in embedded mode with default options

Should I change it to warning or just remove the os.Chmod func altogether ?

@yashmehrotra yashmehrotra marked this pull request as ready for review October 10, 2023 03:55
@moshloop moshloop merged commit 5d9711a into master Oct 11, 2023
13 of 14 checks passed
@yashmehrotra yashmehrotra deleted the chart-update branch October 11, 2023 12:25
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.

2 participants