Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keda-2.15/2.15.1-r3: cve remediation #33273

Merged
merged 3 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion keda-2.15.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: keda-2.15
version: 2.15.1
epoch: 3
epoch: 4
description: KEDA is a Kubernetes-based Event Driven Autoscaling component. It provides event driven scale for any container running in Kubernetes
copyright:
- license: Apache-2.0
Expand All @@ -28,6 +28,14 @@ pipeline:
repository: https://github.com/kedacore/keda
tag: v${{package.version}}

- uses: patch
with:
patches: remove-dgrijalva-jwt-go.patch

- uses: go/bump
with:
deps: github.com/golang-jwt/jwt/[email protected]

- runs: |
ARCH=$(go env GOARCH) make build
mkdir -p "${{targets.destdir}}/usr/bin"
Expand Down
12 changes: 12 additions & 0 deletions keda-2.15/remove-dgrijalva-jwt-go.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/go.mod b/go.mod
index b6eff2b66..205bcfab8 100644
--- a/go.mod
+++ b/go.mod
@@ -143,7 +143,6 @@ replace (
github.com/chzyer/logex => github.com/chzyer/logex v1.2.1

// https://www.whitesourcesoftware.com/vulnerability-database/CVE-2020-26160
- github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt/v4 v4.4.0
github.com/golang-jwt/jwt/v4 => github.com/golang-jwt/jwt/v4 v4.5.0

// opentelemetry cannot update to 1.25.0 according to the dependencies of google.golang.org/grpc
Loading