Skip to content

Commit e44946e

Browse files
committed
Fix trivy security scan vulnerabilities
Signed-off-by: Prajyot-Parab <prajyot.parab2@ibm.com>
1 parent 6983883 commit e44946e

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.golangci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ linters-settings:
121121
- whyNoLint
122122
- wrapperFunc
123123
unused:
124-
go: "1.23"
124+
go: "1.24"
125125
issues:
126126
max-same-issues: 0
127127
max-issues-per-linter: 0
@@ -207,7 +207,7 @@ issues:
207207
- "zz_generated.*\\.go$"
208208

209209
run:
210-
go: "1.23"
210+
go: "1.24"
211211
timeout: 10m
212212
build-tags:
213213
- tools

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ RELEASE_NOTES_DIR := CHANGELOG
8484
OUTPUT_TYPE ?= type=registry
8585

8686
# Go
87-
GO_VERSION ?=1.23.10
87+
GO_VERSION ?=1.24.6
8888
GO_CONTAINER_IMAGE ?= golang:$(GO_VERSION)
8989

9090
# Trivy

cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ options:
44
substitution_option: ALLOW_LOOSE
55
machineType: 'E2_HIGHCPU_8'
66
steps:
7-
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20250116-2a05ea7e3d'
7+
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20250513-9264efb079'
88
entrypoint: bash
99
env:
1010
- DOCKER_CLI_EXPERIMENTAL=enabled

hack/ccm/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
# limitations under the License.
1414

1515
# Go
16-
GO_VERSION ?=1.23.10
16+
GO_VERSION ?=1.24.6
1717
GO_CONTAINER_IMAGE ?= golang:$(GO_VERSION)
1818

1919
REGISTRY=gcr.io/k8s-staging-capi-ibmcloud
2020
IMG=powervs-cloud-controller-manager
2121

2222
# POWERVS_CLOUD_CONTROLLER_COMMIT can be fetched from here https://github.com/openshift/cloud-provider-powervs/commits/main
23-
POWERVS_CLOUD_CONTROLLER_COMMIT?=ef83f3f
23+
POWERVS_CLOUD_CONTROLLER_COMMIT?=2424e8d
2424
TAG?=$(POWERVS_CLOUD_CONTROLLER_COMMIT)
2525

2626
build-image: init-buildx gcloud-auth

hack/ccm/cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ options:
44
substitution_option: ALLOW_LOOSE
55
machineType: 'E2_HIGHCPU_8'
66
steps:
7-
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20241111-71c32dbdcc'
7+
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20250513-9264efb079'
88
dir: 'hack/ccm'
99
entrypoint: make
1010
env:

hack/ensure-go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ EOF
3131
local go_version
3232
IFS=" " read -ra go_version <<< "$(go version)"
3333
local minimum_go_version
34-
minimum_go_version=go1.23.0
34+
minimum_go_version=go1.24.0
3535
if [[ "${minimum_go_version}" != $(echo -e "${minimum_go_version}\n${go_version[2]}" | sort -s -t. -k 1,1 -k 2,2n -k 3,3n | head -n1) && "${go_version[2]}" != "devel" ]]; then
3636
cat <<EOF
3737
Detected go version: ${go_version[*]}.

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ command = "make -C docs/book build"
44
publish = "docs/book/book"
55

66
[build.environment]
7-
GO_VERSION = "1.23.10"
7+
GO_VERSION = "1.24.6"
88

99
# Standard Netlify redirects
1010
[[redirects]]

0 commit comments

Comments
 (0)