Open DerekTBrown opened 3 months ago
resource
that pulls images from remotes by:
docker pull
kind load docker-image
.Eventually, I could see it making sense to add this to tilt_extensions
.
registry
image
registry
image supports configuration as a pull-through cache, where cache upstreams can have authentication.ctlptl
that makes it easy to configure these upstreams, such that they can borrow the local users' ECR, GCR, GHCR credentials, etc.this is a good guide to the problem and the current solution space - https://kind.sigs.k8s.io/docs/user/private-registries/
for my own projects, i usually use an image pull secret attached to the default service account in a namespace, which i've found is the most portable approach, e.g., https://github.com/tilt-dev/tilt-extensions/tree/master/secret#secret_create_docker_registry_ecr
@nicks Agree these are the current best-supported paths. It just seems like there should be a fairly easy way to emulate the production EKS/GKE behavior such that ImagePullSecrets
aren't needed.
heh, we have a rule around these parts where if you say it "should be fairly easy", that means you're signing up to implement it. : )
User Story
imagePullSecrets
) are required.imagePullSecrets
.