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

4.12 backport: Multiple extra manifests in the same file are not applied correctly

    XMLWordPrintable

Details

    • Important
    • Agent Sprint 227
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A

    Description

      Description of problem:

      Custom manifest files can be placed in the /openshift folder so that they will be applied during cluster installation.
      Anyhow, if a file contains more than one manifests, all but the first are ignored.

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

       

      How reproducible:

      Always

      Steps to Reproduce:

      1.Create the following custom manifest file in the /openshift folder:
      
      ```
      apiVersion: v1
      kind: ConfigMap
      metadata:  
        name: agent-test  
        namespace: openshift-config
      data:  
        value: agent-test
      ---
      apiVersion: v1
      kind: ConfigMap
      metadata: 
      name: agent-test-2
      namespace: openshift-config
      data: 
        value: agent-test-2
      ```
      2. Create the agent ISO image and deploy a cluster
      

      Actual results:

      ConfigMap agent-test-2 does not exist in the openshift-config namespace

      Expected results:

      ConfigMap agent-test-2 must exist in the openshift-config namespace

      Additional info:

       

      Attachments

        Issue Links

          Activity

            People

              afasano@redhat.com Andrea Fasano
              afasano@redhat.com Andrea Fasano
              zhenying niu zhenying niu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: