-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvalues.yaml
170 lines (147 loc) · 3.89 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
# Default values for ctfd.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: ctfd/ctfd
tag: # defaults to chart version. Optionally, override here
pullPolicy: IfNotPresent
# Set K8s securityContext for the CTFd deployment:
security:
fsGroup: 1001
runAsNonRoot: true
runAsUser: 1001
# Bitnami helm redis deployment
# See bitnami redis values.yaml for more details
redis:
# Enable Redis server provided by helm:
enabled: True
auth:
enabled: true
password: "ChangeMe!123"
# Redis® architecture. Allowed values: standalone or replication
architecture: standalone
mariadb:
# Enable mariadb server provided by helm:
enabled: True
# Login credentials:
auth:
rootPassword: "ChangeMe!123"
database: ctfd
username: "ctfd"
password: "ChangeMe!123"
replicationUser: "replicate"
replicationPassword: "ChangeMe!123"
persistence:
enabled: true
storageClass: ""
accessModes:
- ReadWriteOnce
size: 15Gi
externalDB:
# (required if mariadb-galera is disabled) External SQL Database URI. Example: mysql+pymysql://root:ctfd@db/ctfd
DATABASE_URL: ""
# (required if redis is disabled) External Redis URI. Example: redis://cache:6379
REDIS_URL: ""
env:
open:
# Required if more than 1 worker (randomly generate)
SECRET_KEY: "ChangeMe!123"
# Amount of CTFd workers
WORKERS: 5
# If behing ingress proxy or nginx:
REVERSE_PROXY: True
secret:
existingSecret:
# Stores Environment Variable to secret key name mappings
existingSecretMappings:
DATABASE_URL:
REDIS_URL:
config:
enabled: false
settings: |
[server]
SECRET_KEY =
[extra]
# Set needed config here
# For uploads to the CTFd server (images and other content)
# Not for DB
persistence:
uploads:
enabled: true
#ReadWriteMany may be desired here if using multiple CTFd pods
accessMode: ReadWriteOnce
size: 10Gi
labels: {}
# name: value
# existingClaim:
# storageClass: "-"
service:
type: ClusterIP
port: 80
targetPort: 8000
#if service.type = loadbalancer
# loadBalancerSourceRanges: []
# loadBalancerIP: ""
probes:
liveness:
initialDelaySeconds: 25
periodSeconds: 5
timeoutSeconds: 2
successThreshold: 1
failureThreshold: 5
readiness:
initialDelaySeconds: 20
periodSeconds: 5
timeoutSeconds: 2
successThreshold: 1
failureThreshold: 5
# CTFd ingress:
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: ctf.your.domain.com
path: "/"
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources: {}
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}
nameOverride: ""
fullnameOverride: ""
metrics:
enabled: false
image:
registry: docker.io
repository: bitnami/mysqld-exporter
tag: 0.15.0-debian-11-r27
pullPolicy: IfNotPresent
resources: {}
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "9104"
# Enable this if you're using https://github.com/coreos/prometheus-operator
serviceMonitor:
enabled: false
## Specify a namespace if needed
# namespace: monitoring
# fallback to the prometheus default unless specified
# interval: 10s
# scrapeTimeout: 10s
## Defaults to what's used if you follow CoreOS [Prometheus Install Instructions](https://github.com/helm/charts/tree/master/stable/prometheus-operator#tldr)
## [Prometheus Selector Label](https://github.com/helm/charts/tree/master/stable/prometheus-operator#prometheus-operator-1)
## [Kube Prometheus Selector Label](https://github.com/helm/charts/tree/master/stable/prometheus-operator#exporters)
selector:
prometheus: kube-prometheus