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

allow use of metadata server for gcs authentication inside GCP #746

Merged
merged 1 commit into from
Dec 28, 2022

Conversation

chrisSawarzynski
Copy link
Contributor

Currently helmsman requires certificate provided via GOOGLE_APPLICATION_CREDENTIALS or GCLOUD_CREDENTIALS environment variable to read charts from GCP.

When running inside GCP helmsman can use metadata server to authenticate as Service Account.

This change prevents helmsman from failing when no env variables are provided, but metadata server is available.

internal/gcs/gcs.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@luisdavim luisdavim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, LGMT just left a minor comment in the code.
Thanks

Copy link
Collaborator

@luisdavim luisdavim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

@luisdavim luisdavim merged commit 228a581 into Praqma:master Dec 28, 2022
mkubaczyk pushed a commit that referenced this pull request Aug 18, 2023
Co-authored-by: Krzysztof Sawarzyński <ksawarzynski@egnyte.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants