2022-04-16 05:15:43 -04:00
|
|
|
image:
|
2022-04-18 15:57:07 -04:00
|
|
|
repository: tccr.io/truecharts/vikunja-api
|
2022-11-14 02:08:05 -05:00
|
|
|
tag: 0.20.1@sha256:839d6f23b3aa413e10bd252539a04866ad9b7fff3f1a6e2dac894c2674687709
|
2022-04-16 05:15:43 -04:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
frontendImage:
|
2022-04-18 15:57:07 -04:00
|
|
|
repository: tccr.io/truecharts/vikunja-frontend
|
2022-11-14 02:08:05 -05:00
|
|
|
tag: 0.20.1@sha256:73d6073996074450e1a1db672b9a19a462b41ec6f570df03ee480819c8d999e3
|
2022-04-16 05:15:43 -04:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
2022-04-19 06:10:08 -04:00
|
|
|
nginxImage:
|
|
|
|
repository: tccr.io/truecharts/nginx
|
2022-12-07 07:33:54 -05:00
|
|
|
tag: 1.23.2@sha256:71add66b3c7aa64441fc132d00f04aee01478913f6a070a23b470caf608637db
|
2022-04-19 06:10:08 -04:00
|
|
|
|
2022-04-16 05:15:43 -04:00
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
2022-06-07 13:41:19 -04:00
|
|
|
configmap:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
data:
|
|
|
|
nginx-config: |-
|
|
|
|
server {
|
|
|
|
listen 8080;
|
|
|
|
location / {
|
|
|
|
proxy_pass http://localhost:80;
|
|
|
|
}
|
|
|
|
location ~* ^/(api|dav|\.well-known)/ {
|
|
|
|
proxy_pass http://localhost:3456;
|
|
|
|
client_max_body_size {{ .Values.env.VIKUNJA_FILES_MAXSIZE | upper | trimSuffix "B" }};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-16 05:15:43 -04:00
|
|
|
env:
|
|
|
|
VIKUNJA_REDIS_ENABLED: 1
|
|
|
|
VIKUNJA_CACHE_ENABLED: 1
|
|
|
|
VIKUNJA_CACHE_TYPE: "redis"
|
|
|
|
VIKUNJA_DATABASE_TYPE: "postgres"
|
|
|
|
VIKUNJA_DATABASE_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
|
|
VIKUNJA_DATABASE_DATABASE: "{{ .Values.postgresql.postgresDatabase }}"
|
|
|
|
VIKUNJA_SERVICE_TIMEZONE: "{{ .Values.TZ }}"
|
|
|
|
# User Defined
|
2022-04-20 02:11:52 -04:00
|
|
|
VIKUNJA_SERVICE_FRONTENDURL: "http://localhost:8080"
|
2022-04-16 05:15:43 -04:00
|
|
|
VIKUNJA_SERVICE_JWTTTL: 259200
|
|
|
|
VIKUNJA_SERVICE_JWTTTLLONG: 2592000
|
|
|
|
VIKUNJA_SERVICE_MAXITEMSPERPAGE: 50
|
|
|
|
VIKUNJA_FILES_MAXSIZE: "20MB"
|
|
|
|
VIKUNJA_SERVICE_ENABLECALDAV: true
|
|
|
|
VIKUNJA_SERVICE_ENABLELINKSHARING: true
|
|
|
|
VIKUNJA_SERVICE_ENABLEREGISTRATION: true
|
|
|
|
VIKUNJA_SERVICE_ENABLETASKATTACHMENTS: true
|
|
|
|
VIKUNJA_SERVICE_ENABLETASKCOMMENTS: true
|
|
|
|
VIKUNJA_SERVICE_ENABLETOTP: true
|
|
|
|
VIKUNJA_SERVICE_ENABLEEMAILREMINDERS: true
|
|
|
|
VIKUNJA_SERVICE_ENABLEUSERDELETION: true
|
|
|
|
VIKUNJA_BACKGROUNDS_ENABLED: true
|
|
|
|
VIKUNJA_RATELIMIT_ENABLED: false
|
|
|
|
VIKUNJA_RATELIMIT_PERIOD: 60
|
|
|
|
VIKUNJA_RATELIMIT_LIMIT: 100
|
2022-06-17 04:24:54 -04:00
|
|
|
# VIKUNJA_MAILER_HOST: ""
|
|
|
|
# VIKUNJA_MAILER_PORT: 587
|
|
|
|
# VIKUNJA_MAILER_USERNAME: ""
|
|
|
|
# VIKUNJA_MAILER_PASSWORD: ""
|
|
|
|
# VIKUNJA_MAILER_FROMEMAIL: ""
|
|
|
|
# VIKUNJA_MAILER_SKIPTLSVERIFY: false
|
|
|
|
# VIKUNJA_MAILER_FORCESSL: false
|
|
|
|
# VIKUNJA_MAILER_QUEUELENGTH: 100
|
|
|
|
# VIKUNJA_MAILER_QUEUETIMEOUT: 30
|
2022-04-16 05:15:43 -04:00
|
|
|
VIKUNJA_DATABASE_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: plainhost
|
|
|
|
VIKUNJA_DATABASE_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: postgresql-password
|
|
|
|
VIKUNJA_REDIS_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: rediscreds
|
|
|
|
key: plainporthost
|
|
|
|
VIKUNJA_REDIS_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: rediscreds
|
|
|
|
key: redis-password
|
2022-04-19 06:10:08 -04:00
|
|
|
VIKUNJA_SERVICE_JWT_SECRET:
|
|
|
|
secretKeyRef:
|
|
|
|
name: vikunja-secrets
|
|
|
|
key: VIKUNJA_SERVICE_JWT_SECRET
|
2022-04-16 05:15:43 -04:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10220
|
2022-04-20 02:11:52 -04:00
|
|
|
targetPort: 8080
|
2022-04-16 05:15:43 -04:00
|
|
|
|
|
|
|
additionalContainers:
|
|
|
|
frontend:
|
|
|
|
name: frontend
|
|
|
|
image: "{{ .Values.frontendImage.repository }}:{{ .Values.frontendImage.tag }}"
|
2022-04-19 06:10:08 -04:00
|
|
|
proxy:
|
|
|
|
name: proxy
|
|
|
|
image: "{{ .Values.nginxImage.repository }}:{{ .Values.nginxImage.tag }}"
|
2022-04-16 05:15:43 -04:00
|
|
|
ports:
|
2022-04-20 02:11:52 -04:00
|
|
|
- containerPort: 8080
|
2022-04-16 05:15:43 -04:00
|
|
|
name: main
|
2022-04-19 06:10:08 -04:00
|
|
|
volumeMounts:
|
2022-07-22 14:23:01 -04:00
|
|
|
- name: vikunja-config
|
|
|
|
mountPath: "/etc/nginx/conf.d/default.conf"
|
|
|
|
subPath: nginx-config
|
|
|
|
readOnly: true
|
2022-04-16 05:15:43 -04:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
files:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/app/vikunja/files"
|
2022-06-07 13:41:19 -04:00
|
|
|
vikunja-config:
|
|
|
|
enabled: "true"
|
|
|
|
mountPath: "/etc/nginx/conf.d/default.conf"
|
|
|
|
subPath: "nginx-config"
|
|
|
|
type: "custom"
|
|
|
|
volumeSpec:
|
|
|
|
configMap:
|
|
|
|
name: '{{ printf "%v-config" (include "tc.common.names.fullname" .) }}'
|
2022-04-16 05:15:43 -04:00
|
|
|
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: vikunja
|
|
|
|
postgresqlDatabase: vikunja
|
|
|
|
|
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "rediscreds"
|
2022-08-08 17:25:02 -04:00
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: true
|