diff --git a/.golangci-kal.yml b/.golangci-kal.yml index 09548d24981b..347470cf7d09 100644 --- a/.golangci-kal.yml +++ b/.golangci-kal.yml @@ -19,6 +19,7 @@ linters-settings: - "conditions" # Ensure conditions have the correct json tags and markers. - "integers" # Ensure only int32 and int64 are used for integers. - "statussubresource" # All root objects that have a `status` field should have a status subresource. + - "nofloats" # Ensure floats are not used. # Per discussion in July 2024, we are keeping phase fields for now. # See https://github.com/kubernetes-sigs/cluster-api/pull/10897#discussion_r1685929508