Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@koiuo
Copy link

@koiuo koiuo commented Dec 3, 2019

gcp auth-provider's access-token and expity fields may be not set in
kubeconfig if kubectl has never been used to access the cluster. If this
is the case skuber fails with an exception while trying to read
kubeconfig because it expects those field to always be present

This commit makes access-token and expiry fields optional for the gcp
auth-provider

Fixes #301

koiuo added 2 commits December 3, 2019 14:21
gcp auth-provider's access-token and expity fields may be not set in
kubeconfig if kubectl has never been used to access the cluster. If this
is the case skuber fails with an exception while trying to read
kubeconfig because it expects those field to always be present

This commit makes access-token and expiry fields optional for the gcp
auth-provider

Fixes #301
@koiuo
Copy link
Author

koiuo commented Dec 3, 2019

Closing in favor of #297

@koiuo koiuo closed this Dec 3, 2019
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.

access-token and expiry fields must be optional for gcp auth provider

1 participant