-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvalues.yaml
81 lines (72 loc) · 2.32 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
replicaCount: 1
image:
repository: gotify/server
pullPolicy: IfNotPresent
tag: "2.6"
serviceAccount:
create: true
service:
port: 80
ingress:
enabled: true
className: "nginx"
annotations:
cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/target: home.terence.cloud
hosts:
- host: gotify.terence.cloud
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: gotify-tls
hosts:
- gotify.terence.cloud
envFrom:
- configMapRef:
name: gotify-env
- secretRef:
name: gotify-credentials
volumeMounts:
- name: gotify-data
mountPath: /app/data
volumes:
- name: gotify-data
persistentVolumeClaim:
claimName: gotify-data
persistentVolumes:
- name: gotify-data
accessMode: ReadWriteOnce
size: 1Gi
configMaps:
- name: gotify-env
data:
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
TZ: "Europe/Paris"
GOTIFY_SERVER_PORT: "80"
GOTIFY_SERVER_KEEPALIVEPERIODSECONDS: "0"
GOTIFY_SERVER_LISTENADDR: "0.0.0.0"
GOTIFY_SERVER_SSL_ENABLED: "false"
GOTIFY_SERVER_SSL_REDIRECTTOHTTPS: "true"
GOTIFY_SERVER_SSL_LISTENADDR: ""
GOTIFY_SERVER_SSL_PORT: "443"
GOTIFY_SERVER_SSL_CERTFILE: ""
GOTIFY_SERVER_SSL_CERTKEY: ""
GOTIFY_SERVER_SSL_LETSENCRYPT_ENABLED: "false"
GOTIFY_SERVER_SSL_LETSENCRYPT_ACCEPTTOS: "false"
GOTIFY_SERVER_SSL_LETSENCRYPT_CACHE: "certs"
# lists are a little weird but do-able (:
# GOTIFY_SERVER_SSL_LETSENCRYPT_HOSTS: "- mydomain.tld\n- myotherdomain.tld"
# GOTIFY_SERVER_RESPONSEHEADERS: 'X-Custom-Header: "custom value"'
# GOTIFY_SERVER_CORS_ALLOWORIGINS: "- \".+.example.com\"\n- \"otherdomain.com\""
# GOTIFY_SERVER_CORS_ALLOWMETHODS: "- \"GET\"\n- \"POST\""
# GOTIFY_SERVER_CORS_ALLOWHEADERS: "- \"Authorization\"\n- \"content-type\""
# GOTIFY_SERVER_STREAM_ALLOWEDORIGINS: "- \".+.example.com\"\n- \"otherdomain.com\""
GOTIFY_SERVER_STREAM_PINGPERIODSECONDS: "45"
GOTIFY_DATABASE_DIALECT: "sqlite3"
GOTIFY_DATABASE_CONNECTION: "data/gotify.db"
GOTIFY_PASSSTRENGTH: "10"
GOTIFY_UPLOADEDIMAGESDIR: "data/images"
GOTIFY_PLUGINSDIR: "data/plugins"
GOTIFY_DEFAULTUSER_NAME: "admin"
GOTIFY_DEFAULTUSER_PASS: "adminadmin"