1) I have private docker registry covered by https...
# flyte-support
r
1) I have private docker registry covered by https with self-signed certificate, remote port binded to localhost:5000. 2) I added 127.0.0.1 registry.docker-registry.svc.cluster.local in /etc/hosts 3) docker push works with registry.docker-registry.svc.cluster.local:5000 and https without any issues. When I run workflow with custom image build using "pyflyte run --remote ./examples/custom_container.py custom_container_wf" custom_image = ImageSpec( name="flytekit", tag_format="{spec_hash}", base_image="ghcr.io/flyteorg/flytekit:py3.11-1.10.2", packages=["pandas"], registry="registry.docker-registry.svc.cluster.local:5000", python_version="3.11" ) pyflyte tries to work with private Docker registry using http instead of https, and I got 500 Server Error for http+docker://localhost/v1.47/distribution/registry.docker-registry.svc.cluster.local:5000/flytekit:dVEnIhz_S7mHrvO5DD_bjA/json: Internal Server Error ("unknown: Client sent an HTTP request to an HTTPS server. ") How to configure pyflyte to use https with private docker registry? flyte config.yaml admin: insecure: true doesn't help
a
could you try with
Copy code
admin:
  insecure: false
  insecureSkipVerify: true
r
this config doesn't work for me, because flyteadmin and flyteconsole deployed without https. Only docker registry with tls.