Skip to content

Refactor server version negotiation and client cache to consolidate with upstream #5216

Closed

Description

@ironcladlou

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.

Activity

  1. ironcladlou commented on Oct 19, 2015

    @ironcladlou
    ContributorAuthor

    cc @liggitt @deads2k to provide any further insights into what needs done and to assess our risk is in continuing with the current implementation.

  2. liggitt commented on Dec 1, 2015

    @liggitt
    Contributor

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions