Skip to content

Commit 8223f44

Browse files
committed
permissions preflight: copy necessary kubernetes libs
Signed-off-by: Joe Lanford <[email protected]>
1 parent 4ecef20 commit 8223f44

File tree

19 files changed

+2883
-2
lines changed

19 files changed

+2883
-2
lines changed

.golangci.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ run:
1616
# Default timeout is 1m, up to give more room
1717
timeout: 4m
1818

19+
issues:
20+
exclude-dirs:
21+
- internal/operator-controller/authorization/internal/kubernetes
22+
1923
linters:
2024
enable:
2125
- asciicheck

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ manifests: $(CONTROLLER_GEN) #EXHELP Generate WebhookConfiguration, ClusterRole,
135135

136136
.PHONY: generate
137137
generate: $(CONTROLLER_GEN) #EXHELP Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
138-
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."
138+
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./api/..."
139139

140140
.PHONY: verify
141141
verify: tidy fmt generate manifests crd-ref-docs #HELP Verify all generated code is up-to-date.

codecov.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ coverage:
88
paths:
99
- "api/"
1010
- "cmd/"
11-
- "internal/"
11+
- "internal/"
12+
13+
ignore:
14+
- "internal/operator-controller/authorization/internal/kubernetes"

go.mod

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ require (
3636
k8s.io/cli-runtime v0.32.1
3737
k8s.io/client-go v0.32.2
3838
k8s.io/component-base v0.32.2
39+
k8s.io/component-helpers v0.32.1
3940
k8s.io/klog/v2 v2.130.1
4041
k8s.io/utils v0.0.0-20241210054802-24370beab758
4142
sigs.k8s.io/controller-runtime v0.20.2

go.sum

+2
Original file line numberDiff line numberDiff line change
@@ -1007,6 +1007,8 @@ k8s.io/client-go v0.32.2 h1:4dYCD4Nz+9RApM2b/3BtVvBHw54QjMFUl1OLcJG5yOA=
10071007
k8s.io/client-go v0.32.2/go.mod h1:fpZ4oJXclZ3r2nDOv+Ux3XcJutfrwjKTCHz2H3sww94=
10081008
k8s.io/component-base v0.32.2 h1:1aUL5Vdmu7qNo4ZsE+569PV5zFatM9hl+lb3dEea2zU=
10091009
k8s.io/component-base v0.32.2/go.mod h1:PXJ61Vx9Lg+P5mS8TLd7bCIr+eMJRQTyXe8KvkrvJq0=
1010+
k8s.io/component-helpers v0.32.1 h1:TwdsSM1vW9GjnfX18lkrZbwE5G9psCIS2/rhenTDXd8=
1011+
k8s.io/component-helpers v0.32.1/go.mod h1:1JT1Ei3FD29yFQ18F3laj1WyvxYdHIhyxx6adKMFQXI=
10101012
k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
10111013
k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
10121014
k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 h1:hcha5B1kVACrLujCKLbr8XWMxCxzQx42DY8QKYJrDLg=

0 commit comments

Comments
 (0)