2022-07-01 14:44:49 +00:00
|
|
|
image:
|
2022-10-22 13:35:47 +00:00
|
|
|
repository: tccr.io/truecharts/etesync
|
2022-07-01 14:44:49 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2022-12-14 01:15:15 +00:00
|
|
|
tag: 0.11.0@sha256:47478da0d1b3ab18d5bfbcd4537fa80305ace94746b01c32e609c7e9e663d860
|
2022-07-01 14:44:49 +00:00
|
|
|
|
2023-05-25 17:46:40 +00:00
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
runAsUser: 373
|
|
|
|
runAsGroup: 373
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
pod:
|
|
|
|
fsGroup: 373
|
2022-07-01 14:44:49 +00:00
|
|
|
|
|
|
|
# Docker image configuration docs:
|
|
|
|
# https://github.com/victor-rds/docker-etebase#settings-and-customization
|
|
|
|
|
|
|
|
# EteSync configuration docs:
|
|
|
|
# https://github.com/etesync/server#configuration
|
|
|
|
|
2023-05-25 17:46:40 +00:00
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
type: tcp
|
|
|
|
readiness:
|
|
|
|
type: tcp
|
|
|
|
startup:
|
|
|
|
type: tcp
|
|
|
|
env:
|
|
|
|
PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
|
|
# App
|
|
|
|
SERVER: http
|
|
|
|
AUTO_UPDATE: true
|
|
|
|
ALLOWED_HOSTS: "localhost"
|
|
|
|
AUTO_SIGNUP: false
|
|
|
|
LANGUAGE_CODE: "en-us"
|
|
|
|
TIME_ZONE: "{{ .Values.TZ }}"
|
2022-07-01 14:44:49 +00:00
|
|
|
|
2023-05-25 17:46:40 +00:00
|
|
|
# Debugging
|
|
|
|
DEBUG: false
|
|
|
|
SHELL_DEBUG: false
|
|
|
|
DEBUG_DJANGO: false
|
2022-07-01 14:44:49 +00:00
|
|
|
|
2023-05-25 17:46:40 +00:00
|
|
|
# Postgres
|
|
|
|
DB_ENGINE: postgres
|
|
|
|
DATABASE_NAME: "{{ .Values.cnpg.main.database }}"
|
|
|
|
DATABASE_USER: "{{ .Values.cnpg.main.user }}"
|
|
|
|
DATABASE_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-user
|
|
|
|
key: password
|
|
|
|
DATABASE_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: host
|
|
|
|
DATABASE_PORT: 5432
|
|
|
|
REDIS_URI:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
|
|
|
|
key: url
|
|
|
|
# Superuser
|
|
|
|
SUPER_USER: "admin"
|
|
|
|
SUPER_PASS: ""
|
|
|
|
SUPER_EMAIL: ""
|
2022-07-01 14:44:49 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2023-05-25 17:46:40 +00:00
|
|
|
protocol: http
|
2022-07-01 14:44:49 +00:00
|
|
|
port: 10254
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
app:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/data"
|
|
|
|
secret:
|
|
|
|
enabled: true
|
2023-05-25 17:46:40 +00:00
|
|
|
type: secret
|
2022-07-01 14:44:49 +00:00
|
|
|
readOnly: true
|
|
|
|
mountPath: "/data/secret.txt"
|
|
|
|
subPath: "secret.txt"
|
2023-05-25 17:46:40 +00:00
|
|
|
objectName: "etesync-secret"
|
2022-07-01 14:44:49 +00:00
|
|
|
|
2023-05-25 17:46:40 +00:00
|
|
|
# Enabled postgres
|
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
user: etesync
|
|
|
|
database: etesync
|
2022-08-08 21:25:02 +00:00
|
|
|
|
2022-10-22 13:35:47 +00:00
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
|
2022-08-08 21:25:02 +00:00
|
|
|
portal:
|
2023-05-25 17:46:40 +00:00
|
|
|
open:
|
|
|
|
enabled: true
|