atomisthq / jibbit

Dockerless Clojure Image builds using deps.edn
Eclipse Public License 1.0
112 stars 9 forks source link

support allowInsecureRegistries #9

Closed gnarroway closed 2 years ago

gnarroway commented 2 years ago

gradle/maven jib have a flag to allowInsecureRegistries which is useful in certain environments.

Can jibbit be made to support a similar config?

slimslenderslacks commented 2 years ago

@gnarroway ya, I can add this flag - this is exposed on the underlying Containerizer so I'll add an option for that.

gnarroway commented 2 years ago

Thank you.

slimslenderslacks commented 2 years ago

@gnarroway I named the flag :allow-insecure-registries just to stick with the clojure convention. I've started to add some tests for container contents but I haven't got around to setting up a registry with a self-signed certificate to test whether this is working yet. When you need to push to an insecure registry, is it because you're pushing to something using a self-signed certificate?

You should be able to try this flag now: https://github.com/atomisthq/jibbit#pushing-to-insecure-registries

atomist[bot] commented 2 years ago

This issue has been automatically marked with stale because it has not had any activity in last 21 days. It will be closed in 14 days if no further activity occurs. To prevent closing, label with defer or blocked.