I want to setup a fresh Vikunja service but with my own Postgres database, however setting vikunja.persistence.database.enabled: false does nothing, also setting the size in vikunja.persistence.data.size does not change from 2Gi. Here is my values.yaml:
vikunja:
image:
repository: vikunja/vikunja
podSecurityContext:
runAsUser: 0
fsGroup: 0
persistence:
data:
enabled: true
size: 3Gi # DOES NOT GET APPLIED
mountPath: /app/vikunja/files
storageClass: longhorn
accessMode: ReadWriteOnce
database:
enabled: false # DOES NOT GET APPLIED
env:
VIKUNJA_SERVICE_PUBLICURL: "mypublicurl"
VIKUNJA_CORS_ENABLE: "true"
VIKUNJA_CORS_ORIGINS: "mypublicurl"
VIKUNJA_DATABASE_TYPE: "postgres"
VIKUNJA_DATABASE_HOST: "vikunja-postgresql.vikunja.svc.cluster.local"
VIKUNJA_DATABASE_DATABASE: "vikunja"
VIKUNJA_DATABASE_USER: "vikunja"
VIKUNJA_DATABASE_PASSWORD:
valueFrom:
secretKeyRef:
name: vikunja-secrets
key: admin-password
postgresql:
image:
repository: tensorchord/pgvecto-rs
tag: pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52
global:
security:
allowInsecureImages: true
postgresql:
auth:
existingSecret: vikunja-secrets
secretKeys:
adminPasswordKey: admin-password
userPasswordKey: user-password
replicationPasswordKey: replication-password
primary:
containerSecurityContext:
readOnlyRootFilesystem: false
resourcesPreset: large
initdb:
scripts:
create-databases.sql: |
CREATE DATABASE vikunja;
I can see in Longhorn that 3 volumes get created, the Postgres db that I want, but then 2 other Vikunja volumes, both at 2Gb and one is labelled for vikunja-database
I want to setup a fresh Vikunja service but with my own Postgres database, however setting vikunja.persistence.database.enabled: false does nothing, also setting the size in vikunja.persistence.data.size does not change from 2Gi. Here is my values.yaml:
I can see in Longhorn that 3 volumes get created, the Postgres db that I want, but then 2 other Vikunja volumes, both at 2Gb and one is labelled for vikunja-database