SAP / clustersecret-operator

Manage Kubernetes secrets at cluster scope
https://sap.github.io/clustersecret-operator/
Apache License 2.0
5 stars 2 forks source link

Issues with pulling crds #32

Closed pikodd closed 9 months ago

pikodd commented 10 months ago

Hi. I'm trying to pull crds image to use in disconnected environment and have this error.

user@server $  ~/presale/PochtaBank_shturval]$ podman pull ghcr.io/sap/clustersecret-operator/crds:v0.3.9
Trying to pull ghcr.io/sap/clustersecret-operator/crds:v0.3.9...
Error: parsing image configuration: unsupported image-specific operation on artifact with type "application/vnd.unknown.config+json"

And skopeo can't do in also

$ skopeo copy  docker://ghcr.io/sap/clustersecret-operator/crds:v0.3.9 docker-archive:crds.tar
Getting image source signatures
Copying blob abef414fd408 done
FATA[0001] creating an updated image manifest: unsupported image-specific operation on artifact with type "application/vnd.unknown.config+json"
gzip: crds.tar: No such file or directory
cbarbian-sap commented 10 months ago

The crds image is an OCI image of course, but not a container image. This explains probably why you can't pull it with podman or skopeo. What you can use is https://github.com/regclient/regclient/blob/main/docs/regctl.md, like

regctl artifact get ghcr.io/sap/clustersecret-operator/crds:v0.3.9 | tar xv -C /tmp