ctfd
by pascaliske
Helm chartv2.0.0App 3.8.2Verified publisher
A Helm chart for CTFd
About this chart
ctfd
A Helm chart for CTFd
- https://github.com/pascaliske/helm-charts
- https://github.com/ctfd/ctfd
- https://docs.ctfd.io
- https://ctfd.io
Requirements
Usage
To use this chart add the repo as follows:
helm repo add pascaliske https://charts.pascaliske.dev
If you had already added this repo earlier, run helm repo update to retrieve the latest versions of the packages.
To install this chart simply run the following command:
helm install ctfd pascaliske/ctfd
To uninstall this chart simply run the following command:
helm delete ctfd
Values
The following values can be used to adjust the helm chart.
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Pod-level affinity. More info here. |
| certificate.annotations | object | {} | Additional annotations for the certificate object. |
| certificate.create | bool | false | Create a Certificate object for the exposed chart. |
| certificate.dnsNames | list | [] | List of subject alternative names for the certificate. |
| certificate.issuerRef.kind | string | "ClusterIssuer" | The type of the referenced certificate issuer. It can be "Issuer" or "ClusterIssuer". |
| certificate.issuerRef.name | string | "" | Name of the referenced certificate issuer. |
| certificate.labels | object | {} | Additional labels for the certificate object. |
| certificate.secretName | string | "" | Name of the secret in which the certificate will be stored. Defaults to the first item in dnsNames. |
| controller.annotations | object | {} | Additional annotations for the controller object. |
| controller.enabled | bool | true | Create a workload for this chart. |
| controller.kind | string | "Deployment" | Type of the workload object. |
| controller.labels | object | {} | Additional labels for the controller object. |
| controller.replicas | int | 1 | The number of replicas. |
| controller.updateStrategy | object | {} | The controller update strategy. Currently only applies to controllers of kind Deployment. |
| env[0] | object | {"name":"TZ","value":"UTC"} | Timezone for the container. |
| extraContainers | object | {} | Specify any extra containers here as dictionary items - each should have its own key. |
| extraInitContainers | object | {} | Specify any extra init containers here as dictionary items - each should have its own key. |
| extraObjects | list | [] | Specify extra objects. |
| extraVolumeMounts | list | [] | Specify extra volume mounts for the default containers. |
| extraVolumes | list | [] | Specify extra volumes for the workload. |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | The pull policy for the controller. |
| image.registry | string | "ghcr.io" | The registry to pull the image from. |
| image.repository | string | "ctfd/ctfd" | The repository to pull the image from. |
| image.tag | string | .Chart.AppVersion | The docker tag, if left empty chart's appVersion will be used. |
| ingressRoute.annotations | object | {} | Additional annotations for the ingress route object. |
| ingressRoute.create | bool | false | Create an IngressRoute object for exposing this chart. |
| ingressRoute.entryPoints | list | [] | List of entry points on which the ingress route will be available. |
| ingressRoute.labels | object | {} | Additional labels for the ingress route object. |
| ingressRoute.middlewares | list | [] | List of middleware objects for the ingress route. |
| ingressRoute.rule | string | "" | Matching rule for the underlying router. |
| ingressRoute.tlsSecretName | string | "" | Use an existing secret containing the TLS certificate. |
| nameOverride | string | "" | |
| nodeSelector | object | {} | Pod-level node selector. More info here. |
| persistentVolumeClaim.accessMode | string | "ReadWriteOnce" | Access mode of the persistent volume claim object. |
| persistentVolumeClaim.annotations | object | {} | Additional annotations for the persistent volume claim object. |
| persistentVolumeClaim.create | bool | true | Create a new persistent volume claim object. |
| persistentVolumeClaim.existingPersistentVolumeClaim | string | "" | Use an existing persistent volume claim object. |
| persistentVolumeClaim.labels | object | {} | Additional labels for the persistent volume claim object. |
| persistentVolumeClaim.mountPath | string | "/data" | Mount path of the persistent volume claim object. |
| persistentVolumeClaim.size | string | "1Gi" | Storage request size for the persistent volume claim object. |
| persistentVolumeClaim.storageClassName | string | "" | Storage class name for the persistent volume claim object. |
| persistentVolumeClaim.volumeMode | string | "Filesystem" | Volume mode of the persistent volume claim object. |
| podSecurityContext | object | {"fsGroup":1001,"runAsGroup":1001,"runAsNonRoot":true,"runAsUser":1001} | Pod-level security attributes. More info here. |
| ports.http.enabled | bool | true | Enable the port inside the controller and Service objects. |
| ports.http.nodePort | string | nil | The external port used if .service.type == NodePort. |
| ports.http.port | int | 8000 | The port used as internal port and cluster-wide port if .service.type == ClusterIP. |
| ports.http.protocol | string | "TCP" | The protocol used for the service. |
| priorityClassName | string | "" | Optional priority class name to be used for pods. |
| resources | object | {} | Compute resources used by the container. More info here. |
| secret.annotations | object | {} | Additional annotations for the secret object. |
| secret.create | bool | true | Create a new secret object. |
| secret.existingSecret | string | "" | Use an existing secret object. |
| secret.labels | object | {} | Additional labels for the secret object. |
| secret.values | object | `{"SECRET_KEY":"{{ randAlphaNum 42 | b64enc }}"}` |
| secret.values.SECRET_KEY | string | `"{{ randAlphaNum 42 | b64enc }}"` |
| securityContext | object | {} | Container-level security attributes. More info here. |
| service.annotations | object | {} | Additional annotations for the service object. |
| service.clusterIP | string | "" | ClusterIP used if service type is ClusterIP. |
| service.enabled | bool | true | Create a service for exposing this chart. |
| service.labels | object | {} | Additional labels for the service object. |
| service.loadBalancerIP | string | "" | LoadBalancerIP if service type is LoadBalancer. |
| service.loadBalancerSourceRanges | list | [] | Allowed addresses when service type is LoadBalancer. |
| service.type | string | "ClusterIP" | The service type used. |
| serviceAccount.annotations | object | {} | Additional annotations for the role and role binding objects. |
| serviceAccount.create | bool | true | Create a ServiceAccount object. |
| serviceAccount.labels | object | {} | Additional labels for the role and role binding objects. |
| serviceAccount.name | string | "" | Specify the service account used for the controller. |
| tolerations | list | [] | Pod-level tolerations. More info here. |
Maintainers
| Name | Url | |
|---|---|---|
| pascaliske | [email protected] | https://pascaliske.dev |
License
MIT – © 2026 Pascal Iske
Deploy ctfd with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ctfd on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartctfd is pinned at v2.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply