chore: update to go 1.24.4 and bump dependencies

k8s dependencies to v0.33.2

chore: upgrade tools versions to latest available

chore: update-generated

chore: update custom-metrics-apiserver to current master

chore: remove deprecated code

Signed-off-by: Jayapriya Pai <janantha@redhat.com>
This commit is contained in:
Jayapriya Pai 2025-05-17 11:04:51 +05:30
parent 01919d0ef1
commit 1b9e052008
No known key found for this signature in database
GPG key ID: BDE02C05CA465F3C
7 changed files with 957 additions and 510 deletions

View file

@ -8,8 +8,8 @@ VERSION=$(shell cat VERSION)
TAG_PREFIX=v
TAG?=$(TAG_PREFIX)$(VERSION)
GO_VERSION?=1.22.5
GOLANGCI_VERSION?=1.56.2
GO_VERSION?=1.24.4
GOLANGCI_VERSION?=1.64.8
.PHONY: all
all: prometheus-adapter
@ -72,7 +72,7 @@ update: update-lint update-generated
# Format and lint
# ---------------
HAS_GOLANGCI_VERSION:=$(shell $(GOPATH)/bin/golangci-lint version --format=short)
HAS_GOLANGCI_VERSION:=$(shell $(GOPATH)/bin/golangci-lint version --short)
.PHONY: golangci
golangci:
ifneq ($(HAS_GOLANGCI_VERSION), $(GOLANGCI_VERSION))