You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refactor server version negotiation and client cache to consolidate with upstream #5216
Origin client/server version negotiation was introduced in #4992 to support v1beta3 removal. The code to handle negotiation and client caching is only very partially shared with upstream, and does some inefficient things with the config objects to work around the upstream code's lack of pluggability.
This PR is to track requirements for refactoring origin and/or kube in whatever ways necessary to remove duplication and efficiently share the client caching and negotiation logic with upstream.
Also, our factory.ClientConfig() returns a config negotiated against the kubernetes API. We use that in several commands (edit, env, export, etc), assuming the negotiated version will also work against the OpenShift API
Activity
ironcladlou commentedon Oct 19, 2015
cc @liggitt @deads2k to provide any further insights into what needs done and to assess our risk is in continuing with the current implementation.
liggitt commentedon Dec 1, 2015
Also, our factory.ClientConfig() returns a config negotiated against the kubernetes API. We use that in several commands (edit, env, export, etc), assuming the negotiated version will also work against the OpenShift API