Utilize bjw-s's common
Helm library.
#13
16
values.yaml
16
values.yaml
|
@ -48,14 +48,6 @@ api:
|
|||
# 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)
|
||||
# To utilize a secret in this configMap, you can do something like the following: https://github.com/bjw-s/helm-charts/blob/a081de53024d8328d1ae9ff7e4f6bc500b0f3a29/charts/library/common/values.yaml#L141-L145
|
||||
type: postgres
|
||||
user: "{{ .Values.postgresql.global.postgresql.auth.username }}"
|
||||
password: "{{ .Values.postgresql.global.postgresql.auth.password }}"
|
||||
database: "{{ .Values.postgresql.global.postgresql.auth.database }}"
|
||||
host: "{{ .Release.Name }}-postgresql"
|
||||
typesense:
|
||||
# Typesense will only work if it is enabled below (typesense.enabled).
|
||||
url: '{{ printf "%s-typesense" .Release.Name }}'
|
||||
|
@ -64,6 +56,14 @@ api:
|
|||
# Redis will only work if it is enabled below (redis.enabled).
|
||||
host: '{{ printf "%s-redis-master" .Release.Name }}'
|
||||
db: "{{ .Release.Name }}"
|
||||
env:
|
||||
# To utilize a secret in the environment variables, you can do something like the following: https://github.com/bjw-s/helm-charts/blob/a081de53024d8328d1ae9ff7e4f6bc500b0f3a29/charts/library/common/values.yaml#L141-L145
|
||||
konrad marked this conversation as resolved
Outdated
|
||||
# You could also use MySQL or SQLite, but we recommend PostgreSQL.
|
||||
# https://vikunja.io/docs/config-options/#type
|
||||
VIKUNJA_DATABASE_TYPE: "postgres"
|
||||
VIKUNJA_DATABASE_USER: "{{ .Values.postgresql.global.postgresql.auth.username }}"
|
||||
VIKUNJA_DATABASE_PASSWORD: "{{ .Values.postgresql.global.postgresql.auth.password }}"
|
||||
VIKUNJA_DATABASE_NAME: "{{ .Values.postgresql.global.postgresql.auth.database }}"
|
||||
|
||||
frontend:
|
||||
enabled: true
|
||||
|
|
Loading…
Reference in New Issue
Block a user
But the default value for this one is the one defined in the ingress, why define it here again?
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 aningress
resource (I was even using aService
behind a central Nginx until recently)fixed!
9cd4680e70
andc601e5e449