Skip to content

Commit 1ee605e

Browse files
committed
migrate containers libs to new mono-repo
Ref: https://blog.podman.io/2025/08/upcoming-migration-of-three-containers-repositories-to-monorepo/ Also note, the containers mono-repo has introduced new policy restrictions that were preventing the test containers from running. The failing tests wre in: - internal/shared/util/image/pull_test.go:163 - Multiple test cases in TestContainersImagePuller_Pull To fix it, explicit insecure signature policy configuration was added to the test environment by - Updating `buildSourceContextFunc` to create a `policy.json` file with `{"default":[{"type":"insecureAcceptAnything"}]}` - Setting `SignaturePolicyPath` in test `SystemContext` to allow test image pulls without signature verification Signed-off-by: Anik Bhattacharjee <[email protected]>
1 parent b4aeb92 commit 1ee605e

File tree

13 files changed

+61
-48
lines changed

13 files changed

+61
-48
lines changed

cmd/catalogd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ import (
2828
"strings"
2929
"time"
3030

31-
"github.com/containers/image/v5/types"
3231
"github.com/spf13/cobra"
32+
"go.podman.io/image/v5/types"
3333
"k8s.io/apimachinery/pkg/runtime"
3434
k8stypes "k8s.io/apimachinery/pkg/types"
3535
apimachineryrand "k8s.io/apimachinery/pkg/util/rand"

cmd/operator-controller/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ import (
2828
"strings"
2929
"time"
3030

31-
"github.com/containers/image/v5/types"
3231
"github.com/spf13/cobra"
32+
"go.podman.io/image/v5/types"
3333
rbacv1 "k8s.io/api/rbac/v1"
3434
apiextensionsv1client "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1"
3535
k8slabels "k8s.io/apimachinery/pkg/labels"

go.mod

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ require (
88
github.com/blang/semver/v4 v4.0.0
99
github.com/cert-manager/cert-manager v1.18.2
1010
github.com/containerd/containerd v1.7.28
11-
github.com/containers/image/v5 v5.36.2
1211
github.com/fsnotify/fsnotify v1.9.0
1312
github.com/go-logr/logr v1.4.3
1413
github.com/golang-jwt/jwt/v5 v5.3.0
@@ -26,6 +25,7 @@ require (
2625
github.com/prometheus/common v0.66.0
2726
github.com/spf13/cobra v1.10.1
2827
github.com/stretchr/testify v1.11.1
28+
go.podman.io/image/v5 v5.37.0
2929
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b
3030
golang.org/x/mod v0.27.0
3131
golang.org/x/sync v0.16.0
@@ -79,13 +79,15 @@ require (
7979
github.com/containerd/errdefs/pkg v0.3.0 // indirect
8080
github.com/containerd/log v0.1.0 // indirect
8181
github.com/containerd/platforms v0.2.1 // indirect
82-
github.com/containerd/stargz-snapshotter/estargz v0.16.3 // indirect
82+
github.com/containerd/stargz-snapshotter/estargz v0.17.0 // indirect
8383
github.com/containerd/ttrpc v1.2.7 // indirect
8484
github.com/containerd/typeurl/v2 v2.2.3 // indirect
8585
github.com/containers/common v0.64.1 // indirect
86+
github.com/containers/image/v5 v5.36.1 // indirect
8687
github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01 // indirect
8788
github.com/containers/ocicrypt v1.2.1 // indirect
8889
github.com/containers/storage v1.59.1 // indirect
90+
github.com/coreos/go-systemd/v22 v22.6.0 // indirect
8991
github.com/cyberphone/json-canonicalization v0.0.0-20241213102144-19d51d7fe467 // indirect
9092
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
9193
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
@@ -94,7 +96,7 @@ require (
9496
github.com/docker/distribution v2.8.3+incompatible // indirect
9597
github.com/docker/docker v28.3.3+incompatible // indirect
9698
github.com/docker/docker-credential-helpers v0.9.3 // indirect
97-
github.com/docker/go-connections v0.5.0 // indirect
99+
github.com/docker/go-connections v0.6.0 // indirect
98100
github.com/docker/go-units v0.5.0 // indirect
99101
github.com/emicklei/go-restful/v3 v3.12.2 // indirect
100102
github.com/evanphx/json-patch v5.9.11+incompatible // indirect
@@ -177,14 +179,14 @@ require (
177179
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
178180
github.com/pkg/errors v0.9.1 // indirect
179181
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
180-
github.com/proglottis/gpgme v0.1.4 // indirect
182+
github.com/proglottis/gpgme v0.1.5 // indirect
181183
github.com/prometheus/client_model v0.6.2 // indirect
182184
github.com/prometheus/procfs v0.16.1 // indirect
183185
github.com/rivo/uniseg v0.4.7 // indirect
184186
github.com/rubenv/sql-migrate v1.8.0 // indirect
185187
github.com/russross/blackfriday/v2 v2.1.0 // indirect
186188
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 // indirect
187-
github.com/secure-systems-lab/go-securesystemslib v0.9.0 // indirect
189+
github.com/secure-systems-lab/go-securesystemslib v0.9.1 // indirect
188190
github.com/shopspring/decimal v1.4.0 // indirect
189191
github.com/sigstore/fulcio v1.7.1 // indirect
190192
github.com/sigstore/protobuf-specs v0.4.3 // indirect
@@ -197,7 +199,7 @@ require (
197199
github.com/stoewer/go-strcase v1.3.1 // indirect
198200
github.com/stretchr/objx v0.5.2 // indirect
199201
github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 // indirect
200-
github.com/ulikunitz/xz v0.5.14 // indirect
202+
github.com/ulikunitz/xz v0.5.15 // indirect
201203
github.com/vbatts/tar-split v0.12.1 // indirect
202204
github.com/vbauerster/mpb/v8 v8.10.2 // indirect
203205
github.com/x448/float16 v0.8.4 // indirect
@@ -213,6 +215,7 @@ require (
213215
go.opentelemetry.io/otel/sdk v1.37.0 // indirect
214216
go.opentelemetry.io/otel/trace v1.37.0 // indirect
215217
go.opentelemetry.io/proto/otlp v1.7.0 // indirect
218+
go.podman.io/storage v1.60.0 // indirect
216219
go.yaml.in/yaml/v2 v2.4.2 // indirect
217220
go.yaml.in/yaml/v3 v3.0.4 // indirect
218221
golang.org/x/crypto v0.41.0 // indirect

go.sum

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,16 @@ github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I=
7171
github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo=
7272
github.com/containerd/platforms v0.2.1 h1:zvwtM3rz2YHPQsF2CHYM8+KtB5dvhISiXh5ZpSBQv6A=
7373
github.com/containerd/platforms v0.2.1/go.mod h1:XHCb+2/hzowdiut9rkudds9bE5yJ7npe7dG/wG+uFPw=
74-
github.com/containerd/stargz-snapshotter/estargz v0.16.3 h1:7evrXtoh1mSbGj/pfRccTampEyKpjpOnS3CyiV1Ebr8=
75-
github.com/containerd/stargz-snapshotter/estargz v0.16.3/go.mod h1:uyr4BfYfOj3G9WBVE8cOlQmXAbPN9VEQpBBeJIuOipU=
74+
github.com/containerd/stargz-snapshotter/estargz v0.17.0 h1:+TyQIsR/zSFI1Rm31EQBwpAA1ovYgIKHy7kctL3sLcE=
75+
github.com/containerd/stargz-snapshotter/estargz v0.17.0/go.mod h1:s06tWAiJcXQo9/8AReBCIo/QxcXFZ2n4qfsRnpl71SM=
7676
github.com/containerd/ttrpc v1.2.7 h1:qIrroQvuOL9HQ1X6KHe2ohc7p+HP/0VE6XPU7elJRqQ=
7777
github.com/containerd/ttrpc v1.2.7/go.mod h1:YCXHsb32f+Sq5/72xHubdiJRQY9inL4a4ZQrAbN1q9o=
7878
github.com/containerd/typeurl/v2 v2.2.3 h1:yNA/94zxWdvYACdYO8zofhrTVuQY73fFU1y++dYSw40=
7979
github.com/containerd/typeurl/v2 v2.2.3/go.mod h1:95ljDnPfD3bAbDJRugOiShd/DlAAsxGtUBhJxIn7SCk=
8080
github.com/containers/common v0.64.1 h1:E8vSiL+B84/UCsyVSb70GoxY9cu+0bseLujm4EKF6GE=
8181
github.com/containers/common v0.64.1/go.mod h1:CtfQNHoCAZqWeXMwdShcsxmMJSeGRgKKMqAwRKmWrHE=
82-
github.com/containers/image/v5 v5.36.2 h1:GcxYQyAHRF/pLqR4p4RpvKllnNL8mOBn0eZnqJbfTwk=
83-
github.com/containers/image/v5 v5.36.2/go.mod h1:b4GMKH2z/5t6/09utbse2ZiLK/c72GuGLFdp7K69eA4=
82+
github.com/containers/image/v5 v5.36.1 h1:6zpXBqR59UcAzoKpa/By5XekeqFV+htWYfr65+Cgjqo=
83+
github.com/containers/image/v5 v5.36.1/go.mod h1:b4GMKH2z/5t6/09utbse2ZiLK/c72GuGLFdp7K69eA4=
8484
github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01 h1:Qzk5C6cYglewc+UyGf6lc8Mj2UaPTHy/iF2De0/77CA=
8585
github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01/go.mod h1:9rfv8iPl1ZP7aqh9YA68wnZv2NUDbXdcdPHVz0pFbPY=
8686
github.com/containers/ocicrypt v1.2.1 h1:0qIOTT9DoYwcKmxSt8QJt+VzMY18onl9jUXsxpVhSmM=
@@ -89,8 +89,8 @@ github.com/containers/storage v1.59.1 h1:11Zu68MXsEQGBBd+GadPrHPpWeqjKS8hJDGiAHg
8989
github.com/containers/storage v1.59.1/go.mod h1:KoAYHnAjP3/cTsRS+mmWZGkufSY2GACiKQ4V3ZLQnR0=
9090
github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4=
9191
github.com/coreos/go-semver v0.3.1/go.mod h1:irMmmIw/7yzSRPWryHsK7EYSg09caPQL03VsM8rvUec=
92-
github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs=
93-
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
92+
github.com/coreos/go-systemd/v22 v22.6.0 h1:aGVa/v8B7hpb0TKl0MWoAavPDmHvobFe5R5zn0bCJWo=
93+
github.com/coreos/go-systemd/v22 v22.6.0/go.mod h1:iG+pp635Fo7ZmV/j14KUcmEyWF+0X7Lua8rrTWzYgWU=
9494
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
9595
github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY=
9696
github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4=
@@ -118,8 +118,8 @@ github.com/docker/docker v28.3.3+incompatible h1:Dypm25kh4rmk49v1eiVbsAtpAsYURjY
118118
github.com/docker/docker v28.3.3+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
119119
github.com/docker/docker-credential-helpers v0.9.3 h1:gAm/VtF9wgqJMoxzT3Gj5p4AqIjCBS4wrsOh9yRqcz8=
120120
github.com/docker/docker-credential-helpers v0.9.3/go.mod h1:x+4Gbw9aGmChi3qTLZj8Dfn0TD20M/fuWy0E5+WDeCo=
121-
github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c=
122-
github.com/docker/go-connections v0.5.0/go.mod h1:ov60Kzw0kKElRwhNs9UlUHAE/F9Fe6GLaXnqyDdmEXc=
121+
github.com/docker/go-connections v0.6.0 h1:LlMG9azAe1TqfR7sO+NJttz1gy6KO7VJBh+pMmjSD94=
122+
github.com/docker/go-connections v0.6.0/go.mod h1:AahvXYshr6JgfUJGdDCs2b5EZG/vmaMAntpSFH5BFKE=
123123
github.com/docker/go-events v0.0.0-20250114142523-c867878c5e32 h1:EHZfspsnLAz8Hzccd67D5abwLiqoqym2jz/jOS39mCk=
124124
github.com/docker/go-events v0.0.0-20250114142523-c867878c5e32/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA=
125125
github.com/docker/go-metrics v0.0.1 h1:AgB/0SvBxihN0X8OR4SjsblXkbMvalQ8cjmtKQ2rQV8=
@@ -399,8 +399,8 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRI
399399
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
400400
github.com/poy/onpar v1.1.2 h1:QaNrNiZx0+Nar5dLgTVp5mXkyoVFIbepjyEoGSnhbAY=
401401
github.com/poy/onpar v1.1.2/go.mod h1:6X8FLNoxyr9kkmnlqpK6LSoiOtrO6MICtWwEuWkLjzg=
402-
github.com/proglottis/gpgme v0.1.4 h1:3nE7YNA70o2aLjcg63tXMOhPD7bplfE5CBdV+hLAm2M=
403-
github.com/proglottis/gpgme v0.1.4/go.mod h1:5LoXMgpE4bttgwwdv9bLs/vwqv3qV7F4glEEZ7mRKrM=
402+
github.com/proglottis/gpgme v0.1.5 h1:KCGyOw8sQ+SI96j6G8D8YkOGn+1TwbQTT9/zQXoVlz0=
403+
github.com/proglottis/gpgme v0.1.5/go.mod h1:5LoXMgpE4bttgwwdv9bLs/vwqv3qV7F4glEEZ7mRKrM=
404404
github.com/prometheus/client_golang v1.23.1 h1:w6gXMLQGgd0jXXlote9lRHMe0nG01EbnJT+C0EJru2Y=
405405
github.com/prometheus/client_golang v1.23.1/go.mod h1:br8j//v2eg2K5Vvna5klK8Ku5pcU5r4ll73v6ik5dIQ=
406406
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
@@ -427,8 +427,8 @@ github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf
427427
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
428428
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 h1:KRzFb2m7YtdldCEkzs6KqmJw4nqEVZGK7IN2kJkjTuQ=
429429
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2/go.mod h1:JXeL+ps8p7/KNMjDQk3TCwPpBy0wYklyWTfbkIzdIFU=
430-
github.com/secure-systems-lab/go-securesystemslib v0.9.0 h1:rf1HIbL64nUpEIZnjLZ3mcNEL9NBPB0iuVjyxvq3LZc=
431-
github.com/secure-systems-lab/go-securesystemslib v0.9.0/go.mod h1:DVHKMcZ+V4/woA/peqr+L0joiRXbPpQ042GgJckkFgw=
430+
github.com/secure-systems-lab/go-securesystemslib v0.9.1 h1:nZZaNz4DiERIQguNy0cL5qTdn9lR8XKHf4RUyG1Sx3g=
431+
github.com/secure-systems-lab/go-securesystemslib v0.9.1/go.mod h1:np53YzT0zXGMv6x4iEWc9Z59uR+x+ndLwCLqPYpLXVU=
432432
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8=
433433
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=
434434
github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k=
@@ -469,8 +469,8 @@ github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu
469469
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
470470
github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 h1:e/5i7d4oYZ+C1wj2THlRK+oAhjeS/TRQwMfkIuet3w0=
471471
github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399/go.mod h1:LdwHTNJT99C5fTAzDz0ud328OgXz+gierycbcIx2fRs=
472-
github.com/ulikunitz/xz v0.5.14 h1:uv/0Bq533iFdnMHZdRBTOlaNMdb1+ZxXIlHDZHIHcvg=
473-
github.com/ulikunitz/xz v0.5.14/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
472+
github.com/ulikunitz/xz v0.5.15 h1:9DNdB5s+SgV3bQ2ApL10xRc35ck0DuIX/isZvIk+ubY=
473+
github.com/ulikunitz/xz v0.5.15/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
474474
github.com/vbatts/tar-split v0.12.1 h1:CqKoORW7BUWBe7UL/iqTVvkTBOF8UvOMKOIZykxnnbo=
475475
github.com/vbatts/tar-split v0.12.1/go.mod h1:eF6B6i6ftWQcDqEn3/iGFRFRo8cBIMSJVOpnNdfTMFA=
476476
github.com/vbauerster/mpb/v8 v8.10.2 h1:2uBykSHAYHekE11YvJhKxYmLATKHAGorZwFlyNw4hHM=
@@ -540,6 +540,10 @@ go.opentelemetry.io/otel/trace v1.37.0 h1:HLdcFNbRQBE2imdSEgm/kwqmQj1Or1l/7bW6mx
540540
go.opentelemetry.io/otel/trace v1.37.0/go.mod h1:TlgrlQ+PtQO5XFerSPUYG0JSgGyryXewPGyayAWSBS0=
541541
go.opentelemetry.io/proto/otlp v1.7.0 h1:jX1VolD6nHuFzOYso2E73H85i92Mv8JQYk0K9vz09os=
542542
go.opentelemetry.io/proto/otlp v1.7.0/go.mod h1:fSKjH6YJ7HDlwzltzyMj036AJ3ejJLCgCSHGj4efDDo=
543+
go.podman.io/image/v5 v5.37.0 h1:yzgQybwuWIIeK63hu+mQqna/wOh96XD5cpVc6j8Dg5M=
544+
go.podman.io/image/v5 v5.37.0/go.mod h1:+s2Sx5dia/jVeT8tI3r2NAPrARMiDdbEq3QPIQogx3I=
545+
go.podman.io/storage v1.60.0 h1:bWNSrR58nxg39VNFDSx3m0AswbvyzPGOo5XsUfomTao=
546+
go.podman.io/storage v1.60.0/go.mod h1:NK+rsWJVuQeCM7ifv7cxD3abegWxwtW/3OkuSUJJoE4=
543547
go.uber.org/automaxprocs v1.6.0 h1:O3y2/QNTOdbF+e/dpXNNW7Rx2hZ4sTIPyybbxyNqTUs=
544548
go.uber.org/automaxprocs v1.6.0/go.mod h1:ifeIMSnPZuznNm6jmdzmU3/bfk01Fe2fotchwEFJ8r8=
545549
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=

internal/catalogd/controllers/core/clustercatalog_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"sync"
2525
"time"
2626

27-
"github.com/containers/image/v5/docker/reference"
27+
"go.podman.io/image/v5/docker/reference"
2828
"k8s.io/apimachinery/pkg/api/equality"
2929
"k8s.io/apimachinery/pkg/api/meta"
3030
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

internal/catalogd/controllers/core/clustercatalog_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import (
1010
"testing/fstest"
1111
"time"
1212

13-
"github.com/containers/image/v5/docker/reference"
1413
"github.com/google/go-cmp/cmp"
1514
"github.com/google/go-cmp/cmp/cmpopts"
1615
"github.com/stretchr/testify/assert"
1716
"github.com/stretchr/testify/require"
17+
"go.podman.io/image/v5/docker/reference"
1818
"k8s.io/apimachinery/pkg/api/meta"
1919
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2020
"k8s.io/utils/ptr"

internal/shared/util/image/cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ import (
1515
"time"
1616

1717
"github.com/containerd/containerd/archive"
18-
"github.com/containers/image/v5/docker/reference"
1918
"github.com/google/renameio/v2"
2019
"github.com/opencontainers/go-digest"
2120
ocispecv1 "github.com/opencontainers/image-spec/specs-go/v1"
21+
"go.podman.io/image/v5/docker/reference"
2222
"helm.sh/helm/v3/pkg/chart"
2323
"helm.sh/helm/v3/pkg/registry"
2424
"sigs.k8s.io/controller-runtime/pkg/log"

internal/shared/util/image/cache_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ import (
1818
"time"
1919

2020
"github.com/containerd/containerd/archive"
21-
"github.com/containers/image/v5/docker/reference"
2221
ocispecv1 "github.com/opencontainers/image-spec/specs-go/v1"
2322
"github.com/stretchr/testify/assert"
2423
"github.com/stretchr/testify/require"
24+
"go.podman.io/image/v5/docker/reference"
2525
"helm.sh/helm/v3/pkg/registry"
2626

2727
fsutil "github.com/operator-framework/operator-controller/internal/shared/util/fs"

internal/shared/util/image/helm.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import (
1212
"strings"
1313
"time"
1414

15-
"github.com/containers/image/v5/docker/reference"
16-
"github.com/containers/image/v5/pkg/blobinfocache/none"
17-
"github.com/containers/image/v5/types"
1815
ocispecv1 "github.com/opencontainers/image-spec/specs-go/v1"
16+
"go.podman.io/image/v5/docker/reference"
17+
"go.podman.io/image/v5/pkg/blobinfocache/none"
18+
"go.podman.io/image/v5/types"
1919
"helm.sh/helm/v3/pkg/chart"
2020
"helm.sh/helm/v3/pkg/chart/loader"
2121
"helm.sh/helm/v3/pkg/registry"

internal/shared/util/image/helm_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ import (
1616
"time"
1717

1818
"github.com/containerd/containerd/archive"
19-
"github.com/containers/image/v5/docker"
20-
"github.com/containers/image/v5/docker/reference"
21-
"github.com/containers/image/v5/image"
22-
"github.com/containers/image/v5/types"
2319
goregistry "github.com/google/go-containerregistry/pkg/registry"
2420
"github.com/opencontainers/go-digest"
2521
ocispecv1 "github.com/opencontainers/image-spec/specs-go/v1"
2622
"github.com/stretchr/testify/assert"
2723
"github.com/stretchr/testify/require"
24+
"go.podman.io/image/v5/docker"
25+
"go.podman.io/image/v5/docker/reference"
26+
"go.podman.io/image/v5/image"
27+
"go.podman.io/image/v5/types"
2828
"helm.sh/helm/v3/pkg/chart"
2929
"helm.sh/helm/v3/pkg/registry"
3030

0 commit comments

Comments
 (0)