-
Notifications
You must be signed in to change notification settings - Fork 51
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
option to pass registry auth token using k8s secret #118
Comments
This question goes a bit beyond the scope of this project, but here's a sketch of how you can approach this:
The dregsy container images don't contain |
Thanks @xelalexv for the hint, I will try to use init-container with envsubst installed on it and let's see how it goes, we can make this issue open for that time. |
So, I am able to configure auth-token for dockerhub using envsubst. Also getting this line in config confirm that it is using auth to connect to dockerhub, but still getting rate-limit error, is there any smooth way where we can check how many pull left for user from dockerhub.
Also, after enabling auth getting this extra line in logs:
|
There could be a misspelling of |
I want to use auth token to fetch image from docker-hub account to avoid rate limit but I do not want to pass whole
config.yaml
as a secret because I am using helm chart and providing configmap with helm template, now my question is that how we can just defineauth
thingy using k8s-secret or with envsubst to subsitute its values using ENV variable in k8s job.And do I need to install envsubst explicitly to get it work.
The text was updated successfully, but these errors were encountered: