k8s-image-swapper
k8s-image-swapper copied to clipboard
Wildcards in the image pull secret does not work
When an image pull secret is created like so :
kubectl create secret docker-registry regcred --docker-server="*.registry.com" --docker-username=MY_USERNAME --docker-password="MY_PASSWORD" --docker-email="my_email"
The k8s-image-swapper is not able to copy the image from the registry to ECR.
Kubernetes is able to pull the image successful using a secret like that but k8s-image-swapper doesn't like it.
Any idea how to resolve this?
Thank you