From 39eb7ed812b56fd49918787aa316966eb8ac3b3f Mon Sep 17 00:00:00 2001 From: Alex R <239760736+alexrecuenco-hf@users.noreply.github.com> Date: Thu, 22 Jan 2026 16:18:43 +0100 Subject: [PATCH 1/8] feat: Modify registry from DockerHub to GHCR --- .github/workflows/release.yml | 20 +++++++++++++------- .goreleaser.yml | 4 ++-- README.md | 6 ++++++ charts/kangal/values.yaml | 2 +- 4 files changed, 22 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0126d378..07355104 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,13 @@ on: types: - created +permissions: + contents: read + packages: write + +env: + REGISTRY: ghcr.io + jobs: goreleaser: name: Build binary and Docker image @@ -18,13 +25,12 @@ jobs: with: go-version: '^1.17' - - name: Docker Login - if: success() && startsWith(github.ref, 'refs/tags/') - env: - DOCKER_USERNAME: hellofreshtech - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - run: | - echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin + - name: Log in to the Container registry + uses: docker/login-action@v3 + with: + registry: ${{ env.REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3 diff --git a/.goreleaser.yml b/.goreleaser.yml index d70050ea..ed2c04af 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -19,8 +19,8 @@ dockers: - goos: linux goarch: amd64 image_templates: - - "hellofresh/kangal:latest" - - "hellofresh/kangal:{{.Tag}}" + - "{{.Env.REGISTRY}}/hellofresh/kangal:latest" + - "{{.Env.REGISTRY}}/hellofresh/kangal:{{.Tag}}" dockerfile: Dockerfile extra_files: - openapi.json diff --git a/README.md b/README.md index 453218fd..91e13d0c 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,12 @@ Run performance tests in Kubernetes cluster with Kangal. ___ +> [!WARNING] +> Kangal's upload to DockerHub has been removed +> We apologize for the disruption, but you can get the image from `ghcr.io/hellofresh/kangal` from January 31st +> +> The registry in DockerHub will not be available from February-onwards + ## Table of content - [Why Kangal?](#why-kangal) - [Key features](#key-features) diff --git a/charts/kangal/values.yaml b/charts/kangal/values.yaml index bdc9d662..cf4c53b9 100644 --- a/charts/kangal/values.yaml +++ b/charts/kangal/values.yaml @@ -89,7 +89,7 @@ controller: replicaCount: 1 image: - repository: hellofresh/kangal + repository: ghcr.io/hellofresh/kangal tag: latest pullPolicy: Always From d5a4343da7091b356eef1628914d9cc47b5ef4d9 Mon Sep 17 00:00:00 2001 From: Alex R <239760736+alexrecuenco-hf@users.noreply.github.com> Date: Thu, 22 Jan 2026 16:22:53 +0100 Subject: [PATCH 2/8] Missed one location on the charts --- charts/kangal/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kangal/values.yaml b/charts/kangal/values.yaml index cf4c53b9..b78bd947 100644 --- a/charts/kangal/values.yaml +++ b/charts/kangal/values.yaml @@ -11,7 +11,7 @@ proxy: replicaCount: 2 image: - repository: hellofresh/kangal + repository: ghcr.io/hellofresh/kangal tag: latest pullPolicy: Always From 77f1f6abe38cff71cafb75f8dd613f98ca413af9 Mon Sep 17 00:00:00 2001 From: Alex R <239760736+alexrecuenco-hf@users.noreply.github.com> Date: Thu, 22 Jan 2026 16:49:41 +0100 Subject: [PATCH 3/8] Update all the images --- charts/kangal/values.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/charts/kangal/values.yaml b/charts/kangal/values.yaml index b78bd947..a99aafe1 100644 --- a/charts/kangal/values.yaml +++ b/charts/kangal/values.yaml @@ -33,7 +33,8 @@ proxy: hosts: http: kangal-proxy.example.com - resources: {} + resources: + {} # We usually recommend not to specify default resources and to leave this as a conscious # choice for the user. This also increases chances charts run on environments with little # resources, such as Minikube. If you do want to specify resources, uncomment the following @@ -107,7 +108,8 @@ controller: containerPorts: http: 8080 - resources: {} + resources: + {} # We usually recommend not to specify default resources and to leave this as a conscious # choice for the user. This also increases chances charts run on environments with little # resources, such as Minikube. If you do want to specify resources, uncomment the following @@ -187,11 +189,11 @@ configMap: AWS_ENDPOINT_URL: s3.us-east-1.amazonaws.com AWS_BUCKET_NAME: my-bucket AWS_USE_HTTPS: "false" - GHZ_IMAGE_NAME: hellofresh/kangal-ghz + GHZ_IMAGE_NAME: ghcr.io/hellofresh/kangal-ghz GHZ_IMAGE_TAG: latest - JMETER_MASTER_IMAGE_NAME: hellofresh/kangal-jmeter-master + JMETER_MASTER_IMAGE_NAME: ghcr.io/hellofresh/kangal-jmeter-master JMETER_MASTER_IMAGE_TAG: latest - JMETER_WORKER_IMAGE_NAME: hellofresh/kangal-jmeter-worker + JMETER_WORKER_IMAGE_NAME: ghcr.io/hellofresh/kangal-jmeter-worker JMETER_WORKER_IMAGE_TAG: latest LOCUST_IMAGE_NAME: locustio/locust LOCUST_IMAGE_TAG: "1.3.0" From 1672cf05b9df302ce74c3a5f2b1ebbd65932377b Mon Sep 17 00:00:00 2001 From: Alex R <239760736+alexrecuenco-hf@users.noreply.github.com> Date: Thu, 22 Jan 2026 16:51:31 +0100 Subject: [PATCH 4/8] Better version numbers for actions --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 07355104..4b5c4e09 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,10 +18,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v6 - name: Setup Golang - uses: actions/setup-go@v3 + uses: actions/setup-go@v6 with: go-version: '^1.17' @@ -33,7 +33,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v3 + uses: goreleaser/goreleaser-action@v6 if: success() && startsWith(github.ref, 'refs/tags/') with: version: v1.2.2 From 245a9dfd9d2f30e3f925916aab9c8c29b84fbea6 Mon Sep 17 00:00:00 2001 From: Alex R <239760736+alexrecuenco-hf@users.noreply.github.com> Date: Thu, 22 Jan 2026 17:06:48 +0100 Subject: [PATCH 5/8] Hardcode ghcr.io for now --- .goreleaser.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index ed2c04af..c9d095ed 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -19,8 +19,8 @@ dockers: - goos: linux goarch: amd64 image_templates: - - "{{.Env.REGISTRY}}/hellofresh/kangal:latest" - - "{{.Env.REGISTRY}}/hellofresh/kangal:{{.Tag}}" + - "ghcr.io/hellofresh/kangal:latest" + - "ghcr.io/hellofresh/kangal:{{.Tag}}" dockerfile: Dockerfile extra_files: - openapi.json From 32dd1cee08355d577447f74c944d314ce958fea0 Mon Sep 17 00:00:00 2001 From: Alex R <239760736+alexrecuenco-hf@users.noreply.github.com> Date: Thu, 22 Jan 2026 17:29:08 +0100 Subject: [PATCH 6/8] Modify images to match the new registry format --- charts/kangal/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/kangal/values.yaml b/charts/kangal/values.yaml index a99aafe1..15bf981c 100644 --- a/charts/kangal/values.yaml +++ b/charts/kangal/values.yaml @@ -191,9 +191,9 @@ configMap: AWS_USE_HTTPS: "false" GHZ_IMAGE_NAME: ghcr.io/hellofresh/kangal-ghz GHZ_IMAGE_TAG: latest - JMETER_MASTER_IMAGE_NAME: ghcr.io/hellofresh/kangal-jmeter-master + JMETER_MASTER_IMAGE_NAME: ghcr.io/hellofresh/kangal-jmeter/master JMETER_MASTER_IMAGE_TAG: latest - JMETER_WORKER_IMAGE_NAME: ghcr.io/hellofresh/kangal-jmeter-worker + JMETER_WORKER_IMAGE_NAME: ghcr.io/hellofresh/kangal-jmeter/worker JMETER_WORKER_IMAGE_TAG: latest LOCUST_IMAGE_NAME: locustio/locust LOCUST_IMAGE_TAG: "1.3.0" From 54162412db10a93cee0d5d1c9e2e5600c5a38d3c Mon Sep 17 00:00:00 2001 From: Alex R <239760736+alexrecuenco-hf@users.noreply.github.com> Date: Thu, 22 Jan 2026 18:21:12 +0100 Subject: [PATCH 7/8] Update README.md Co-authored-by: A. J. Varela Rodriguez --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 91e13d0c..e38e0659 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ___ > [!WARNING] > Kangal's upload to DockerHub has been removed -> We apologize for the disruption, but you can get the image from `ghcr.io/hellofresh/kangal` from January 31st +> We apologize for the disruption, but you can get the image from `ghcr.io/hellofresh/kangal` from January 31st 2026 > > The registry in DockerHub will not be available from February-onwards From 7c99d4acef8193bb920f31ddf211f0dfa8418fdb Mon Sep 17 00:00:00 2001 From: Alex R <239760736+alexrecuenco-hf@users.noreply.github.com> Date: Fri, 23 Jan 2026 11:05:00 +0100 Subject: [PATCH 8/8] We need a version bump --- charts/kangal/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kangal/Chart.yaml b/charts/kangal/Chart.yaml index 52482018..f1eebf05 100644 --- a/charts/kangal/Chart.yaml +++ b/charts/kangal/Chart.yaml @@ -6,7 +6,7 @@ keywords: - performance tests - tests runner name: kangal -version: 2.3.0 +version: 2.3.1 home: https://github.com/hellofresh/kangal icon: https://raw.githubusercontent.com/hellofresh/kangal/master/logo.svg maintainers: