2023-08-01 09:25:32 +00:00
|
|
|
image:
|
2023-11-17 10:34:06 +00:00
|
|
|
repository: victorrds/etesync
|
2023-08-01 09:25:32 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-11-17 10:34:06 +00:00
|
|
|
tag: 0.11.0@sha256:816cfadd28d36f4d1b8969009d59c51253b07e5ef3ad9f8e9cf03d8dc59ffa50
|
2023-08-01 09:25:32 +00:00
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
runAsUser: 373
|
|
|
|
runAsGroup: 373
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
pod:
|
|
|
|
fsGroup: 373
|
|
|
|
# Docker image configuration docs:
|
|
|
|
# https://github.com/victor-rds/docker-etebase#settings-and-customization
|
|
|
|
|
|
|
|
# EteSync configuration docs:
|
|
|
|
# https://github.com/etesync/server#configuration
|
|
|
|
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 }}"
|
|
|
|
# Debugging
|
|
|
|
DEBUG: false
|
|
|
|
SHELL_DEBUG: false
|
|
|
|
DEBUG_DJANGO: false
|
|
|
|
# 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: ""
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
protocol: http
|
|
|
|
port: 10254
|
|
|
|
persistence:
|
|
|
|
app:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/data"
|
|
|
|
secret:
|
|
|
|
enabled: true
|
|
|
|
type: secret
|
|
|
|
readOnly: true
|
|
|
|
mountPath: "/data/secret.txt"
|
|
|
|
subPath: "secret.txt"
|
|
|
|
objectName: "etesync-secret"
|
|
|
|
# Enabled postgres
|
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
user: etesync
|
|
|
|
database: etesync
|
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|