k8s-image-swapper
k8s-image-swapper copied to clipboard
Addition of generic registry
Added a generic registry allowing k8s-image-swapper to be used with registries that use username/password.
Also interested in having this in.
@johnmehan we would like to deploy a simple local Docker registry without auth. Would that also be supported?
From my testing, it looks like this forces defining every source registry and will error out on any images are not from a registry in the list. It also forces adding creds to all of them. @johnmehan I've PR'd your repo with an additional modification to enable using anonymous copies (both on source and destination) and also without defining creds for everything.
@towolf While waiting for this to be merged eventually I pushed an image to inputobject2/k8s-image-swapper:v1.5.9-noauth
that I'm using without issue in my homelab.
@InputObject2 I've merged your changes. Thanks!
@estahn this PR might also close #29 and #30
@estahn would love to see this get merged. I think I'm going to need to build this w/ the PR and run my own container in the meantime.
hi @estahn , I'm curious if you've found time to review this.