Default values not working for PVC #15
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/helm-chart#15
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
I just installed vikunja with the chart and I found that by default you loose project wallpaper and tasks attachements at pod restart. Taking a look at the chart I saw that the default pvc is mounted to /data.
So I added this :
I also did :
So I can mount a secret to the config as the config contains the oauth secret. A comment in the default values should explain that possibilty I think ?
I could do a PR with my two little tweaks if you want ?
Vikunja is really cool, I will use it everyday now that i found the nice configuration :) keep the good work !
Nice catch! A PR would be awesome.
Here it is : #16
My vim also deleted some white spaces you add in the README ^^
I edited the default values.yaml and the README to explain the use of secrets, tell me if you need anything
Yep, that would do it, and thanks for catching that. You're right, I had it mounted to
/data
by default on accident, and your line:Is 100% correct.
When it comes to the secrets, what you did is correct as well. However, you could do the following (from your user defined
values.yaml
) to mount your own secret as Vikunja's config:This way, you can set the name of the
Secret
you wish for the Vikunjaapi
pod to mount asconfig.yml
inside the pod. You also don't have to definemountPath
again, as it's already defined here. Anything users define in theirvalues.yaml
will override what's in the chart's templates, which means you can override anything as you see fit.Let me know if you have any questions @hugosxm, but I would suggest modifying the
api
values in yourvalues.yaml
as above, and modifying the README.md accordingly :)Hi @perfectra1n , sorry I did this just before going abroad... Just went back and tried this :
Works as intended :), so I will close this ticket and the PR as you did everything with #17 !
Thanks !