Utilize bjw-s's common
Helm library. #13
|
@ -38,6 +38,19 @@ probes:
|
|||
startup:
|
||||
enabled: false
|
||||
|
||||
{{ if .Values.frontend.ingress.enabled }}
|
||||
configMaps:
|
||||
# The configuration for Vikunja's backend.
|
||||
konrad marked this conversation as resolved
Outdated
|
||||
# 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:
|
||||
{{ if .Values.redis.enabled }}
|
||||
VIKUNJA_REDIS_ENABLED: "true"
|
||||
|
|
10
values.yaml
10
values.yaml
|
@ -17,7 +17,7 @@ storage:
|
|||
######################
|
||||
# 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.
|
||||
konrad marked this conversation as resolved
Outdated
konrad
commented
Doesn't this need a link to the docs with the default config? Doesn't this need a link to the docs with the default config?
perfectra1n
commented
fixed fixed
https://kolaente.dev/vikunja/helm-chart/commit/d8500214e98def13755bad78e31e9b2e39404df1
|
||||
api:
|
||||
enabled: true
|
||||
image:
|
||||
|
@ -48,6 +48,11 @@ api:
|
|||
enabled: true
|
||||
data:
|
||||
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:
|
||||
# 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'
|
||||
|
@ -55,9 +60,6 @@ api:
|
|||
password: "{{ .Values.postgresql.global.postgresql.auth.password }}"
|
||||
konrad marked this conversation as resolved
Outdated
konrad
commented
But the default value for this one is the one defined in the ingress, why define it here again? But the default value for this one is the one defined in the ingress, why define it here again?
perfectra1n
commented
Fair, forgot to use the fixed! Fair, forgot to use the `ingress` value for that variable as well. I went ahead and fixed it. I also included a comment to to the user incase they aren't using an `ingress` resource (I was even using a `Service` behind a central Nginx until recently)
fixed!
perfectra1n
commented
https://kolaente.dev/vikunja/helm-chart/commit/9cd4680e707c57d06e718f8d1e6f524408965a32 and https://kolaente.dev/vikunja/helm-chart/commit/c601e5e449523ffb7feb7d35ca72389075769d9c
|
||||
database: "{{ .Values.postgresql.global.postgresql.auth.database }}"
|
||||
host: '{{ .Release.Name }}-postgresql'
|
||||
service:
|
||||
# Vikunja needs to know the frontend URL for password reset emails.
|
||||
frontendUrl: http://vikunja.local
|
||||
typesense:
|
||||
# Typesense will only work if it is enabled below (typesense.enabled).
|
||||
url: '{{ printf "%s-typesense" .Release.Name }}'
|
||||
|
|
Loading…
Reference in New Issue
Nitpick, but please use "api" here instead of "backend".
Done:
76b209a70c
:)