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

kubectl --server-side --dry-run=server - wrong output for converting client side applied manifest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.12.z
    • oc
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Upstream issue: https://github.com/kubernetes/kubernetes/issues/125607

      When converting a client-side-applied manifest to a server side applied manifest --dry-run=server doesn't show the correct output.
      It still shows client-side-applied fields, which will be removed, when running without --dry-run=server.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      Reproducer  steps in upstream bug: https://github.com/kubernetes/kubernetes/issues/125607

       

      Actual results:

      When converting a client-side-applied manifest to a server side applied manifest --dry-run=server doesn't show the correct output.
      It still shows client-side-applied fields, which will be removed, when running without --dry-run=server.

      Expected results:

      running -server-side with dry-run=server will generate the same manifest as running without -dry-run=server{}

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

            aguclu@redhat.com Arda Guclu
            rhn-support-gio Ginilekshmi A O
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: