-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathquestions.yml
More file actions
704 lines (688 loc) · 18.3 KB
/
Copy pathquestions.yml
File metadata and controls
704 lines (688 loc) · 18.3 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
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
questions:
- variable: dockerRegistry.enabled
label: Docker Registry Enabled
type: boolean
default: false
group: "Docker Registry"
show_subquestion_if: true
subquestions:
- variable: dockerRegistry.host
label: "Registry Host"
type: string
- variable: dockerRegistry.loginid
label: "Login ID"
type: string
- variable: dockerRegistry.password
label: "Password/Token"
type: password
- variable: planeVersion
label: Plane Version (Docker Image Tag)
type: string
default: v1.4.1
required: true
group: "Docker Registry"
- variable: web.image
label: Frontend Docker Image
type: string
required: true
default: "artifacts.plane.so/makeplane/plane-frontend"
group: "Web Setup"
subquestions:
- variable: web.pullPolicy
label: "Image Pull Policy"
type: enum
options:
- "Always"
- "IfNotPresent"
- "Never"
default: "Always"
- variable: web.replicas
label: "Default Replica Count"
type: int
default: 1
- variable: web.memoryLimit
label: "Memory Limit"
type: string
default: 1000Mi
- variable: web.cpuLimit
label: "CPU Limit"
type: string
default: 500m
- variable: web.assign_cluster_ip
label: "Assign Cluster IP"
type: boolean
default: false
- variable: web.memoryRequest
label: "Memory Request"
type: string
default: 50Mi
- variable: web.cpuRequest
label: "CPU Request"
type: string
default: 50m
- variable: space.image
label: Space Docker Image
type: string
required: true
default: "artifacts.plane.so/makeplane/plane-space"
group: "Spaces Setup"
subquestions:
- variable: space.pullPolicy
label: "Image Pull Policy"
type: enum
options:
- "Always"
- "IfNotPresent"
- "Never"
default: "Always"
- variable: space.replicas
label: "Default Replica Count"
type: int
default: 1
- variable: space.memoryLimit
label: "Memory Limit"
type: string
default: 1000Mi
- variable: space.cpuLimit
label: "CPU Limit"
type: string
default: 500m
- variable: space.memoryRequest
label: "Memory Request"
type: string
default: 50Mi
- variable: space.cpuRequest
label: "CPU Request"
type: string
default: 50m
- variable: space.assign_cluster_ip
label: "Assign Cluster IP"
type: boolean
default: false
- variable: admin.image
label: Admin Docker Image
type: string
required: true
default: "artifacts.plane.so/makeplane/plane-admin"
group: "Admin Setup"
subquestions:
- variable: admin.pullPolicy
label: "Image Pull Policy"
type: enum
options:
- "Always"
- "IfNotPresent"
- "Never"
default: "Always"
- variable: admin.replicas
label: "Default Replica Count"
type: int
default: 1
- variable: admin.memoryLimit
label: "Memory Limit"
type: string
default: 1000Mi
- variable: admin.cpuLimit
label: "CPU Limit"
type: string
default: 500m
- variable: admin.assign_cluster_ip
label: "Assign Cluster IP"
type: boolean
default: true
- variable: admin.memoryRequest
label: "Memory Request"
type: string
default: 50Mi
- variable: admin.cpuRequest
label: "CPU Request"
type: string
default: 50m
- variable: live.image
label: Live Docker Image
type: string
required: true
default: "artifacts.plane.so/makeplane/plane-live"
description: "Live Server Setup"
group: "Live Setup"
subquestions:
- variable: live.pullPolicy
label: "Image Pull Policy"
type: enum
options:
- "Always"
- "IfNotPresent"
- "Never"
default: "Always"
- variable: live.replicas
label: "Default Replica Count"
type: int
default: 1
- variable: live.memoryLimit
label: "Memory Limit"
type: string
default: 1000Mi
- variable: live.cpuLimit
label: "CPU Limit"
type: string
default: 500m
- variable: live.assign_cluster_ip
label: "Assign Cluster IP"
type: boolean
default: false
- variable: live.memoryRequest
label: "Memory Request"
type: string
default: 50Mi
- variable: live.cpuRequest
label: "CPU Request"
type: string
default: 50m
- variable: env.live_server_secret_key
label: "Live Server Secret Key"
type: string
default: "htbqvBJAgpm9bzvf3r4urJer0ENReatceh"
- variable: api.image
label: Backend Docker Image
type: string
required: true
default: "artifacts.plane.so/makeplane/plane-backend"
description: "Used by API, Worker, Beat-Worker"
group: "API Setup"
subquestions:
- variable: api.pullPolicy
label: "Image Pull Policy"
type: enum
options:
- "Always"
- "IfNotPresent"
- "Never"
default: "Always"
- variable: api.replicas
label: "Default Replica Count"
type: int
default: 1
- variable: api.memoryLimit
label: "Memory Limit"
type: string
default: 1000Mi
- variable: api.cpuLimit
label: "CPU Limit"
type: string
default: 500m
- variable: api.assign_cluster_ip
label: "Assign Cluster IP"
type: boolean
default: false
- variable: api.memoryRequest
label: "Memory Request"
type: string
default: 50Mi
- variable: api.cpuRequest
label: "CPU Request"
type: string
default: 50m
- variable: env.cors_allowed_origins
label: "CORS Allowed Origins"
type: string
default: ""
- variable: env.sentry_dsn
label: "Sentry DSN"
type: string
default: ""
- variable: env.sentry_environment
label: "Sentry Environment"
type: string
default: "Development"
- variable: env.secret_key
label: "Random Secret Key"
type: string
required: true
default: "60gp0byfz2dvffa45cxl20p1scy9xbpf6d8c5y0geejgkyp1b5"
- variable: env.api_key_rate_limit
label: "API Key Rate Limit"
type: string
default: "60/minute"
- variable: worker.replicas
label: "Default Replica Count"
type: int
default: 1
group: "Worker Setup"
subquestions:
- variable: worker.memoryLimit
label: "Memory Limit"
type: string
default: 1000Mi
- variable: worker.cpuLimit
label: "CPU Limit"
type: string
default: 500m
- variable: worker.memoryRequest
label: "Memory Request"
type: string
default: 50Mi
- variable: worker.cpuRequest
label: "CPU Request"
type: string
default: 50m
- variable: beatworker.replicas
label: "Default Replica Count"
type: int
default: 1
group: "Beat Worker Setup"
subquestions:
- variable: beatworker.memoryLimit
label: "Memory Limit"
type: string
default: 1000Mi
- variable: beatworker.cpuLimit
label: "CPU Limit"
type: string
default: 500m
- variable: beatworker.memoryRequest
label: "Memory Request"
type: string
default: 50Mi
- variable: beatworker.cpuRequest
label: "CPU Request"
type: string
default: 50m
- variable: redis.local_setup
label: "Install Redis"
type: boolean
default: true
group: "Redis Setup"
subquestions:
- variable: redis.pullPolicy
label: "Redis Pull Policy"
type: enum
options:
- "Always"
- "IfNotPresent"
- "Never"
default: "IfNotPresent"
- variable: redis.image
label: "Docker Image"
type: string
default: "valkey/valkey:7.2.11-alpine"
show_if: "redis.local_setup=true"
- variable: redis.servicePort
label: Port
type: int
default: 6379
show_if: "redis.local_setup=true"
- variable: redis.storageClass
label: "Storage Class"
type: storageclass
show_if: "redis.local_setup=true"
- variable: redis.volumeSize
label: "Volume Size"
type: string
default: "100Mi"
show_if: "redis.local_setup=true"
- variable: redis.assign_cluster_ip
label: "Assign Cluster IP"
type: boolean
default: false
show_if: "redis.local_setup=true"
- variable: env.remote_redis_url
label: "Remote Redis URL"
type: string
default: "redis://"
show_if: "redis.local_setup=false"
- variable: postgres.local_setup
label: "Install Postgres"
type: boolean
default: true
group: "Postgres Setup"
# show_subquestion_if: true
subquestions:
- variable: postgres.pullPolicy
label: "Postgres Pull Policy"
type: enum
options:
- "Always"
- "IfNotPresent"
- "Never"
default: "IfNotPresent"
- variable: postgres.image
label: "Docker Image"
type: string
default: "postgres:15.7-alpine"
show_if: "postgres.local_setup=true"
- variable: postgres.servicePort
label: Service Port
type: int
default: 5432
show_if: "postgres.local_setup=true"
- variable: postgres.storageClass
label: "Storage Class"
type: storageclass
show_if: "postgres.local_setup=true"
- variable: postgres.volumeSize
label: "Volume Size"
type: string
default: "1Gi"
show_if: "postgres.local_setup=true"
- variable: env.pgdb_username
label: "Username"
type: string
default: "plane"
show_if: "postgres.local_setup=true"
- variable: env.pgdb_password
label: "Password"
type: password
default: "plane"
show_if: "postgres.local_setup=true"
- variable: env.pgdb_name
label: "DB Name"
type: string
default: "plane"
show_if: "postgres.local_setup=true"
- variable: postgres.assign_cluster_ip
label: "Assign Cluster IP"
type: boolean
default: false
show_if: "postgres.local_setup=true"
- variable: env.pgdb_remote_url
label: "Remote URL"
type: string
default: "postrgres://"
show_if: "postgres.local_setup=false"
- variable: rabbitmq.local_setup
label: "Install RabbitMQ"
type: boolean
default: true
group: "RabbitMQ Setup"
subquestions:
- variable: rabbitmq.image
label: "Docker Image"
type: string
default: "rabbitmq:4.2.9-management-alpine"
show_if: "rabbitmq.local_setup=true"
- variable: rabbitmq.pullPolicy
label: "Image Pull Policy"
type: enum
options:
- "Always"
- "IfNotPresent"
- "Never"
default: "IfNotPresent"
show_if: "rabbitmq.local_setup=true"
- variable: rabbitmq.servicePort
label: Service Port
type: int
default: 5672
show_if: "rabbitmq.local_setup=true"
- variable: rabbitmq.managementPort
label: Management Port
type: int
default: 15672
show_if: "rabbitmq.local_setup=true"
- variable: rabbitmq.assign_cluster_ip
label: "Assign ClusterIP"
type: boolean
default: false
show_if: "rabbitmq.local_setup=true"
- variable: rabbitmq.storageClass
label: "Storage Class"
type: storageclass
show_if: "rabbitmq.local_setup=true"
- variable: rabbitmq.volumeSize
label: "Volume Size"
type: string
default: "100Mi"
show_if: "rabbitmq.local_setup=true"
- variable: rabbitmq.default_user
label: "Username"
type: string
default: "plane"
show_if: "rabbitmq.local_setup=true"
- variable: rabbitmq.default_password
label: "Password"
type: password
default: "plane"
show_if: "rabbitmq.local_setup=true"
- variable: rabbitmq.external_rabbitmq_url
label: "Remote URL"
type: string
show_if: "rabbitmq.local_setup=false"
- variable: minio.local_setup
label: "Install Minio"
type: boolean
default: true
group: "Storage Setup"
subquestions:
- variable: minio.pullPolicy
label: "Minio Pull Policy"
type: enum
options:
- "Always"
- "IfNotPresent"
- "Never"
default: "IfNotPresent"
- variable: minio.image
label: "Docker Image"
type: string
default: "minio/minio:latest"
show_if: "minio.local_setup=true"
- variable: minio.image_mc
label: "MinIO Client Docker Image"
type: string
default: "minio/mc:latest"
show_if: "minio.local_setup=true"
- variable: minio.init_image
label: "Init Docker Image"
type: string
default: "busybox"
show_if: "minio.local_setup=true"
- variable: minio.root_user
label: "Root User"
type: string
default: "admin"
show_if: "minio.local_setup=true"
- variable: minio.root_password
label: "Root Password"
type: password
default: "password"
show_if: "minio.local_setup=true"
- variable: minio.storageClass
label: "Storage Class"
type: storageclass
show_if: "minio.local_setup=true"
- variable: minio.volumeSize
label: "Volume Size"
type: string
default: "1Gi"
show_if: "minio.local_setup=true"
- variable: minio.assign_cluster_ip
label: "Assign Cluster IP"
type: boolean
default: false
show_if: "minio.local_setup=true"
- variable: env.aws_access_key
label: "AWS Access Key"
type: string
default: ""
show_if: "minio.local_setup=false"
- variable: env.aws_secret_access_key
label: "AWS Secret Key"
type: password
default: ""
show_if: "minio.local_setup=false"
- variable: env.aws_region
label: "AWS Region"
type: string
default: ""
show_if: "minio.local_setup=false"
- variable: env.aws_s3_endpoint_url
label: "AWS S3 Endpoint URL"
type: string
default: ""
show_if: "minio.local_setup=false"
- variable: env.docstore_bucket
label: "Bucket Name"
type: string
default: "uploads"
- variable: env.doc_upload_size_limit
label: "FIle Upload Size Limit"
type: string
default: "5242880"
- variable: minio.env.minio_endpoint_ssl
label: "Minio Endpoint SSL"
type: boolean
default: false
- variable: ingress.enabled
label: "Install Ingress"
type: boolean
default: true
required: true
group: "Ingress"
subquestions:
- variable: ingress.appHost
label: "App. Host"
type: string
default: "plane.example.com"
required: true
- variable: ingress.minioHost
label: "Minio Host"
type: string
default: ""
show_if: "minio.local_setup=true"
- variable: ingress.rabbitmqHost
label: "Rabbitmq Host"
type: string
default: ""
show_if: "rabbitmq.local_setup=true"
- variable: ingress.ingressClass
label: "Ingress Classname"
type: string
default: "nginx"
show_if: "ingress.enabled=true"
- variable: ssl.createIssuer
label: "Create Issuer"
type: boolean
default: false
group: "Ingress"
show_if: "ingress.enabled=true"
show_subquestion_if: true
subquestions:
- variable: ssl.issuer
label: "SSL Issuer"
type: enum
options:
- "http"
- "cloudflare"
- "digitalocean"
default: "http"
- variable: ssl.server
label: "Let's Encrypt Server URL"
type: string
default: "https://acme-staging-v02.api.letsencrypt.org/directory"
- variable: ssl.email
label: "Let's Encrypt Reg. Email"
type: string
default: "plane@example.com"
- variable: ssl.token
label: "Provider API Token"
type: password
default: ""
description: "Not required for 'http' issuer"
show_if: "ssl.issuer=cloudflare || ssl.issuer=digitalocean"
- variable: ssl.generateCerts
label: "Enable to generate certificates"
type: boolean
default: false
- variable: ssl.tls_secret_name
label: "Custom TLS Secret Name"
type: string
default: ""
group: "Ingress"
show_if: "ssl.createIssuer=false"
- variable: external_secrets.rabbitmq_existingSecret
label: "RabbitMQ Secrets File Name"
type: string
default: ""
group: "External Secrets"
- variable: external_secrets.pgdb_existingSecret
label: "Postgres Secrets File Name"
type: string
default: ""
group: "External Secrets"
- variable: external_secrets.doc_store_existingSecret
label: "Doc Store and Minio Secrets File Name"
type: string
default: ""
group: "External Secrets"
- variable: external_secrets.app_env_existingSecret
label: "App Envs Secrets File Name"
type: string
default: ""
group: "External Secrets"
- variable: external_secrets.live_env_existingSecret
label: "Live Envs Secrets File Name"
type: string
default: ""
group: "External Secrets"
# --- Shared key groups --------------------------------------------------------
- variable: external_secrets.app_keys_existingSecret
label: "Signing Keys Secret"
description: "SECRET_KEY and LIVE_SERVER_SECRET_KEY. SECRET_KEY derives the key that encrypts the instance-configuration rows — SMTP password, OAuth client secrets — so changing it makes them undecryptable, silently. Keep it per environment and never rotate it."
type: string
default: ""
group: "External Secrets"
- variable: external_secrets.ssl_token_existingSecret
label: "DNS-01 Token Secret"
description: "cert-manager DNS provider API token, under the key api-token. Usually one token covers a whole wildcard domain, so this is safe to share."
type: string
default: ""
group: "External Secrets"
- variable: external_secrets.storage.secretName
label: "Object Storage Credential Secret"
description: "Leave empty on a cloud and annotate the ServiceAccount instead — a pod identity beats a stored access key. Ignored while the bundled MinIO is deployed."
type: string
default: ""
group: "External Secrets"
- variable: external_secrets.storage.accessKeyIdKey
label: "Storage Access Key ID Key"
type: string
default: ""
group: "External Secrets"
show_if: "external_secrets.storage.secretName!="
- variable: external_secrets.storage.secretAccessKeyKey
label: "Storage Secret Access Key Key"
type: string
default: ""
group: "External Secrets"
show_if: "external_secrets.storage.secretName!="
- variable: dockerRegistry.existingSecret
label: "Existing Image Pull Secret"
description: "Use a pull secret that already exists in the namespace instead of building one from the login below."
type: string
default: ""
group: "Docker Registry"
# --- Cloud identity -----------------------------------------------------------
- variable: serviceAccount.create
label: "Create the ServiceAccount"
description: "Turn off to run as a ServiceAccount managed outside this chart."
type: boolean
default: true
group: "Service Account"
- variable: serviceAccount.name
label: "ServiceAccount Name"
description: "Defaults to <release>-srv-account."
type: string
default: ""
group: "Service Account"
- variable: serviceAccount.cloudIdentity
label: "ServiceAccount Has a Cloud Identity"
description: "Advisory. Turns on the install notes that catch a static credential shadowing the identity."
type: boolean
default: false
group: "Service Account"
- variable: env.requireExplicitSecrets
label: "Refuse to Render Default Signing Keys"
description: "Fails the render instead of falling back to this chart's PUBLIC example values for SECRET_KEY and LIVE_SERVER_SECRET_KEY."
type: boolean
default: false
group: "Service Account"