Skip to content
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

feat: default to ADC when gcloud cred helper is configured in docker/config.json when using docker go library #9469

Merged

Conversation

renzodavid9
Copy link
Contributor

@renzodavid9 renzodavid9 commented Jul 8, 2024

Related: #9457

Description
This will make Skaffold to first try to get credentials using ADC when a Docker credentials helper is configured to use gcloud in the .docker/config.json file. If it fails it will try to use the logic from the Docker go library (as it was before this change). If it fails, it will try to guess if the given registry is a Google Registry and will try to get creds from ADC.

Follow-up Work
More PRs to remove gcloud dependency

@renzodavid9 renzodavid9 changed the title feat: default to ADC when gcloud cred helper is configured in docke… feat: default to ADC when gcloud cred helper is configured in docker/config.json when using docker go library Jul 8, 2024
…r/config.json when using docker go library
@renzodavid9 renzodavid9 force-pushed the gcloud-decoupling-helper branch from b59e9b3 to 1755dfc Compare July 9, 2024 00:35
@renzodavid9 renzodavid9 marked this pull request as ready for review July 11, 2024 19:34
@renzodavid9 renzodavid9 requested a review from ericzzzzzzz July 11, 2024 19:34
@renzodavid9 renzodavid9 merged commit 2393d9d into GoogleContainerTools:main Jul 12, 2024
12 checks passed
idsulik pushed a commit to idsulik/skaffold that referenced this pull request Jul 19, 2024
renzodavid9 added a commit to renzodavid9/skaffold that referenced this pull request Jul 24, 2024
renzodavid9 added a commit that referenced this pull request Jul 24, 2024
* feat: default to ADC when `gcloud` cred helper is configured in docker/config.json when using docker go library (#9469)

* fix: send maxRetries property when it is specified by the user in a cloud run job manifest (#9475)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants