Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-55335

LoopbackClientConfig is required when creating apiserver

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.19.0
    • kube-apiserver
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          New apiserver requires having LoopbackClientConfig set in https://github.com/openshift/kubernetes/blob/a9c8061b1e4c2ac38c223fa6bf9c5c1bf8b01606/staging/src/k8s.io/apiserver/pkg/server/config.go#L770-L772
      However this function is used in library-go every time a new controller is created. As a result, we're required to create a new in-memory certificate every time we create a new controller (although its not required for a controller, only for apiserver).
      
      This requirement should be made optional or commented in our fork

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              Unassigned Unassigned
              vrutkovs@redhat.com Vadim Rutkovsky
              None
              None
              Ke Wang Ke Wang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: