Hello,
I am having trouble installing Vikunja with Helm.
When I try to pass a k8s secret in the env section, I get this:
Release "vikunja" does not exist. Installing it now.
Pulled: ghcr.io/go-vikunja/helm-chart/vikunja:1.1.0
Digest: sha256:be76b70894122c85b1a7316d973abbee25077682918ac3f7a187b147352179a6
coalesce.go:301: warning: destination for vikunja.vikunja.env.VIKUNJA_DATABASE_PASSWORD is a table. Ignoring non-table value ({{ coalesce .Values.postgresql.global.postgresql.auth.password .Values.postgresql.auth.password }})
coalesce.go:301: warning: destination for vikunja.vikunja.env.VIKUNJA_DATABASE_PASSWORD is a table. Ignoring non-table value ({{ coalesce .Values.postgresql.global.postgresql.auth.password .Values.postgresql.auth.password }})
Error: template: vikunja/templates/vikunja.yaml:57:4: executing "vikunja/templates/vikunja.yaml" at <include "bjw-s.common.loader.all" $ctx>: error calling include: template: vikunja/charts/common/templates/loader/_all.tpl:9:6: executing "bjw-s.common.loader.all" at <include "bjw-s.common.loader.generate" .>: error calling include: template: vikunja/charts/common/templates/loader/_generate.tpl:23:6: executing "bjw-s.common.loader.generate" at <include "bjw-s.common.render.controller" .>: error calling include: template: vikunja/charts/common/templates/render/_controller.tpl:7:10: executing "bjw-s.common.render.controller" at <include "bjw-s.common.class.deployment" .>: error calling include: template: vikunja/charts/common/templates/classes/_deployment.tpl:54:10: executing "bjw-s.common.class.deployment" at <include "bjw-s.common.lib.controller.pod" .>: error calling include: template: vikunja/charts/common/templates/lib/controller/_pod.tpl:70:6: executing "bjw-s.common.lib.controller.pod" at <include "bjw-s.common.lib.controller.mainContainer" .>: error calling include: template: vikunja/charts/common/templates/lib/controller/_mainContainer.tpl:39:23: executing "bjw-s.common.lib.controller.mainContainer" at <include "bjw-s.common.lib.container.envVars" $>: error calling include: template: vikunja/charts/common/templates/lib/container/_env_vars.tpl:33:67: executing "bjw-s.common.lib.container.envVars" at <tpl $value $>: error calling tpl: error during tpl function execution for "{{ coalesce .Values.postgresql.global.postgresql.auth.database .Values.postgresql.auth.database }}": template: gotpl:1:19: executing "gotpl" at <.Values.postgresql.global.postgresql.auth.database>: nil pointer evaluating interface {}.postgresql
This is my env part:
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
# You could also use MySQL or SQLite, but we recommend PostgreSQL.
# https://vikunja.io/docs/config-options/#type
VIKUNJA_DATABASE_TYPE: "postgres"
VIKUNJA_DATABASE_HOST: "vikunja-db-rw"
VIKUNJA_DATABASE_USER: "vikunja"
VIKUNJA_DATABASE_PASSWORD:
valueFrom:
secretKeyRef:
name: vikunja-db-app
key: password
VIKUNJA_DATABASE_DATABASE: "vikunja"
I also have the problem using raw values too (without secret). Postgresql is disable, I use CNPG.
This issue was already opened here : https://kolaente.dev/vikunja/helm-chart/issues/31
Do you know how to fix it?
Thank you in advance for your feedback.
Hello,
I am having trouble installing Vikunja with Helm.
When I try to pass a k8s secret in the env section, I get this:
This is my
envpart:I also have the problem using raw values too (without secret). Postgresql is disable, I use CNPG.
This issue was already opened here : https://kolaente.dev/vikunja/helm-chart/issues/31
Do you know how to fix it?
Thank you in advance for your feedback.