fix build-crds, bump Go to 1.24.2, bump golangci-lint (#344)

This commit is contained in:
Enrico Candino
2025-05-06 17:24:35 +02:00
committed by GitHub
parent 96a4341dfb
commit 6a22f6f704
10 changed files with 36 additions and 70 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
set -eou pipefail
CONTROLLER_TOOLS_VERSION=v0.14.0
# This will return non-zero until all of our objects in ./pkg/apis can generate valid crds.
# allowDangerousTypes is needed for struct that use floats
go run sigs.k8s.io/controller-tools/cmd/controller-gen@${CONTROLLER_TOOLS_VERSION} \
crd:generateEmbeddedObjectMeta=true,allowDangerousTypes=false \
object paths=./pkg/apis/... \
output:crd:dir=./charts/k3k/crds