Skip to content

Commit 2b76373

Browse files
tmshortPer Goncalves da Silva
authored andcommitted
Update github.com/containers/image/v5 to v5.34.1
Add GOFLAGS to controller-gen invocations This is to deal with gpgme inclusion weirdness Signed-off-by: Todd Short <[email protected]>
1 parent 416fbdc commit 2b76373

File tree

3 files changed

+114
-59
lines changed

3 files changed

+114
-59
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,19 +136,19 @@ CRD_WORKING_DIR := crd_work_dir
136136
# So we have to generate them together and then move them into place
137137
manifests: $(CONTROLLER_GEN) #EXHELP Generate WebhookConfiguration, ClusterRole, and CustomResourceDefinition objects.
138138
mkdir $(CRD_WORKING_DIR)
139-
$(CONTROLLER_GEN) crd paths="./api/v1/..." output:crd:artifacts:config=$(CRD_WORKING_DIR)
139+
GOFLAGS="-tags=$(GO_BUILD_TAGS)" $(CONTROLLER_GEN) crd paths="./api/v1/..." output:crd:artifacts:config=$(CRD_WORKING_DIR)
140140
mv $(CRD_WORKING_DIR)/olm.operatorframework.io_clusterextensions.yaml $(KUSTOMIZE_OPCON_CRDS_DIR)
141141
mv $(CRD_WORKING_DIR)/olm.operatorframework.io_clustercatalogs.yaml $(KUSTOMIZE_CATD_CRDS_DIR)
142142
rmdir $(CRD_WORKING_DIR)
143143
# Generate the remaining operator-controller manifests
144-
$(CONTROLLER_GEN) rbac:roleName=manager-role paths="./internal/operator-controller/..." output:rbac:artifacts:config=$(KUSTOMIZE_OPCON_RBAC_DIR)
144+
GOFLAGS="-tags=$(GO_BUILD_TAGS)" $(CONTROLLER_GEN) rbac:roleName=manager-role paths="./internal/operator-controller/..." output:rbac:artifacts:config=$(KUSTOMIZE_OPCON_RBAC_DIR)
145145
# Generate the remaining catalogd manifests
146-
$(CONTROLLER_GEN) rbac:roleName=manager-role paths="./internal/catalogd/..." output:rbac:artifacts:config=$(KUSTOMIZE_CATD_RBAC_DIR)
147-
$(CONTROLLER_GEN) webhook paths="./internal/catalogd/..." output:webhook:artifacts:config=$(KUSTOMIZE_CATD_WEBHOOKS_DIR)
146+
GOFLAGS="-tags=$(GO_BUILD_TAGS)" $(CONTROLLER_GEN) rbac:roleName=manager-role paths="./internal/catalogd/..." output:rbac:artifacts:config=$(KUSTOMIZE_CATD_RBAC_DIR)
147+
GOFLAGS="-tags=$(GO_BUILD_TAGS)" $(CONTROLLER_GEN) webhook paths="./internal/catalogd/..." output:webhook:artifacts:config=$(KUSTOMIZE_CATD_WEBHOOKS_DIR)
148148

