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

View File

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