-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathvalues.yaml
More file actions
346 lines (324 loc) · 8.16 KB
/
values.yaml
File metadata and controls
346 lines (324 loc) · 8.16 KB
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
344
345
346
# Default values for openpanel
# This is a YAML-formatted file.
# Global configuration
# Allows overriding container image registry and setting imagePullSecrets
global:
# If set, prefixes all component images, e.g. "my-registry.example.com"
imageRegistry: ""
# List of imagePullSecrets to attach to all Pods
# Example:
# imagePullSecrets:
# - name: my-regcred
imagePullSecrets: []
# PostgreSQL Configuration
# Set postgresql.enabled=true to deploy PostgreSQL in Kubernetes
# Set postgresql.enabled=false to use external PostgreSQL
postgresql:
enabled: false # Set to true for self-hosted PostgreSQL
image:
repository: postgres
tag: "14-alpine"
user: postgres
password: postgres # Change this in production!
database: postgres
service:
name: op-db
port: 5432
persistence:
enabled: true
size: 20Gi
storageClass: "" # Use default storage class
resources:
requests:
memory: "256Mi"
cpu: "250m"
limits:
memory: "2Gi"
cpu: "2000m"
# Taints and tolerations for PostgreSQL pods
tolerations: []
# Example:
# - key: "dedicated"
# operator: "Equal"
# value: "postgresql"
# effect: "NoSchedule"
# Pod affinity/anti-affinity for PostgreSQL pods
affinity: {}
# Example:
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: app
# operator: In
# values:
# - openpanel
# External PostgreSQL Configuration (when postgresql.enabled=false)
externalPostgresql:
host: "<postgres_host>"
port: 5432
user: "<postgres_user>"
password: "<postgres_password>" # Change this!
database: "<database_name>"
schema: public
# Redis Configuration
redis:
enabled: true
image:
repository: redis
tag: "7.2.5-alpine"
service:
name: op-kv
port: 6379
persistence:
enabled: true
size: 10Gi
storageClass: ""
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "1000m"
# Taints and tolerations for Redis pods
tolerations: []
# Example:
# - key: "dedicated"
# operator: "Equal"
# value: "redis"
# effect: "NoSchedule"
# Pod affinity/anti-affinity for Redis pods
affinity: {}
# Example:
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: app
# operator: In
# values:
# - openpanel
# External Redis Configuration (when redis.enabled=false)
externalRedis:
host: "redis.example.com"
port: 6379
# ClickHouse Configuration
clickhouse:
enabled: true
image:
repository: clickhouse/clickhouse-server
tag: "25.10.2.65"
service:
name: op-ch
httpPort: 8123
nativePort: 9000
database: openpanel
persistence:
enabled: true
dataSize: 50Gi
logsSize: 10Gi
storageClass: ""
resources:
requests:
memory: "1Gi"
cpu: "500m"
limits:
memory: "4Gi"
cpu: "2000m"
# Taints and tolerations for ClickHouse pods
tolerations: []
# Example:
# - key: "dedicated"
# operator: "Equal"
# value: "clickhouse"
# effect: "NoSchedule"
# Pod affinity/anti-affinity for ClickHouse pods
affinity: {}
# Example:
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: app
# operator: In
# values:
# - openpanel
# External ClickHouse Configuration (when clickhouse.enabled=false)
externalClickhouse:
host: "clickhouse.example.com"
port: 8123
database: openpanel
# API Configuration
api:
enabled: true
image:
repository: lindesvard/openpanel-api
tag: latest
service:
name: op-api
type: ClusterIP
port: 3000
replicas: 1
resources:
requests:
memory: "512Mi"
cpu: "250m"
limits:
memory: "2Gi"
cpu: "2000m"
# Taints and tolerations for API pods
tolerations: []
# Example:
# - key: "dedicated"
# operator: "Equal"
# value: "api"
# effect: "NoSchedule"
# Pod affinity/anti-affinity for API pods
affinity: {}
# Example:
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: app
# operator: In
# values:
# - openpanel
# Horizontal Pod Autoscaler (HPA) configuration
hpa:
enabled: false
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 70
targetMemoryUtilizationPercentage: 80
# Dashboard Configuration
dashboard:
enabled: true
image:
repository: lindesvard/openpanel-dashboard
tag: latest
service:
name: op-dashboard
type: ClusterIP
port: 3000
replicas: 1
resources:
requests:
memory: "512Mi"
cpu: "250m"
limits:
memory: "2Gi"
cpu: "2000m"
# Taints and tolerations for Dashboard pods
tolerations: []
# Example:
# - key: "dedicated"
# operator: "Equal"
# value: "dashboard"
# effect: "NoSchedule"
# Pod affinity/anti-affinity for Dashboard pods
affinity: {}
# Example:
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: app
# operator: In
# values:
# - openpanel
# Horizontal Pod Autoscaler (HPA) configuration
hpa:
enabled: false
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 70
targetMemoryUtilizationPercentage: 80
# Worker Configuration
worker:
enabled: true
image:
repository: lindesvard/openpanel-worker
tag: latest
service:
name: op-worker
type: ClusterIP
port: 3000
replicas: 1
resources:
requests:
memory: "512Mi"
cpu: "250m"
limits:
memory: "2Gi"
cpu: "2000m"
# Taints and tolerations for Worker pods
tolerations: []
# Example:
# - key: "dedicated"
# operator: "Equal"
# value: "worker"
# effect: "NoSchedule"
# Pod affinity/anti-affinity for Worker pods
affinity: {}
# Example:
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: app
# operator: In
# values:
# - openpanel
# Horizontal Pod Autoscaler (HPA) configuration
hpa:
enabled: false
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 70
targetMemoryUtilizationPercentage: 80
# Application Configuration
config:
# Domain configuration
apiUrl: "https://<fqdn>/api"
dashboardUrl: "https://<fqdn>"
# Application settings
nodeEnv: "production"
selfHosted: "true"
# Registration settings
allowRegistration: "true"
allowInvitation: "true"
# Optional: AI features
aiModel: "gpt-4o-mini" # Options: gpt-4o, gpt-4o-mini, claude-3-5
# OAuth redirect URIs
googleRedirectUri: "https://<fqdn>/api/oauth/google/callback"
# Secrets Configuration
secrets:
# REQUIRED: Generate with: openssl rand -base64 32
cookieSecret: "CHANGE_ME_GENERATE_A_RANDOM_32_CHAR_STRING"
# Email configuration (optional)
resendApiKey: "<resend_api_key>"
emailSender: "<email_sender>"
# AI features (optional)
openaiApiKey: "<openai_api_key>"
anthropicApiKey: "<anthropic_api_key>"
# Google OAuth (optional)
googleClientId: "<google_client_id>"
googleClientSecret: "<google_client_secret>"
# Ingress Configuration
ingress:
enabled: true
type: httpproxy # Options: httpproxy, standard
fqdn: <fqdn> # Common FQDN for both ingress types
# For HTTPProxy (Contour)
httpproxy:
tlsSecretName: <tls_secret_name>
# For standard Ingress (nginx, traefik, etc.)
standard:
className: nginx
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/ssl-redirect: "true"
cert-manager.io/cluster-issuer: "letsencrypt-prod" # Remove this if not using cert-manager
# tlsSecretName: <tls_secret_name> # Optional: Only needed for manual TLS certs. Leave empty/unset when using cert-manager/Let's Encrypt