Repository navigation
fix(kube): Fixes missing API versions - #6897
Conversation
In several of the job checks and other conversions we were using legacyscheme. I don't know why it was working before, but I am guessing something changed between k8s 1.15 and 1.16. To fix I changed the references to use the default scheme in client-go Signed-off-by: Taylor Thomas <[email protected]>
|
I am going to see if anyone on the issue can double check this works as well. I tested this with a handful of different charts to make sure it didn't break something else and I tested charts with batch/v1 |
adamreese
left a comment
There was a problem hiding this comment.
scheme.Scheme.scheme.scheme
|
I am going to leave the PR open until my morning so people across timezones can give the PR a whirl as well. Really trying to avoid any other regressions from hidden schema stuff |
bacongobbler
left a comment
There was a problem hiding this comment.
scheme.Scheme().Scheme.SCHEME ? scheme.Scheme : scheme
|
In several of the job checks and other conversions we were using legacyscheme.
I don't know why it was working before, but I am guessing something changed
between k8s 1.15 and 1.16 with which types were registered. To fix I changed the references to use the default scheme in client-go
Closes #6894