add sane defaults for Ingress

This commit is contained in:
perf3ct 2023-12-12 14:34:00 -08:00
parent f6555063dd
commit 35379c20e7
No known key found for this signature in database
GPG Key ID: 569C4EEC436F5232
1 changed files with 7 additions and 3 deletions

View File

@ -28,7 +28,7 @@ api:
mountPath: /app/vikunja/files
# storageClass: storage-class
ingress:
main:
api:
enabled: true
annotations:
# proxy-body-size is set to 0 to remove the body limit on file uploads
@ -36,7 +36,8 @@ api:
hosts:
- host: vikunja.local
paths:
- path: "/api/v1"
- path: /api/v1
pathType: Prefix
tls: []
configMaps:
# The configuration for Vikunja's api.
@ -95,7 +96,10 @@ frontend:
# This is just an example. You should change this to your own domain.
- host: vikunja.local
paths:
- path: "/"
- path: /
pathType: Prefix
service:
port: 80
tls: []
# If you've used the "built-in" ingress in the api section, you don't need to specify VIKUNJA_API_URL as an environment variable here.
# If you've used something else, you'll need to provide the URL to the API here.