File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,6 +101,9 @@ linters:
101101 msg : github.com/containers/image/v5 is deprecated and was replaced with go.podman.io/image/v5
102102 goconst :
103103 min-occurrences : 5
104+ ignore-tests : true
105+ ignore-string-values :
106+ - ' ^[a-zA-Z_-]{1,16}$' # ignore short identifiers like "account" or "project_id"
104107 gocritic :
105108 enabled-checks :
106109 - boolExprSimplify
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ check: FORCE static-check build/cover.html build-all
113113
114114generate : install-controller-gen
115115 @printf " \e[1;36m>> controller-gen\e[0m\n"
116- @controller-gen crd:allowDangerousTypes=true rbac:roleName=manager-role webhook paths=" ./..." output:crd:artifacts:config=charts/openstack-hypervisor-operator/crds
116+ @controller-gen crd:allowDangerousTypes=true rbac:roleName=manager-role webhook paths=" ./..." output:crd:artifacts:config=charts/openstack-hypervisor-operator/crds output:rbac:artifacts:config=config/rbac
117117 @controller-gen object:headerFile=" hack/boilerplate.go.txt" paths=" ./..."
118118 @controller-gen applyconfiguration paths=" ./..."
119119
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ require (
1010 github.com/gophercloud/utils/v2 v2.0.0-20260424064311-2eeed4ceb3e9
1111 github.com/onsi/ginkgo/v2 v2.28.3
1212 github.com/onsi/gomega v1.40.0
13- github.com/sapcc/go-api-declarations v1.21.0
13+ github.com/sapcc/go-api-declarations v1.21.1
1414 k8s.io/api v0.36.0
1515 k8s.io/apimachinery v0.36.0
1616 k8s.io/client-go v0.36.0
Original file line number Diff line number Diff line change @@ -131,8 +131,8 @@ github.com/prometheus/procfs v0.19.2/go.mod h1:M0aotyiemPhBCM0z5w87kL22CxfcH05Zp
131131github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ =
132132github.com/rogpeppe/go-internal v1.14.1 /go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc =
133133github.com/russross/blackfriday/v2 v2.1.0 /go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM =
134- github.com/sapcc/go-api-declarations v1.21.0 h1:Ag6GXgJLTFdBDKmrJU4QFllQbgGSenSGeHpLuvuxeDk =
135- github.com/sapcc/go-api-declarations v1.21.0 /go.mod h1:eiRrXXUeQS5C/1kKn8/KMjk0Y0goUzgDQswj30rH0Zc =
134+ github.com/sapcc/go-api-declarations v1.21.1 h1:7mv8+bT95f5mZtEV6/IXQ8dLGD0sZAQ4vZetPzO+EbU =
135+ github.com/sapcc/go-api-declarations v1.21.1 /go.mod h1:x3V8bzg7Y4kmbA+DeWWwKteFEdCCSiVQdwRXj4fGAYY =
136136github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU =
137137github.com/spf13/cobra v1.10.2 /go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4 =
138138github.com/spf13/pflag v1.0.9 /go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg =
You can’t perform that action at this time.
0 commit comments