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

oc debug should default to kubectl.kubernetes.io/default-container value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Minor Minor
    • None
    • 4.13
    • oc
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • No
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      oc debug should default to kubectl.kubernetes.io/default-container value

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

       

      How reproducible:

       

      Steps to Reproduce:

      Actual results:

      oc debug defaults to the first container in the pod 

      Expected results:

      oc debug should act like oc exec, and use kubectl.kubernetes.io/default-container if set

      Additional info:

      https://github.com/openshift/oc/issues/1531

              aguclu@redhat.com Arda Guclu
              holzman Burt Holzman (Inactive)
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: