9 lines
No EOL
1.5 KiB
Markdown
9 lines
No EOL
1.5 KiB
Markdown
# Mealie
|
|
Mealie is a recipe management service with features for creating shopping lists from recipes and a meal planner.
|
|
|
|
## Using this kubernetes config
|
|
Firstly, you will need to create a generic kubernetes secret with the database username and password. You can do this with the command `kubectl create secret generic mealie-db --from-literal=username=<username here> --from-literal='password=<password here>'`. Make sure to use a secure password.
|
|
|
|
Then you will need to set mealie's hostname in `deployment.yml` under the env variables and in `ingress.yml`. Ensure the one in `deployment.yml` contains `https://` and that the one in `ingress.yml` is just the hostname (no `https://`). This config assumes you have cert-manager installed on your cluster, so if you want to provide HTTPS another way, feel free to comment out the `spec.tls` section (the annotation shouldn't affect anything, but you can comment it out as well if you want)
|
|
|
|
If you want to use OIDC to log into mealie, uncomment the OIDC environment variables and fill in the provider name and OIDC configuration url (the one with `.well-known/...` in the path). [put here a section about what callback urls to use in your provider]. Also, create another kubernetes generic secret to hold the OIDC sensitive config. You can do this with the command `kubectl create secret generic mealie-oidc --from-literal=client-id=<OIDC client ID> --from-literal=client-secret=<OIDC client secret> --from-literal=admin-group=<OIDC group for mealie admins>` |