149149
.PHONY: generate
150150
generate: $(CONTROLLER_GEN) #EXHELP Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
151-
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."
151+
GOFLAGS="-tags=$(GO_BUILD_TAGS)" $(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."
152152

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

go.mod

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/Masterminds/semver/v3 v3.3.1
88
github.com/blang/semver/v4 v4.0.0
99
github.com/containerd/containerd v1.7.26
10-
github.com/containers/image/v5 v5.33.1
10+
github.com/containers/image/v5 v5.34.1
1111
github.com/fsnotify/fsnotify v1.8.0
1212
github.com/go-logr/logr v1.4.2
1313
github.com/google/go-cmp v0.7.0
@@ -70,18 +70,18 @@ require (
7070
github.com/containerd/platforms v0.2.1 // indirect
7171
github.com/containerd/stargz-snapshotter/estargz v0.16.3 // indirect
7272
github.com/containerd/ttrpc v1.2.7 // indirect
73-
github.com/containerd/typeurl/v2 v2.2.0 // indirect
73+
github.com/containerd/typeurl/v2 v2.2.3 // indirect
7474
github.com/containers/common v0.61.0 // indirect
7575
github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01 // indirect
76-
github.com/containers/ocicrypt v1.2.0 // indirect
77-
github.com/containers/storage v1.56.1 // indirect
76+
github.com/containers/ocicrypt v1.2.1 // indirect
77+
github.com/containers/storage v1.57.1 // indirect
7878
github.com/cyberphone/json-canonicalization v0.0.0-20231217050601-ba74d44ecf5f // indirect
7979
github.com/cyphar/filepath-securejoin v0.3.6 // indirect
8080
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
8181
github.com/distribution/reference v0.6.0 // indirect
82-
github.com/docker/cli v27.5.0+incompatible // indirect
82+
github.com/docker/cli v27.5.1+incompatible // indirect
8383
github.com/docker/distribution v2.8.3+incompatible // indirect
84-
github.com/docker/docker v27.5.0+incompatible // indirect
84+
github.com/docker/docker v27.5.1+incompatible // indirect
8585
github.com/docker/docker-credential-helpers v0.8.2 // indirect
8686
github.com/docker/go-connections v0.5.0 // indirect
8787
github.com/docker/go-metrics v0.0.1 // indirect
@@ -155,7 +155,7 @@ require (
155155
github.com/mitchellh/reflectwalk v1.0.2 // indirect
156156
github.com/moby/locker v1.0.1 // indirect
157157
github.com/moby/spdystream v0.5.0 // indirect
158-
github.com/moby/sys/capability v0.3.0 // indirect
158+
github.com/moby/sys/capability v0.4.0 // indirect
159159
github.com/moby/sys/mountinfo v0.7.2 // indirect
160160
github.com/moby/sys/sequential v0.5.0 // indirect
161161
github.com/moby/sys/user v0.3.0 // indirect
@@ -174,35 +174,35 @@ require (
174174
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
175175
github.com/pkg/errors v0.9.1 // indirect
176176
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
177-
github.com/proglottis/gpgme v0.1.3 // indirect
177+
github.com/proglottis/gpgme v0.1.4 // indirect
178178
github.com/prometheus/client_model v0.6.1 // indirect
179179
github.com/prometheus/common v0.62.0 // indirect
180180
github.com/prometheus/procfs v0.15.1 // indirect
181181
github.com/rivo/uniseg v0.4.7 // indirect
182182
github.com/rubenv/sql-migrate v1.7.1 // indirect
183183
github.com/russross/blackfriday/v2 v2.1.0 // indirect
184-
github.com/secure-systems-lab/go-securesystemslib v0.8.0 // indirect
184+
github.com/secure-systems-lab/go-securesystemslib v0.9.0 // indirect
185185
github.com/shopspring/decimal v1.4.0 // indirect
186186
github.com/sigstore/fulcio v1.6.4 // indirect
187-
github.com/sigstore/rekor v1.3.6 // indirect
188-
github.com/sigstore/sigstore v1.8.9 // indirect
187+
github.com/sigstore/rekor v1.3.8 // indirect
188+
github.com/sigstore/sigstore v1.8.12 // indirect
189+
github.com/smallstep/pkcs7 v0.1.1 // indirect
189190
github.com/spf13/cast v1.7.0 // indirect
190191
github.com/spf13/pflag v1.0.6 // indirect
191192
github.com/stefanberger/go-pkcs11uri v0.0.0-20230803200340-78284954bff6 // indirect
192193
github.com/stoewer/go-strcase v1.3.0 // indirect
193194
github.com/stretchr/objx v0.5.2 // indirect
194195
github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 // indirect
195196
github.com/ulikunitz/xz v0.5.12 // indirect
196-
github.com/vbatts/tar-split v0.11.6 // indirect
197-
github.com/vbauerster/mpb/v8 v8.8.3 // indirect
197+
github.com/vbatts/tar-split v0.11.7 // indirect
198+
github.com/vbauerster/mpb/v8 v8.9.1 // indirect
198199
github.com/x448/float16 v0.8.4 // indirect
199200
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
200201
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
201202
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
202203
github.com/xlab/treeprint v1.2.0 // indirect
203204
go.etcd.io/bbolt v1.3.11 // indirect
204205
go.mongodb.org/mongo-driver v1.14.0 // indirect
205-
go.mozilla.org/pkcs7 v0.0.0-20210826202110-33d05740a352 // indirect
206206
go.opencensus.io v0.24.0 // indirect
207207
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
208208
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 // indirect
@@ -222,10 +222,10 @@ require (
222222
golang.org/x/text v0.23.0 // indirect
223223
golang.org/x/time v0.10.0 // indirect
224224
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
225-
google.golang.org/genproto v0.0.0-20240903143218-8af14fe29dc1 // indirect
225+
google.golang.org/genproto v0.0.0-20241118233622-e639e219e697 // indirect
226226
google.golang.org/genproto/googleapis/api v0.0.0-20250303144028-a0af3efb3deb // indirect
227227
google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e // indirect
228-
google.golang.org/grpc v1.68.1 // indirect
228+
google.golang.org/grpc v1.69.4 // indirect
229229
google.golang.org/protobuf v1.36.5 // indirect
230230
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
231231
gopkg.in/inf.v0 v0.9.1 // indirect

0 commit comments

Comments
 (0)