You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since upgrade to v1.9.0 of the cli I am unable to add images to an index because its complaining about an insecure registry. It looks like the break occurred in v.1.7.0 because versions prior to this worked without issue.
[Robs-MBP]$ opm index add --container-tool docker --permissive --bundles myInsecureRegistry.com/openshift-marketplace/myproduct-operator-bundle:0.0.5 --tag myInsecureRegistry.com/openshift-marketplace/ibm-myproduct-index:0.0.5
INFO[0000] building the index bundles="[myInsecureRegistry.com/openshift-marketplace/myproduct-operator-bundle:0.0.5]"
ERRO[0001] permissive mode disabled bundles="[myInsecureRegistry.com/openshift-marketplace/myproduct-operator-bundle:0.0.5]" error="error loading bundle from image: failed to do request: Head https://myInsecureRegistry.com/v2/openshift-marketplace/myproduct-operator-bundle/manifests/0.0.5: x509: certificate signed by unknown authority"
I have already updated the docker configuration to allow pull/pushing to the insecure registry and can manually pull the image without issue.
Using v1.6.1 produces the following
[Robs-MBP]$ opm index add --container-tool docker --bundles myInsecureRegistry.com/openshift-marketplace/myproduct-operator-bundle:0.0.5 --tag myInsecureRegistry.com/openshift-marketplace/ibm-myproduct-index:0.0.5
INFO[0000] building the index bundles="[myInsecureRegistry.com/openshift-marketplace/myproduct-operator-bundle:0.0.5]"
INFO[0000] running docker pull img="myInsecureRegistry.com/openshift-marketplace/myproduct-operator-bundle:0.0.5"
INFO[0002] running docker save img="myInsecureRegistry.com/openshift-marketplace/myproduct-operator-bundle:0.0.5"
INFO[0002] loading Bundle myInsecureRegistry.com/openshift-marketplace/myproduct-operator-bundle:0.0.5 img="myInsecureRegistry.com/openshift-marketplace/myproduct-operator-bundle:0.0.5"
INFO[0002] found annotations file searching for csv dir=bundle_tmp011253059 file=bundle_tmp011253059/metadata load=annotations
INFO[0002] found csv, loading bundle dir=bundle_tmp011253059 file=bundle_tmp011253059/manifests load=bundle
INFO[0002] loading bundle file dir=bundle_tmp011253059/manifests file=oidc.security.ibm.com_clients_crd.yaml load=bundle
INFO[0002] Generating dockerfile bundles="[myInsecureRegistry.com/openshift-marketplace/myproduct-operator-bundle:0.0.5]"
INFO[0002] writing dockerfile: index.Dockerfile230944877 bundles="[myInsecureRegistry.com/openshift-marketplace/myproduct-operator-bundle:0.0.5]"
INFO[0002] running docker build bundles="[myInsecureRegistry.com/openshift-marketplace/myproduct-operator-bundle:0.0.5]"
INFO[0002] [docker build -f index.Dockerfile230944877 -t myInsecureRegistry.com/openshift-marketplace/ibm-myproduct-index:0.0.5 .] bundles="[myInsecureRegistry.com/openshift-marketplace/myproduct-operator-bundle:0.0.5]"
The text was updated successfully, but these errors were encountered:
The index add command passes through to the registry add command which has a skip-tls option. It looks like this option wasn't added to former when the change went in.
Since upgrade to v1.9.0 of the cli I am unable to add images to an index because its complaining about an insecure registry. It looks like the break occurred in v.1.7.0 because versions prior to this worked without issue.
I have already updated the docker configuration to allow pull/pushing to the insecure registry and can manually pull the image without issue.
Using v1.6.1 produces the following
The text was updated successfully, but these errors were encountered: