2022-06-07 23:34:52 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/vikunja-api
|
2022-08-19 06:03:51 +00:00
|
|
|
tag: 0.19.2@sha256:f83b8287ee9c05ff3daf0dcdfc50239bb87c68260733f7454db09b91b0eca759
|
2022-06-07 23:34:52 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
frontendImage:
|
|
|
|
repository: tccr.io/truecharts/vikunja-frontend
|
2022-08-18 09:08:18 +00:00
|
|
|
tag: 0.19.1@sha256:52d055f237422bf73b3d724638219fe5ac35bc643e27b4b12bdceebb3fff7aee
|
2022-06-07 23:34:52 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
nginxImage:
|
|
|
|
repository: tccr.io/truecharts/nginx
|
2022-08-25 07:19:33 +00:00
|
|
|
tag: v1.23.1@sha256:1620254cd011e2b81361f1f4682fd6cceadf13b07f8e37f322b60407d6d5a766
|
2022-06-07 23:34:52 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
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" }};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
VIKUNJA_SERVICE_FRONTENDURL: "http://localhost:8080"
|
|
|
|
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 09:32:37 +00: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-06-07 23:34:52 +00: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
|
|
|
|
VIKUNJA_SERVICE_JWT_SECRET:
|
|
|
|
secretKeyRef:
|
|
|
|
name: vikunja-secrets
|
|
|
|
key: VIKUNJA_SERVICE_JWT_SECRET
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10220
|
|
|
|
targetPort: 8080
|
|
|
|
|
|
|
|
additionalContainers:
|
|
|
|
frontend:
|
|
|
|
name: frontend
|
|
|
|
image: "{{ .Values.frontendImage.repository }}:{{ .Values.frontendImage.tag }}"
|
|
|
|
proxy:
|
|
|
|
name: proxy
|
|
|
|
image: "{{ .Values.nginxImage.repository }}:{{ .Values.nginxImage.tag }}"
|
|
|
|
ports:
|
|
|
|
- containerPort: 8080
|
|
|
|
name: main
|
|
|
|
volumeMounts:
|
2022-07-23 01:37:45 +00:00
|
|
|
- name: vikunja-config
|
|
|
|
mountPath: "/etc/nginx/conf.d/default.conf"
|
|
|
|
subPath: nginx-config
|
|
|
|
readOnly: true
|
2022-06-07 23:34:52 +00:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
files:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/app/vikunja/files"
|
|
|
|
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" .) }}'
|
|
|
|
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: vikunja
|
|
|
|
postgresqlDatabase: vikunja
|
|
|
|
|
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "rediscreds"
|
2022-08-09 00:29:33 +00:00
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: true
|