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: support CLOUDSDK_CONFIG env var #54

Merged
merged 2 commits into from
Jun 30, 2022
Merged

Conversation

gullitmiranda
Copy link
Contributor

Add support to use the env CLOUDSDK_CONFIG to find .default-cloud-sdk-components file to have the same behaviour as gcloud SDK.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Usage examples

export CLOUDSDK_CONFIG="$HOME/.config/gcloud"
echo 'kubectl' >> $CLOUDSDK_CONFIG/.default-cloud-sdk-components
asdf plugin add gcloud
asdf install gcloud latest

Checklist:

  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

@gullitmiranda gullitmiranda changed the title Adding support to CLOUDSDK_CONFIG feat: Adding support to CLOUDSDK_CONFIG Feb 5, 2022
README.md Show resolved Hide resolved
jthegedus
jthegedus previously approved these changes Jun 30, 2022
@jthegedus
Copy link
Owner

Thanks

@jthegedus jthegedus changed the title feat: Adding support to CLOUDSDK_CONFIG feat: support CLOUDSDK_CONFIG env var Jun 30, 2022
@jthegedus jthegedus merged commit e1896e1 into jthegedus:main Jun 30, 2022
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

2 participants