-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
getting digest: UNAUTHORIZED: \"access to the requested resource is not authorized\"" #1160
Comments
ping @GoogleContainerTools/java-tools |
|
It seems like this is step where skaffold is setting the tag. @coollog ? Skaffold's registry client might need auth info to the registry. |
Yea, this looks to be a discrepancy between the auth info that Skaffold uses vs the auth info that Jib uses. @dkirrane - which authentication method are you using with Jib? (credential helper, |
I'm using
|
Also, I've update to skaffold
Is there some setting I'm missing to setup auth for skaffold? |
I believe skaffold actually fetches auth from the Docker config in order to retag the image with the skaffold tagging method. Therefore, you would need to either do a
@GoogleContainerTools/java-tools We might want to look into potentially adding a Jib goal/task that can expose the credentials Jib uses to Skaffold to use with the tagging logic, or having Skaffold somehow pull the same credentials without needing a Docker config. |
Fixed with #548 |
Fixed by #1475 |
@dgageot @briandealwis - I'm still hitting this issue on skaffold
The projects
I've logged into Nexus
Skaffold build is successful until this final line
I can see the credentials for Nexus stored in Windows Credentials Manager |
Hi all, looks like this needs to /reopen I've found that Skaffold doesn't work with When using Workaround:
The username & password get stored in
|
Reopening, thank you for looking into deeper! |
This is probably a bug with how we interact with wincred or the default cred helper. I don't have a windows machine, so it's hard for me to debug, but I would expect it to work. We create a cred helper from Which then calls this: So something weird is happening there. |
I will start to look into windows bugs including this, as we are getting a windows machine now... |
I'm going to close this issue because it seems to work ok now. Feel free to reopen if you still see the issue. |
Trying out the skaffold-jib support but hitting the following:
Expected behavior
skaffold build completes sucessfully
Actual behavior
UNAUTHORIZED error
Information
v0.16.0
Steps to reproduce the behavior
2.0.5.RELEASE
)pom.xml
skaffold build
The text was updated successfully, but these errors were encountered: