forked from ortuman/jackal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
205 lines (174 loc) · 3.74 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
# Default values for jackal.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# //////////////
# Jackal
# //////////////
jackal:
replicasCount: 2
image:
repository: ortuman/jackal
tag: 0.64.0
pullPolicy: IfNotPresent
resources:
requests:
cpu: 120m
memory: 64Mi
loadBalancer:
extraAnnotations: {}
nodeSelector: {}
affinity: {}
tolerations: []
extraVolumes: []
extraVolumeMounts: []
env: []
securityContext:
enabled: true
runAsUser: 1001
runAsNonRoot: true
config:
logger:
level: debug
http:
port: 6060
admin:
port: 15280
#domains:
# - domain: jackal.im
# tls:
# cert_file: /var/jackal/cert/tls.crt
# privkey_file: /var/jackal/cert/tls.key
#peppers:
# keys:
# v1: a-super-secret-key
# use: v1
storage:
maxConns: 16
maxIdleConns: 0
connMaxLifetime: 0
connMaxIdleTime: 0
cluster:
server:
port: 14369
shapers:
- name: normal
max_sessions: 25
rate:
limit: 131072
burst: 65536
c2s:
listeners:
- port: 5222
req_timeout: 60s
transport: socket
sasl:
mechanisms:
- scram_sha_1
- scram_sha_256
- scram_sha_512
- scram_sha3_512
- port: 5223
direct_tls: true
req_timeout: 60s
transport: socket
sasl:
mechanisms:
- scram_sha_1
- scram_sha_256
- scram_sha_512
- scram_sha3_512
s2s:
listeners:
- port: 5269
req_timeout: 60s
max_stanza_size: 131072
- port: 5270
direct_tls: true
req_timeout: 60s
max_stanza_size: 131072
out:
dial_timeout: 5s
req_timeout: 60s
max_stanza_size: 131072
modules:
enabled:
- roster
- offline
- last # XEP-0012: Last Activity
- disco # XEP-0030: Service Discovery
- private # XEP-0049: Private XML Storage
- vcard # XEP-0054: vcard-temp
- version # XEP-0092: Software Version
- caps # XEP-0115: Entity Capabilities
- blocklist # XEP-0191: Blocking Command
- stream_mgmt # XEP-0198: Stream Management
- ping # XEP-0199: XMPP Ping
- time # XEP-0202: Entity Time
- carbons # XEP-0280: Message Carbons
- mam # XEP-0313: Message Archive Management
version:
show_os: true
offline:
queue_size: 300
ping:
ack_timeout: 90s
interval: 3m
send_pings: true
timeout_action: kill
mam:
queue_size: 1500
components:
# listeners:
# - port: 5275
# secret: a-super-secret-key
# //////////////
# etcd
# //////////////
etcd:
auth:
rbac:
create: false
persistence:
enabled: false
replicaCount: 3
resources:
requests:
cpu: 120m
memory: 64Mi
# //////////////
# Redis
# //////////////
redis:
enabled: true
replicasCount: 2
image:
repository: redis
tag: 6.2.7
pullPolicy: IfNotPresent
resources:
requests:
cpu: 100m
memory: 64Mi
port: 6379
# //////////////
# PostgresSQL
# //////////////
postgresql-ha:
postgresql:
syncReplication: true
initdbScriptsCM: pgsql-init-script
replicaCount: 2
username: jackal
database: jackal
resources:
requests:
cpu: 250m
memory: 256Mi
pgpool:
replicaCount: 2
resources:
requests:
cpu: 120m
memory: 256Mi
persistence:
size: 2Gi