From 114837a0810b1752c76cbae1b92e5269b68f2eb6 Mon Sep 17 00:00:00 2001 From: Stefan Bueringer Date: Wed, 23 Jul 2025 17:36:14 +0200 Subject: [PATCH] Bump KAL & add the notimestamps linter --- .golangci-kal.yml | 1 + hack/tools/.custom-gcl.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.golangci-kal.yml b/.golangci-kal.yml index 17e522400740..1d5c0377624f 100644 --- a/.golangci-kal.yml +++ b/.golangci-kal.yml @@ -30,6 +30,7 @@ linters: - "ssatags" # Ensure array fields have the appropriate listType markers - "statusoptional" # Ensure all first children within status should be optional. - "statussubresource" # All root objects that have a `status` field should have a status subresource. + - "notimestamp" # Prevents usage of 'Timestamp' fields - "uniquemarkers" # Ensure that types and fields do not contain more than a single definition of a marker that should only be present once. # Per discussion in July 2024, we are keeping phase fields for now. diff --git a/hack/tools/.custom-gcl.yaml b/hack/tools/.custom-gcl.yaml index 3a3f7ba5116d..8289b3b4044f 100644 --- a/hack/tools/.custom-gcl.yaml +++ b/hack/tools/.custom-gcl.yaml @@ -3,4 +3,4 @@ name: golangci-lint-kube-api-linter destination: ./bin plugins: - module: 'sigs.k8s.io/kube-api-linter' - version: v0.0.0-20250716173026-43a29a6047dd + version: v0.0.0-20250723124831-1b29e82a0f55