-
Notifications
You must be signed in to change notification settings - Fork 2
/
ctfd.yaml
65 lines (55 loc) · 1.57 KB
/
ctfd.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
# Default values for ctfd.
# See https://github.com/bman46/CTFd-Helm/blob/main/values.yaml
# Passwords/secrets in this file are random-generated,
# and overriden using --set in the deployment script
# If > 1, make sure to set persistence.uploads.accessMode to ReadWriteMany
# DO NOT increase this value without testing, as there seems to be a bug when replicaCount is greater than 1
replicaCount: 1
# Bitnami helm redis deployment
redis:
# Enable Redis server provided by helm:
enabled: True
auth:
enabled: true
password: null
mariadb:
# Enable mariadb server provided by helm:
enabled: True
# Login credentials:
auth:
rootPassword: null
password: null
replicationPassword: null
persistence:
enabled: true
size: 15Gi
# See https://docs.ctfd.io/docs/deployment/configuration for CTFd env vars
env:
open:
# Required if more than 1 worker (randomly generate)
SECRET_KEY: null
# Amount of CTFd workers
WORKERS: 5
# If behing ingress proxy or nginx:
REVERSE_PROXY: True
# Specifies what path CTFd is mounted under
APPLICATION_ROOT: "/ctfd"
# For uploads to the CTFd server (images and other content)
persistence:
uploads:
enabled: true
#ReadWriteMany may be desired here if using multiple CTFd pods
accessMode: ReadWriteOnce
size: 10Gi
service:
type: ClusterIP
port: 80
targetPort: 8000
metrics:
enabled: false
# Enable this if you're using https://github.com/coreos/prometheus-operator
serviceMonitor:
enabled: false
namespace: monitoring
selector:
prometheus: kube-prometheus