Skip to content

Commit 5c3e084

Browse files
Merge pull request #14 from ScribblerCoder/image-tag-latest
remove appVersion. Set default image tag and update README.md
2 parents f85d424 + 0b3018c commit 5c3e084

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

.github/workflows/helm-chart-release.yaml

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: "Publish Helm Chart"
2-
on:
3-
workflow_dispatch:
2+
on:
3+
push:
4+
branches:
5+
- main
6+
paths:
7+
- 'templates/**'
8+
- 'values.yaml'
9+
- 'Chart.yaml'
410

511
permissions:
612
contents: write

Chart.yaml

+1-7
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@ type: application
88
# This is the chart version. This version number should be incremented each time you make changes
99
# to the chart and its templates, including the app version.
1010
# Versions are expected to follow Semantic Versioning (https://semver.org/)
11-
version: 0.1.0
12-
13-
# This is the version number of the application being deployed. This version number should be
14-
# incremented each time you make changes to the application. Versions are not expected to
15-
# follow Semantic Versioning. They should reflect the version the application is using.
16-
# It is recommended to use it with quotes.
17-
appVersion: "3.7.3"
11+
version: 0.2.0
1812

1913
# Redis and MySQL/MariaDB
2014
dependencies:

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CTFd Helm Chart
2-
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.7.3](https://img.shields.io/badge/AppVersion-3.7.3-informational?style=flat-square)
2+
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-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.
@@ -170,7 +170,7 @@ ctfd:
170170
| ctfd.fullnameOverride | string | `""` | Chart fullname override |
171171
| ctfd.image.pullPolicy | string | `"IfNotPresent"` | image pull policy. One of Always, Never, IfNotPresent |
172172
| ctfd.image.repository | string | `"ghcr.io/ctfd/ctfd"` | repository link to the CTFd docker image |
173-
| ctfd.image.tag | string | `appVersion` | Overrides the image tag (version) |
173+
| ctfd.image.tag | string | `latest` | CTFd image tag (check https://github.com/CTFd/CTFd/pkgs/container/ctfd) |
174174
| ctfd.imagePullSecrets | list | `[]` | Image pull secrets (use this for private repos) |
175175
| ctfd.ingress.annotations | object | `{}` | Ingress annotations |
176176
| ctfd.ingress.className | string | `""` | Ingress class |
@@ -217,12 +217,12 @@ ctfd:
217217
| mariadb.primary.extraFlags | string | Check `values.yaml`. Used by official CTFd `docker-compose.yml` | MariaDB primary entrypoint extra flags |
218218
| mariadb.primary.persistence.enabled | bool | `true` | |
219219
| mariadb.primary.persistence.size | string | `"2Gi"` | |
220-
| mariadb.primary.resourcePreset | string | `"small"` | Check Bintami's documentation |
220+
| mariadb.primary.resourcesPreset | string | `"small"` | Check Bintami's documentation |
221221
| mariadb.secondary.extraFlags | string | Check `values.yaml`. Used by official CTFd `docker-compose.yml` | MariaDB primary entrypoint extra flags |
222222
| mariadb.secondary.persistence.enabled | bool | `true` | |
223223
| mariadb.secondary.persistence.size | string | `"2Gi"` | |
224224
| mariadb.secondary.replicaCount | int | `1` | |
225-
| mariadb.secondary.resourcePreset | string | `"small"` | Check Bintami's documentation |
225+
| mariadb.secondary.resourcesPreset | string | `"small"` | Check Bintami's documentation |
226226
| mariadb.volumePermissions.enabled | bool | `true` | |
227227
| redis.auth.enabled | bool | `false` | |
228228
| redis.enabled | bool | `true` | Deploys bitnami's redis (set to false if you want to use an external cache) |
@@ -248,7 +248,7 @@ ctfd:
248248
| seaweedfs.filer.storage | string | `"5Gi"` | seaweedfs-filer PVC storage size |
249249
| seaweedfs.master.data.size | string | `"5Gi"` | seaweedfs storage size |
250250
| seaweedfs.master.data.type | string | `"persistentVolumeClaim"` | seaweedfs data storage type |
251-
| seaweedfs.master.replicas | int | `3` | seaweedfs-master replicas |
251+
| seaweedfs.master.replicas | int | `1` | seaweedfs-master replicas |
252252
| seaweedfs.volume.replicas | int | `1` | seaweedfs-volume replicas |
253253

254254
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)

values.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ ctfd:
44
repository: ghcr.io/ctfd/ctfd
55
# -- image pull policy. One of Always, Never, IfNotPresent
66
pullPolicy: IfNotPresent
7-
# -- Overrides the image tag (version)
8-
# @default -- `appVersion`
9-
tag: ""
7+
# -- CTFd image tag (check https://github.com/CTFd/CTFd/pkgs/container/ctfd)
8+
# @default -- `latest`
9+
tag: "latest"
1010
# -- Image pull secrets (use this for private repos)
1111
imagePullSecrets: []
1212

0 commit comments

Comments
 (0)