Skip to content

Commit 4aecb73

Browse files
authored
Merge pull request #12646 from sbueringer/pr-bump-kal
🌱 Bump KAL & drop schemaless excludes
2 parents 0b3dc21 + 929db9f commit 4aecb73

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

.golangci-kal.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,16 +107,6 @@ linters:
107107
- kubeapilinter
108108

109109
## Excludes for JSONSchemaProps
110-
# controller-gen does not allow to add MaxItems to Schemaless fields: https://github.com/kubernetes-sigs/kube-api-linter/issues/120
111-
- path: "api/core/v1beta2/clusterclass_types.go"
112-
text: "maxlength: field (AllOf|OneOf|AnyOf) must have a maximum items, add kubebuilder:validation:MaxItems marker"
113-
linters:
114-
- kubeapilinter
115-
# controller-gen does not allow to add listType to Schemaless fields: https://github.com/kubernetes-sigs/kube-api-linter/issues/120
116-
- path: "api/core/v1beta2/clusterclass_types.go"
117-
text: "ssatags: (AllOf|OneOf|AnyOf) should have a listType marker for proper Server-Side Apply behavior"
118-
linters:
119-
- kubeapilinter
120110
# We want to align to the JSON tags of the CustomResourceDefinition fields.
121111
- path: "api/core/v1beta2/clusterclass_types"
122112
text: "field (XPreserveUnknownFields|XPreserveUnknownFields|XValidations|XMetadata|XIntOrString) json tag does not match pattern"

hack/tools/.custom-gcl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name: golangci-lint-kube-api-linter
33
destination: ./bin
44
plugins:
55
- module: 'sigs.k8s.io/kube-api-linter'
6-
version: v0.0.0-20250808120943-48643eb2563d
6+
version: v0.0.0-20250818155911-2e946afbd131

0 commit comments

Comments
 (0)