-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using a pull-thru docker cache with the imagePolicy schedule feature? #427
Comments
Changing this from |
hey @zvickery ,
Also, just note that if you want to use operator's
|
We use ECR for this so the access is authorized with IAM instead of image pull secrets. The pull-thru works using the For my purposes, this would work great if line 12 of |
@zvickery your last comment makes sense... just to make sure we're in sync:
I'll see if I can figure out a nice way to do this |
That is correct! As long as the |
What happened?
We prefer to run our pods from a private pull-thru Docker image cache rather than directly from Dockerhub. At the same time, the auto-update feature with the schedule and
dockerhub
provider is pretty nice.Would it be possible to combine these features somehow? Checking for updates on Dockerhub but starting the pod using a different repository than the default? In other words, setting
TwingateConnector
attributes like below:I personally would expect it to use dockerhub to check for updates. The next time it starts a pod, it would use the supplied repository name for the image instead of the default. With a pull-thru cache, this should work fine.
Did you expect to see something different?
I tried using the features together but the code got a Python error:
I suppose it makes sense if a private repository isn't intended to support any sort of update checking.
How to reproduce it (as minimally and precisely as possible):
See above.
Environment
0.11.5
Client Version: v1.31.1 Kustomize Version: v5.4.2 Server Version: v1.31.0-eks-a737599
EKS
N/A
N/A
Anything else we need to know?:
N/A
The text was updated successfully, but these errors were encountered: