-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
343 lines (337 loc) · 12 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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
# Default values for waktusolat.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# The desired number of running replicas for WaktuSolat.
# Default: "1"
replicaCount: ""
# Container images used for WaktuSolat.
image:
# WaktuSolat container image configurations.
waktusolat:
# The registry where the WaktuSolat container image is hosted.
# Default: "ghcr.io"
registry: ""
# The name of the repository that contains the WaktuSolat container image used.
# Default: "irfanhakim-as/waktusolat"
repository: ""
# The tag that specifies the version of the WaktuSolat container image used.
# Default: Chart appVersion
tag: ""
# The policy that determines when Kubernetes should pull the WaktuSolat container image.
# Default: "IfNotPresent"
pullPolicy: ""
# Redis container image configurations.
redis:
# The registry where the Redis container image is hosted.
# Default: "docker.io"
registry: ""
# The name of the repository that contains the Redis container image used.
# Default: "redis"
repository: ""
# The tag that specifies the version of the Redis container image used.
# Default: "alpine"
tag: ""
# The policy that determines when Kubernetes should pull the Redis container image.
# Default: "IfNotPresent"
pullPolicy: ""
# Credentials used to securely authenticate and authorise the pulling of container images from private registries.
# Example:
# imagePullSecrets:
# - name: "ghcr-token-secret"
imagePullSecrets: []
# WaktuSolat configurations.
waktusolat:
# Specifies whether WaktuSolat should run in debug mode.
# Default: false
# Example:
# debug: true
debug: false
# The domain name of the WaktuSolat service.
# Default: "localhost"
# Example:
# domain: "localhost"
domain: ""
# The limit number of posts to be scheduled for posting per run.
# Default: "0" (Unlimited)
# Example:
# post_limit: "5"
post_limit: ""
# Specifies whether to retry posting if the post fails to be sent.
# Default: false
# Example:
# retry_post: true
retry_post: false
# A 50-character secret key used for secure session management and cryptographic operations within the WaktuSolat service.
# Example:
# secret: "6&p4%t)-$8a14fmfh92py8j55+us51r6%e52dzy&=a3-6yd4#e"
secret: ""
# The default visibility of posts made by the WaktuSolat service.
# Default: "public"
# Example:
# visibility: "unlisted"
visibility: ""
# The code of locations WaktuSolat should fetch and update prayer times for.
# Default: "wlp-0"
# Example:
# location:
# - "swk-33"
# - "wlp-1"
location: []
# WaktuSolat Mastodon configurations.
# Example:
# mastodon:
# # API endpoint or URL for the Mastodon instance of the WaktuSolat bot.
# # Example:
# # api: "https://botsin.space"
# - api: ""
# # The username or user account for the Mastodon instance of the WaktuSolat bot.
# # Example:
# # id: "waktusolat"
# id: ""
# # A secure token required to authenticate the WaktuSolat service with the Mastodon instance's API.
# # Example:
# # token: "6&p4%t)-$8a14fmfh92py8j55+us51r6%e52dzy&=a3-6yd4#e"
# token: ""
# # Specifies whether the WaktuSolat bot should be marked as a bot.
# # Default: true
# # Example:
# # bot: false
# bot: ""
# # Specifies whether the WaktuSolat bot should appear in the user directory.
# # Default: true
# # Example:
# # discoverable: false
# discoverable: ""
# # Specifies whether the WaktuSolat bot should be active.
# # Default: true
# # Example:
# # enabled: false
# enabled: ""
# # The display name of the WaktuSolat bot.
# # Default: null
# # Example:
# # display_name: "WaktuSolat"
# display_name: ""
# # A list of up to four name-value pairs information to be displayed on the WaktuSolat bot's profile.
# # Default: []
# # Example:
# # fields:
# # - name: "Website 1"
# # value: "https://domain1.example.org"
# # - name: "Website 2"
# # value: "https://domain2.example.org"
# fields: []
# # Specifies whether the WaktuSolat bot needs to manually approve follow requests.
# # Default: false
# # Example:
# # locked: true
# locked: ""
# # The bio of the WaktuSolat bot.
# # Default: null
# # Example:
# # note: "This is the bio of the WaktuSolat bot."
# note: ""
mastodon: []
# WaktuSolat storage persistence configurations.
persistence:
# Specifies whether WaktuSolat should persist its storage.
# Example:
# enabled: true
enabled: false
# The storage class name used for dynamically provisioning a persistent volume for the WaktuSolat storage.
# Default: "longhorn"
# Example:
# storageClassName: "longhorn"
storageClassName: ""
# WaktuSolat logs persistence configurations.
logs:
# The amount of persistent storage allocated for WaktuSolat logs.
# Default: "20Mi"
# Example:
# storage: "1Gi"
storage: ""
# WaktuSolat feed configurations.
# Example:
# feed:
# # The URL of the prayer time API feed to be used by WaktuSolat.
# # Example:
# # endpoint: "https://mpt.i906.my/api/prayer/%s"
# - endpoint: ""
# # The unique identifier of the API feed entry, must be an ISO 3166 Alpha-2 country code in uppercase.
# # Example:
# # id: "MY"
# id: ""
# # Specifies whether the API feed entry should be active to be used.
# # Default: true
# # Example:
# # enabled: false
# enabled: ""
feed: []
# WaktuSolat scheduler configurations.
scheduler:
# Specifies whether APScheduler should be used by WaktuSolat as the task scheduler.
# Example:
# apscheduler: false
apscheduler: true
# Specifies whether Celery should be used by WaktuSolat as the task scheduler.
# Example:
# celery: true
celery: false
# The schedule for the task scheduler used by WaktuSolat.
# Note: The `apscheduler` scheduler supports the `hour`, `minute`, and `second` fields simultaneously. The `celery` scheduler only supports a combination of the `hour` and `minute` fields, or the `second` field alone.
schedule:
# The schedule for cleaning up the database.
clean_db:
# The hours at which the task scheduler cleans up the database.
# Default: "0"
# Example:
# hour: "1"
hour: ""
# The minutes at which the task scheduler cleans up the database.
# Default: "0"
# Example:
# minute: "15"
minute: ""
# The seconds at which the task scheduler cleans up the database.
# Default: "0" for `apscheduler`
# Example:
# second: "30"
second: ""
# The schedule for scheduling the daily prayer time schedule posts.
notify_solat_schedule:
# The hours at which the task scheduler schedules the daily prayer time schedule posts.
# Default: "5"
# Example:
# hour: "4"
hour: ""
# The minutes at which the task scheduler schedules the daily prayer time schedule posts.
# Default: "0"
# Example:
# minute: "15"
minute: ""
# The seconds at which the task scheduler schedules the daily prayer time schedule posts.
# Default: "0" for `apscheduler`
# Example:
# second: "30"
second: ""
# The schedule for scheduling prayer time notifications.
notify_solat_times:
# The hours at which the task scheduler schedules prayer time notifications.
# Default: "*"
# Example:
# hour: "6,13,16,19,20"
hour: ""
# The minutes at which the task scheduler schedules prayer time notifications.
# Default: "*/1"
# Example:
# minute: "*"
minute: ""
# The seconds at which the task scheduler schedules prayer time notifications.
# Default: "0" for `apscheduler`
# Example:
# second: "30"
second: ""
# The schedule for posting scheduled posts.
post_scheduler:
# The hours at which the task scheduler posts scheduled posts.
# Default: "*"
# Example:
# hour: "4-20"
hour: ""
# The minutes at which the task scheduler posts scheduled posts.
# Default: "*"
# Example:
# minute: "0"
minute: ""
# The seconds at which the task scheduler posts scheduled posts.
# Default: "*/1"
# Example:
# second: "5"
second: ""
# The timezone for the task scheduler used by WaktuSolat to schedule time-dependent operations.
# Default: "Asia/Kuala_Lumpur"
# Example:
# timezone: "Asia/Kuala_Lumpur"
timezone: ""
# Database configurations.
db:
# The type of the database used by WaktuSolat.
# Default: "postgresql"
# Example:
# type: "postgresql"
type: ""
# The name of the database used by WaktuSolat.
# Example:
# name: "waktusolat"
name: ""
# The username or user account for accessing the WaktuSolat database.
# Example:
# user: "root"
user: ""
# The password associated with the WaktuSolat database's user.
# Example:
# password: "password"
password: ""
# The hostname or IP address of the WaktuSolat database server.
# Example:
# host: "waktusolat.default.svc.cluster.local"
host: ""
# The port number on which the WaktuSolat database server is listening.
# Default: "5432"
# Example:
# port: "5432"
port: ""
# Resource requirements and limits for WaktuSolat containers.
resources:
# WaktuSolat container resources.
waktusolat:
# The minimum amount of resources required by WaktuSolat to run.
requests:
# The minimum amount of CPU resources required by WaktuSolat.
# Note: This is the recommended default when using `apscheduler` as the scheduler. Allocate "100m" or more if using `celery` as the scheduler.
# Example:
# cpu: "20m"
cpu: "30m"
# The minimum amount of memory required by WaktuSolat.
# Note: This is the recommended default when using `apscheduler` as the scheduler. Allocate "250Mi" or more if using `celery` as the scheduler.
# Example:
# memory: "250Mi"
memory: "60Mi"
# The maximum amount of resources allowed for WaktuSolat.
limits:
# The maximum amount of CPU resources allowed for WaktuSolat.
# Note: This is the recommended default when using `apscheduler` as the scheduler. Allocate "200m" or more if using `celery` as the scheduler.
# Example:
# cpu: "50m"
cpu: "50m"
# The maximum amount of memory allowed for WaktuSolat.
# Note: This is the recommended default when using `apscheduler` as the scheduler. Allocate "400Mi" or more if using `celery` as the scheduler.
# Example:
# memory: "450Mi"
memory: "120Mi"
# Scheduler container resources.
scheduler:
# The minimum amount of resources required by Scheduler to run.
requests:
# The minimum amount of CPU resources required by Scheduler.
# Note: This is the recommended default when using `apscheduler` as the scheduler. Allocate "10m" or more if using `celery` as the scheduler.
# Example:
# cpu: "5m"
cpu: "10m"
# The minimum amount of memory required by Scheduler.
# Note: This is the recommended default when using `apscheduler` as the scheduler. Allocate "50Mi" or more if using `celery` as the scheduler.
# Example:
# memory: "30Mi"
memory: "100Mi"
# The maximum amount of resources allowed for Scheduler.
limits:
# The maximum amount of CPU resources allowed for Scheduler.
# Note: This is the recommended default when using `apscheduler` as the scheduler. Allocate "20m" or more if using `celery` as the scheduler.
# Example:
# cpu: "15m"
cpu: "20m"
# The maximum amount of memory allowed for Scheduler.
# Note: This is the recommended default when using `apscheduler` as the scheduler. Allocate "100Mi" or more if using `celery` as the scheduler.
# Example:
# memory: "50Mi"
memory: "200Mi"