2024-02-24 14:12:06 +00:00
|
|
|
image:
|
|
|
|
repository: ghcr.io/ctfd/ctfd
|
2024-03-06 12:03:23 +00:00
|
|
|
tag: 3.7.0@sha256:8dcf820b92f25cdb4dee400ca0b88b8ca4396c79b9a801f5b2f9304f2bb056de
|
2024-02-24 14:12:06 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
protocol: http
|
|
|
|
targetPort: 8000
|
|
|
|
port: 10613
|
|
|
|
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
env:
|
|
|
|
# filesystem | s3
|
|
|
|
UPLOAD_PROVIDER: filesystem
|
|
|
|
# set storage locations.
|
|
|
|
UPLOAD_FOLDER: "{{ .Values.persistence.uploads.mountPath }}"
|
|
|
|
LOG_FOLDER: "{{ .Values.persistence.logs.mountPath }}"
|
|
|
|
SECRET_KEY:
|
|
|
|
secretKeyRef:
|
|
|
|
name: ctfd-secrets
|
|
|
|
key: SECRET_KEY
|
|
|
|
DATABASE_PORT: 3306
|
|
|
|
DATABASE_NAME: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
|
|
DATABASE_USER: "{{ .Values.mariadb.mariadbUsername }}"
|
|
|
|
DATABASE_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
|
|
|
|
key: plainhost
|
2024-04-10 12:21:07 +00:00
|
|
|
DATABASE_PASSWORD: "{{ .Values.mariadb.password }}"
|
2024-02-24 14:12:06 +00:00
|
|
|
REDIS_URL:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
|
|
|
|
key: url
|
|
|
|
MAIL_USEAUTH: false
|
|
|
|
MAILFROM_ADDR: ""
|
|
|
|
MAIL_SERVER: ""
|
|
|
|
MAIL_PORT: 587
|
|
|
|
MAIL_USERNAME: ""
|
|
|
|
MAIL_PASSWORD: ""
|
|
|
|
MAIL_TLS: false
|
|
|
|
MAIL_SSL: false
|
|
|
|
# CTFd will not load any plugins which may alleviate issues preventing CTFd from starting, default is false.
|
|
|
|
SAFE_MODE: true
|
|
|
|
REVERSE_PROXY: false
|
|
|
|
# majorleaguecyber
|
|
|
|
OAUTH_CLIENT_ID: ""
|
|
|
|
OAUTH_CLIENT_SECRET: ""
|
|
|
|
|
|
|
|
mariadb:
|
|
|
|
enabled: true
|
2024-04-10 16:44:42 +00:00
|
|
|
includeCommon: true
|
2024-02-24 14:12:06 +00:00
|
|
|
mariadbUsername: ctfd
|
|
|
|
mariadbDatabase: ctfd
|
|
|
|
|
|
|
|
redis:
|
|
|
|
enabled: true
|
2024-04-10 16:44:42 +00:00
|
|
|
includeCommon: true
|
2024-02-24 14:12:06 +00:00
|
|
|
redisUsername: default
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
uploads:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/uploads"
|
|
|
|
logs:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/logs"
|
|
|
|
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|