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

Multiple extra manifests in the same file are not applied correctly

XMLWordPrintable

    • Important
    • None
    • Agent Sprint 226, Agent Sprint 227
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required

      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:

       

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

                Created:
                Updated:
                Resolved: