TrueChartsClone/charts/stable/ctfd/values.yaml

82 lines
2.2 KiB
YAML
Raw Normal View History

feat(ctfd) add ctfd (#11151) **Description** CTFd is a Capture The Flag framework focusing on ease of use and customizability. ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [X] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [X] ⚖️ My code follows the style guidelines of this project - [X] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [X] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [X] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2023-08-06 08:59:57 +00:00
image:
repository: tccr.io/truecharts/ctfd
pullPolicy: IfNotPresent
tag: v3.6.0@sha256:5492aa83311f41d70bb5f41b3c5467cf2fafc8b198300001121ad04ea05b6697
feat(ctfd) add ctfd (#11151) **Description** CTFd is a Capture The Flag framework focusing on ease of use and customizability. ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [X] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [X] ⚖️ My code follows the style guidelines of this project - [X] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [X] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [X] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2023-08-06 08:59:57 +00:00
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
DATABASE_PASSWORD:
secretKeyRef:
expandObjectName: false
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
key: mariadb-password
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
mariadbUsername: ctfd
mariadbDatabase: ctfd
redis:
enabled: true
redisUsername: default
persistence:
uploads:
enabled: true
mountPath: "/uploads"
logs:
enabled: true
mountPath: "/logs"
portal:
open:
enabled: true