-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Follow-up for ThirdPartyResources examples #37
Conversation
|
||
// Only required to authenticate against GKE clusters | ||
_ "k8s.io/client-go/1.5/plugin/pkg/client/auth/gcp" | ||
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp" | ||
) | ||
|
||
var ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also get rid of this var? I think you don't need it to be global.
// The code below is used only to work around a known problem with third-party | ||
// resources and ugorji. If/when these issues are resolved, the code below | ||
// should no longer be required. | ||
// Some of the code below is used only to work around a known problem with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugorji said the behavior is expected and I couldn't find any better work around, so the comment needs to be revised. How about this:
The code below is used only to work around a known problem with third-party resources and the ugorji codec (see: https://github.com/ugorji/go/issues/178). You will not need the workaround after the upstream stop using ugorji codec (tracking issue: https://github.com/kubernetes/kubernetes/issues/36120).
Sorry for keeping back and forth on this.
The issues are already fixed. Closing. Thanks, @wfarr. |
Follow-up to #29:
I believe this should address all the feedback offered in #29
This change is