[Operator] -registry seems to be ignored, upgrade image always pulled from docker.io
See original GitHub issueThis is a…
[ ] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report
[ ] Documentation issue or request
The problem
When -registry
argument is used in the operator image, it seems to be ignored. We have currently fuse-online-operator:1.1-4
image that specifies our docker registry:
"Entrypoint": [
"/usr/local/bin/syndesis-operator",
"-template",
"/conf/syndesis-template.yml",
"-registry",
"registry.access.redhat.com"
]
but when the operator tries to upgrade 7.0.1 to 7.1, it tries to pull the image from docker hub:
Failed to pull image "docker.io/fuse7/fuse-ignite-upgrade:1.1-8": rpc error: code = Unknown desc = Error: image fuse7/fuse-ignite-upgrade:1.1-8 not found
I tried to modify the upstream 1.4.7 operator image to specify my own registry:
FROM syndesis/syndesis-operator:1.4.7
ENTRYPOINT [ "/usr/local/bin/syndesis-operator", "-template", "/conf/syndesis-template.yml", "-registry", "myregistry" ]
and after deploying that image, it still pulls docker.io.
Expected behavior
To pull from repository that is specified in -registry
Screenshot
Request and Response Data
API Endpoints and Schemas
Tasks involved / Steps to Reproduce
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Configuring a registry - Docker Documentation
In a typical setup where you run your Registry from the official image, ... ignore: mediatypes: - application/octet-stream actions: - pull redis: addr: ......
Read more >Deprecated Engine Features - Docker Documentation
Pulling images from non-compliant image registries . Deprecated in Release: v20.10. Docker Engine v20.10 and up includes optimizations to verify if images in ......
Read more >docker manifest - Docker Documentation
A manifest list is a list of image layers that is created by specifying one or more (ideally more than one) image names....
Read more >Test an insecure registry - Docker Documentation
With insecure registries enabled, Docker goes through the following steps: First, try using HTTPS. If HTTPS is available but the certificate is invalid,...
Read more >HTTP API V2 - Docker Documentation
The first step in pulling an image is to retrieve the manifest. For reference, the relevant manifest fields for the registry are the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve fixed it in https://github.com/syndesisio/fuse-online-install (branch
master
and1.4.x
) by removing the command, in order to use the entrypoint of the productized image. If this works (@avano, cc: @djcoleman), we can close this.We need also to update the yaml file in this repo (not relevant for Fuse installation, but they better stay in sync).
looks good to me 😃