diff --git a/README.md b/README.md index 7a4aeee..9ad26d4 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,9 @@ python3 src/generator.py *This is done automatically in the Docker container build process.* +To update the Kubernetes deployment file, update the deployment template in `template/k8s.yml`. +An updated `k8s/k8s.yml` will then be automatically generated on the next release. + ## Contributing We welcome contributions of all kinds, from **code** and **documentation** to **bug reports** and **feedback**! diff --git a/k8s/k8s.yml b/k8s/k8s.yml index 49af83f..b4a8e5c 100644 --- a/k8s/k8s.yml +++ b/k8s/k8s.yml @@ -5,7 +5,7 @@ metadata: labels: app.kubernetes.io/part-of: ctfpilot app.kubernetes.io/name: error-fallback - app.kubernetes.io/version: 1.1.0 + app.kubernetes.io/version: 1.2.0-r.1 app.kubernetes.io/component: challenges ctfpilot.com/component: error-fallback @@ -25,7 +25,7 @@ spec: automountServiceAccountToken: false containers: - name: error-fallback - image: ctfpilot/error-fallback:1.1.0 + image: ghcr.io/ctfpilot/error-fallback:1.2.0-r.1 imagePullPolicy: Always ports: - name: http @@ -57,7 +57,7 @@ metadata: labels: app.kubernetes.io/part-of: ctfpilot app.kubernetes.io/name: error-fallback - app.kubernetes.io/version: 1.1.0 + app.kubernetes.io/version: 1.2.0-r.1 app.kubernetes.io/component: challenges ctfpilot.com/component: error-fallback spec: diff --git a/template/k8s.yml b/template/k8s.yml index 3333bc1..08aa9af 100644 --- a/template/k8s.yml +++ b/template/k8s.yml @@ -25,7 +25,7 @@ spec: automountServiceAccountToken: false containers: - name: error-fallback - image: ctfpilot/error-fallback:{ .Version } + image: ghcr.io/ctfpilot/error-fallback:{ .Version } imagePullPolicy: Always ports: - name: http