From 401d0490da06ed860830757e76ea3d0f727f52c9 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Mon, 29 Jul 2024 12:11:29 +0300 Subject: [PATCH 1/2] Update Kubernetes to v1.30.3 Signed-off-by: Stefan Prodan --- go.mod | 8 ++++---- go.sum | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/go.mod b/go.mod index 7a44bc5cd..575c985ae 100644 --- a/go.mod +++ b/go.mod @@ -22,10 +22,10 @@ require ( google.golang.org/grpc v1.64.1 google.golang.org/protobuf v1.34.1 gopkg.in/h2non/gock.v1 v1.1.2 - k8s.io/api v0.30.1 - k8s.io/apimachinery v0.30.1 - k8s.io/client-go v0.30.1 - k8s.io/code-generator v0.30.1 + k8s.io/api v0.30.3 + k8s.io/apimachinery v0.30.3 + k8s.io/client-go v0.30.3 + k8s.io/code-generator v0.30.3 k8s.io/klog/v2 v2.120.1 ) diff --git a/go.sum b/go.sum index 10215543f..655532281 100644 --- a/go.sum +++ b/go.sum @@ -301,14 +301,14 @@ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -k8s.io/api v0.30.1 h1:kCm/6mADMdbAxmIh0LBjS54nQBE+U4KmbCfIkF5CpJY= -k8s.io/api v0.30.1/go.mod h1:ddbN2C0+0DIiPntan/bye3SW3PdwLa11/0yqwvuRrJM= -k8s.io/apimachinery v0.30.1 h1:ZQStsEfo4n65yAdlGTfP/uSHMQSoYzU/oeEbkmF7P2U= -k8s.io/apimachinery v0.30.1/go.mod h1:iexa2somDaxdnj7bha06bhb43Zpa6eWH8N8dbqVjTUc= -k8s.io/client-go v0.30.1 h1:uC/Ir6A3R46wdkgCV3vbLyNOYyCJ8oZnjtJGKfytl/Q= -k8s.io/client-go v0.30.1/go.mod h1:wrAqLNs2trwiCH/wxxmT/x3hKVH9PuV0GGW0oDoHVqc= -k8s.io/code-generator v0.30.1 h1:ZsG++q5Vt0ScmKCeLhynUuWgcwFGg1Hl1AGfatqPJBI= -k8s.io/code-generator v0.30.1/go.mod h1:hFgxRsvOUg79mbpbVKfjJvRhVz1qLoe40yZDJ/hwRH4= +k8s.io/api v0.30.3 h1:ImHwK9DCsPA9uoU3rVh4QHAHHK5dTSv1nxJUapx8hoQ= +k8s.io/api v0.30.3/go.mod h1:GPc8jlzoe5JG3pb0KJCSLX5oAFIW3/qNJITlDj8BH04= +k8s.io/apimachinery v0.30.3 h1:q1laaWCmrszyQuSQCfNB8cFgCuDAoPszKY4ucAjDwHc= +k8s.io/apimachinery v0.30.3/go.mod h1:iexa2somDaxdnj7bha06bhb43Zpa6eWH8N8dbqVjTUc= +k8s.io/client-go v0.30.3 h1:bHrJu3xQZNXIi8/MoxYtZBBWQQXwy16zqJwloXXfD3k= +k8s.io/client-go v0.30.3/go.mod h1:8d4pf8vYu665/kUbsxWAQ/JDBNWqfFeZnvFiVdmx89U= +k8s.io/code-generator v0.30.3 h1:bmtnLJKagDS5f5uOEpLyJiDfIMKXGMKgOLBdde+w0Mc= +k8s.io/code-generator v0.30.3/go.mod h1:PFgBiv+miFV7TZYp+RXgROkhA+sWYZ+mtpbMLofMke8= k8s.io/gengo/v2 v2.0.0-20240228010128-51d4e06bde70 h1:NGrVE502P0s0/1hudf8zjgwki1X/TByhmAoILTarmzo= k8s.io/gengo/v2 v2.0.0-20240228010128-51d4e06bde70/go.mod h1:VH3AT8AaQOqiGjMF9p0/IM1Dj+82ZwjfxUP1IxaHE+8= k8s.io/klog/v2 v2.120.1 h1:QXU6cPEOIslTGvZaXvFWiP9VKyeet3sawzTOvdXb4Vw= From a88e06db17518d7108e5bdb3e2d561d88d998a38 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Mon, 29 Jul 2024 12:12:00 +0300 Subject: [PATCH 2/2] Release loadtester v0.33.0 Signed-off-by: Stefan Prodan --- Dockerfile.loadtester | 8 ++++---- charts/loadtester/Chart.yaml | 4 ++-- charts/loadtester/values.yaml | 2 +- cmd/loadtester/main.go | 2 +- kustomize/tester/deployment.yaml | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile.loadtester b/Dockerfile.loadtester index 2ff815626..ea2b5502d 100644 --- a/Dockerfile.loadtester +++ b/Dockerfile.loadtester @@ -6,19 +6,19 @@ ARG REVISION RUN apk --no-cache add alpine-sdk perl curl bash tar -RUN HELM3_VERSION=3.14.3 && \ +RUN HELM3_VERSION=3.15.3 && \ curl -sSL "https://get.helm.sh/helm-v${HELM3_VERSION}-linux-${TARGETARCH}.tar.gz" | tar xvz && \ chmod +x linux-${TARGETARCH}/helm && mv linux-${TARGETARCH}/helm /usr/local/bin/helm -RUN KUBECTL_VERSION=v1.28.0 && \ +RUN KUBECTL_VERSION=v1.29.7 && \ curl -LO "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/${TARGETARCH}/kubectl" && \ chmod +x kubectl && mv kubectl /usr/local/bin/kubectl -RUN GRPC_HEALTH_PROBE_VERSION=v0.4.19 && \ +RUN GRPC_HEALTH_PROBE_VERSION=v0.4.28 && \ wget -qO /usr/local/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-${TARGETARCH} && \ chmod +x /usr/local/bin/grpc_health_probe -RUN GHZ_VERSION=0.117.0 && \ +RUN GHZ_VERSION=0.120.0 && \ curl -sSL "https://github.com/bojand/ghz/archive/refs/tags/v${GHZ_VERSION}.tar.gz" | tar xz -C /tmp && \ cd /tmp/ghz-${GHZ_VERSION}/cmd/ghz && GOARCH=$TARGETARCH go build . && mv ghz /usr/local/bin && \ chmod +x /usr/local/bin/ghz diff --git a/charts/loadtester/Chart.yaml b/charts/loadtester/Chart.yaml index ec4821b30..cf429088e 100644 --- a/charts/loadtester/Chart.yaml +++ b/charts/loadtester/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: loadtester -version: 0.32.0 -appVersion: 0.32.0 +version: 0.33.0 +appVersion: 0.33.0 kubeVersion: ">=1.19.0-0" engine: gotpl description: Flagger's load testing services based on rakyll/hey and bojand/ghz that generates traffic during canary analysis when configured as a webhook. diff --git a/charts/loadtester/values.yaml b/charts/loadtester/values.yaml index 34b31f6b3..2159d6e0a 100644 --- a/charts/loadtester/values.yaml +++ b/charts/loadtester/values.yaml @@ -2,7 +2,7 @@ replicaCount: 1 image: repository: ghcr.io/fluxcd/flagger-loadtester - tag: 0.32.0 + tag: 0.33.0 pullPolicy: IfNotPresent pullSecret: diff --git a/cmd/loadtester/main.go b/cmd/loadtester/main.go index 68456e90e..ef13a3eee 100644 --- a/cmd/loadtester/main.go +++ b/cmd/loadtester/main.go @@ -29,7 +29,7 @@ import ( "github.com/fluxcd/flagger/pkg/signals" ) -var VERSION = "0.32.0" +var VERSION = "0.33.0" var ( logLevel string port string diff --git a/kustomize/tester/deployment.yaml b/kustomize/tester/deployment.yaml index e8de6b569..d545a23bf 100644 --- a/kustomize/tester/deployment.yaml +++ b/kustomize/tester/deployment.yaml @@ -19,7 +19,7 @@ spec: spec: containers: - name: loadtester - image: ghcr.io/fluxcd/flagger-loadtester:0.32.0 + image: ghcr.io/fluxcd/flagger-loadtester:0.33.0 imagePullPolicy: IfNotPresent ports: - name: http