Hi community, I want to know how to use `http` im...
# flyte-support
q
Hi community, I want to know how to use
http
image registry for flytepluing-envd? When I use
http
url in image registry, I will get
Copy code
#22 ERROR: failed to do request: Head "<https://test-1797217457.ap-northeast-1.elb.amazonaws.com:5000/v2/split_imag/blobs/sha256:056025e5e2a8242cc32ad6af915817cfc4f5dc4fbgr1604585b1e767re13c9>": http: server gave HTTP response to HTTPS client
And how to set
http
url in flytectl config.yml Did I set this correct?
Copy code
plugins:
  envd:
    registry: "<http://test-1797217457.ap-northeast-1.elb.amazonaws.com:5000>"
    insecure: true
g
you just need to specify registry in image spec
Copy code
ImageSpec(
    packages=["pandas", "numpy"],
    python_version="3.9",
    apt_packages=["git"],
    registry="<http://test-1797217457.ap-northeast-1.elb.amazonaws.com:5000>",
)