Skip to content

Commit 00a153c

Browse files
thetechnickjoelanford
authored andcommitted
Update boxcutter to v0.3.0, add TrackingCache to Runnables
1 parent bb4d78e commit 00a153c

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

cmd/operator-controller/main.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ func run() error {
512512
}
513513

514514
trackingCache, err := managedcache.NewTrackingCache(
515-
ctrl.Log.WithName("accessmanager"),
515+
ctrl.Log.WithName("trackingCache"),
516516
restConfig,
517517
crcache.Options{
518518
Scheme: mgr.GetScheme(), Mapper: mgr.GetRESTMapper(),
@@ -521,6 +521,9 @@ func run() error {
521521
if err != nil {
522522
setupLog.Error(err, "unable to create boxcutter tracking cache")
523523
}
524+
if err := mgr.Add(trackingCache); err != nil {
525+
setupLog.Error(err, "unable to set up tracking cache")
526+
}
524527

525528
if err = (&controllers.ClusterExtensionRevisionReconciler{
526529
Client: cl,

go.mod

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,23 @@ require (
3333
golang.org/x/tools v0.35.0
3434
gopkg.in/yaml.v2 v2.4.0
3535
helm.sh/helm/v3 v3.18.4
36-
k8s.io/api v0.33.2
37-
k8s.io/apiextensions-apiserver v0.33.2
38-
k8s.io/apimachinery v0.33.2
36+
k8s.io/api v0.33.3
37+
k8s.io/apiextensions-apiserver v0.33.3
38+
k8s.io/apimachinery v0.33.3
3939
k8s.io/apiserver v0.33.2
4040
k8s.io/cli-runtime v0.33.2
41-
k8s.io/client-go v0.33.2
41+
k8s.io/client-go v0.33.3
4242
k8s.io/component-base v0.33.2
4343
k8s.io/klog/v2 v2.130.1
4444
k8s.io/kubernetes v1.33.2
4545
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397
46-
pkg.package-operator.run/boxcutter v0.1.2
46+
pkg.package-operator.run/boxcutter v0.3.0
4747
sigs.k8s.io/controller-runtime v0.21.0
4848
sigs.k8s.io/controller-tools v0.18.0
4949
sigs.k8s.io/crdify v0.4.1-0.20250613143457-398e4483fb58
5050
sigs.k8s.io/yaml v1.6.0
5151
)
5252

53-
replace pkg.package-operator.run/boxcutter => github.com/perdasilva/boxcutter v0.0.0-20250715101157-18ea858f54bd
54-
5553
require (
5654
k8s.io/component-helpers v0.33.2 // indirect
5755
k8s.io/kube-openapi v0.0.0-20250610211856-8b98d1ed966a // indirect
@@ -105,7 +103,7 @@ require (
105103
github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f // indirect
106104
github.com/fatih/color v1.18.0 // indirect
107105
github.com/felixge/httpsnoop v1.0.4 // indirect
108-
github.com/fxamacker/cbor/v2 v2.8.0 // indirect
106+
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
109107
github.com/go-errors/errors v1.4.2 // indirect
110108
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
111109
github.com/go-git/go-billy/v5 v5.6.2 // indirect
@@ -193,7 +191,7 @@ require (
193191
github.com/sirupsen/logrus v1.9.3 // indirect
194192
github.com/smallstep/pkcs7 v0.2.1 // indirect
195193
github.com/spf13/cast v1.7.1 // indirect
196-
github.com/spf13/pflag v1.0.6 // indirect
194+
github.com/spf13/pflag v1.0.7 // indirect
197195
github.com/stefanberger/go-pkcs11uri v0.0.0-20230803200340-78284954bff6 // indirect
198196
github.com/stoewer/go-strcase v1.3.1 // indirect
199197
github.com/stretchr/objx v0.5.2 // indirect

go.sum

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHk
146146
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
147147
github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k=
148148
github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
149-
github.com/fxamacker/cbor/v2 v2.8.0 h1:fFtUGXUzXPHTIUdne5+zzMPTfffl3RD5qYnkY40vtxU=
150-
github.com/fxamacker/cbor/v2 v2.8.0/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ=
149+
github.com/fxamacker/cbor/v2 v2.9.0 h1:NpKPmjDBgUfBms6tr6JZkTHtfFGcMKsw3eGcmD/sapM=
150+
github.com/fxamacker/cbor/v2 v2.9.0/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ=
151151
github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA=
152152
github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og=
153153
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI=
@@ -384,8 +384,6 @@ github.com/otiai10/copy v1.14.1 h1:5/7E6qsUMBaH5AnQ0sSLzzTg1oTECmcCmT6lvF45Na8=
384384
github.com/otiai10/copy v1.14.1/go.mod h1:oQwrEDDOci3IM8dJF0d8+jnbfPDllW6vUjNc3DoZm9I=
385385
github.com/otiai10/mint v1.6.3 h1:87qsV/aw1F5as1eH1zS/yqHY85ANKVMgkDrf9rcxbQs=
386386
github.com/otiai10/mint v1.6.3/go.mod h1:MJm72SBthJjz8qhefc4z1PYEieWmy8Bku7CjcAqyUSM=
387-
github.com/perdasilva/boxcutter v0.0.0-20250715101157-18ea858f54bd h1:CEXvUTPMkCMX+0q9cqwaFAl51s71qESI1V2wRK/8xsg=
388-
github.com/perdasilva/boxcutter v0.0.0-20250715101157-18ea858f54bd/go.mod h1:74MfxxOWGkveUl9Iv2/01tg/IULlWnHEaVv2dfR4/b8=
389387
github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI=
390388
github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU=
391389
github.com/phayes/freeport v0.0.0-20220201140144-74d24b5ae9f5 h1:Ii+DKncOVM8Cu1Hc+ETb5K+23HdAMvESYE3ZJ5b5cMI=
@@ -445,8 +443,9 @@ github.com/spf13/cast v1.7.1 h1:cuNEagBQEHWN1FnbGEjCXL2szYEXqfJPbP2HNUaca9Y=
445443
github.com/spf13/cast v1.7.1/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
446444
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
447445
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
448-
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
449446
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
447+
github.com/spf13/pflag v1.0.7 h1:vN6T9TfwStFPFM5XzjsvmzZkLuaLX+HS+0SeFLRgU6M=
448+
github.com/spf13/pflag v1.0.7/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
450449
github.com/stefanberger/go-pkcs11uri v0.0.0-20230803200340-78284954bff6 h1:pnnLyeX7o/5aX8qUQ69P/mLojDqwda8hFOCBTmP/6hw=
451450
github.com/stefanberger/go-pkcs11uri v0.0.0-20230803200340-78284954bff6/go.mod h1:39R/xuhNgVhi+K0/zst4TLrJrVmbm6LVgl4A0+ZFS5M=
452451
github.com/stoewer/go-strcase v1.3.1 h1:iS0MdW+kVTxgMoE1LAZyMiYJFKlOzLooE4MxjirtkAs=
@@ -765,6 +764,8 @@ k8s.io/utils v0.0.0-20250604170112-4c0f3b243397 h1:hwvWFiBzdWw1FhfY1FooPn3kzWuJ8
765764
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
766765
oras.land/oras-go/v2 v2.6.0 h1:X4ELRsiGkrbeox69+9tzTu492FMUu7zJQW6eJU+I2oc=
767766
oras.land/oras-go/v2 v2.6.0/go.mod h1:magiQDfG6H1O9APp+rOsvCPcW1GD2MM7vgnKY0Y+u1o=
767+
pkg.package-operator.run/boxcutter v0.3.0 h1:Pkfu6jKi7cLINCM1PzLz1rManawxPQFEGflSouqzeww=
768+
pkg.package-operator.run/boxcutter v0.3.0/go.mod h1:Q0TEZgWu6nAhTSI4NbvKulp0v/sxHoAVfRCQeLHV9v8=
768769
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.33.0 h1:qPrZsv1cwQiFeieFlRqT627fVZ+tyfou/+S5S0H5ua0=
769770
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.33.0/go.mod h1:Ve9uj1L+deCXFrPOk1LpFXqTg7LCFzFso6PA48q/XZw=
770771
sigs.k8s.io/controller-runtime v0.21.0 h1:CYfjpEuicjUecRk+KAeyYh+ouUBn4llGyDYytIGcJS8=

0 commit comments

Comments
 (0)