have frontendUrl use Ingress host if exists
This commit is contained in:
parent
61b8892ff0
commit
9cd4680e70
|
@ -38,6 +38,19 @@ probes:
|
||||||
startup:
|
startup:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
{{ if .Values.frontend.ingress.enabled }}
|
||||||
|
configMaps:
|
||||||
|
# The configuration for Vikunja's backend.
|
||||||
|
# https://vikunja.io/docs/config-options/
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
data:
|
||||||
|
config.yml:
|
||||||
|
service:
|
||||||
|
# Vikunja needs to know the frontend URL for password reset emails.
|
||||||
|
frontendUrl: "http://{{ index .Values.frontend.ingress.main.hosts 0 "host" }}{{ index .Values.frontend.ingress.main.hosts 0 "path" }}"
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
{{ if .Values.redis.enabled }}
|
{{ if .Values.redis.enabled }}
|
||||||
VIKUNJA_REDIS_ENABLED: "true"
|
VIKUNJA_REDIS_ENABLED: "true"
|
||||||
|
|
10
values.yaml
10
values.yaml
|
@ -17,7 +17,7 @@ storage:
|
||||||
######################
|
######################
|
||||||
# VIKUNJA COMPONENTS #
|
# VIKUNJA COMPONENTS #
|
||||||
######################
|
######################
|
||||||
# You can find the default values
|
# You can find the default values that this `values.yaml` overrides, in the comment at the top of this file.
|
||||||
api:
|
api:
|
||||||
enabled: true
|
enabled: true
|
||||||
image:
|
image:
|
||||||
|
@ -48,6 +48,11 @@ api:
|
||||||
enabled: true
|
enabled: true
|
||||||
data:
|
data:
|
||||||
config.yml:
|
config.yml:
|
||||||
|
# Vikunja needs to know the frontend URL for password reset emails.
|
||||||
|
# So you might need to provide its value, if you're not using an ingress.
|
||||||
|
# service:
|
||||||
|
# frontendUrl: http://vikunja.local
|
||||||
|
|
||||||
database:
|
database:
|
||||||
# You should provide your own secret outside of this helm-chart and use `postgresql.global.postgresql.auth.existingSecret` to provide credentials to the postgresql instance (https://github.com/bitnami/charts/blob/5ff8ad5f3c754e3c2423d6abf46f522e8abe0410/bitnami/postgresql/values.yaml#L35-L39)
|
# You should provide your own secret outside of this helm-chart and use `postgresql.global.postgresql.auth.existingSecret` to provide credentials to the postgresql instance (https://github.com/bitnami/charts/blob/5ff8ad5f3c754e3c2423d6abf46f522e8abe0410/bitnami/postgresql/values.yaml#L35-L39)
|
||||||
type: 'postgres'
|
type: 'postgres'
|
||||||
|
@ -55,9 +60,6 @@ api:
|
||||||
password: "{{ .Values.postgresql.global.postgresql.auth.password }}"
|
password: "{{ .Values.postgresql.global.postgresql.auth.password }}"
|
||||||
database: "{{ .Values.postgresql.global.postgresql.auth.database }}"
|
database: "{{ .Values.postgresql.global.postgresql.auth.database }}"
|
||||||
host: '{{ .Release.Name }}-postgresql'
|
host: '{{ .Release.Name }}-postgresql'
|
||||||
service:
|
|
||||||
# Vikunja needs to know the frontend URL for password reset emails.
|
|
||||||
frontendUrl: http://vikunja.local
|
|
||||||
typesense:
|
typesense:
|
||||||
# Typesense will only work if it is enabled below (typesense.enabled).
|
# Typesense will only work if it is enabled below (typesense.enabled).
|
||||||
url: '{{ printf "%s-typesense" .Release.Name }}'
|
url: '{{ printf "%s-typesense" .Release.Name }}'
|
||||||
|
|
Loading…
Reference in New Issue