Skip to content

Commit 7fa4453

Browse files
committed
update values.yaml, run helm-docs
Signed-off-by: Brenno Oliveira <brenno.oliveira@deliveryhero.com>
1 parent b0b96db commit 7fa4453

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CTFd Helm Chart
2-
![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
2+
![Version: 0.3.1](https://img.shields.io/badge/Version-0.3.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
33
[![Lint and Server-side Dryrun Chart](https://github.com/ScribblerCoder/CTFd-Helm/actions/workflows/helm-lint-test.yaml/badge.svg)](https://github.com/ScribblerCoder/CTFd-Helm/actions/workflows/helm-lint-test.yaml)
44

55
This is a Helm chart for deploying CTFd on Kubernetes. It deploys the official [CTFd Docker image](ghcr.io/ctfd/ctfd). HA and Autoscaling + MariaDB + Redis + S3 Storage. Also supports using external MariaDB/Redis/S3.

templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ mysql+pymysql://{{ index .Values "mariadb-galera" "external" "username" }}:{{ in
8181
{{- if .Values.redis.enabled -}}
8282
redis://{{ .Release.Name }}-redis-master:6379
8383
{{- else -}}
84-
{{- printf "%s://%s:%s@%s:%v/%s" (.Values.redis.external.protocol | default "redis") .Values.redis.external.username .Values.redis.external.password .Values.redis.external.host .Values.redis.external.port (.Values.redis.external.database | default 0) -}}
84+
{{- printf "%s://%s:%s@%s:%v/%v" (.Values.redis.external.protocol | default "redis") .Values.redis.external.username .Values.redis.external.password .Values.redis.external.host .Values.redis.external.port (.Values.redis.external.database | default 0) -}}
8585
{{- end -}}
8686
{{- end -}}
8787

values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,8 @@ redis:
235235
host: external-redis-host
236236
username: ""
237237
password: ""
238+
protocol: "redis" # change to rediss if you are using TLS
239+
database: 0
238240
volumePermissions:
239241
enabled: true # set to false if you want to manage the permissions yourself
240242
sysctl:
@@ -287,4 +289,4 @@ minio:
287289
size: 10Gi
288290

289291
# -- Made for deploying custom manifests with this helm chart
290-
extraObjects: []
292+
extraObjects: []

0 commit comments

Comments
 (0)