Make prometheus-adapter work with k8s.io/apimachinery and k8s.io/metrics v0.35.0

This commit is contained in:
Samuel Littley 2026-01-08 12:25:22 +00:00
parent 01919d0ef1
commit 4d5db23ce8
4 changed files with 2195 additions and 1302 deletions

View file

@ -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))