WIP: main Update default values.yaml to make persistence work + update readme for secrets usage #16
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/helm-chart#16
Loading…
Reference in New Issue
No description provided.
Delete Branch "hugosxm/helm-chart:main"
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?
@ -85,6 +85,31 @@ If you need to create another user, you could opt to execute the following comma
./vikunja user create --email <user@email.com> --user <user1> --password <password123>
```
### Utilizing secrets for `env` and `config.yml`
Maybe we could change this header to be:
"Utilizing environment variables from Kubernetes secrets"?
"Each environment variable within the pod can be sourced from a secret in your
values.yaml
":Alternatively, instead of defining each and every key, if the keys within the secret are the names of environment variables, you could also do the following (example here):
This way we can show in the example that you can both use environment variables from secrets, how to use
envFrom
, etc.I should've included this already in the README.md, so I'm thankful that you brought it up!
@ -88,0 +101,4 @@
If your vikunja config needs to contain sensible data, like oauth config, you can source it from a secret in your `values.yaml`:
```yaml
api:
Instead of:
You could do the following:
Since the config is already enabled by default.
Also this way you can provide the name of the secret, and you don't have to provide the
mountPath
again since it's already part of the template here.Created #17 so that the issue could at least be resolved, and so that more documentation could be available.
@hugosxm I believe that my PR #17 should've resolved the issues you brought up previously, as well as increasing the documentation around the use cases that you provided. Let me know if there's anything else that you would like to see, I believe this PR can be closed out otherwise though.
Again, feel free to reach out, and thanks for your contribution and help!
Closing this, #17 is merged
Pull request closed