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

policy-app-project doesn't allow creating ConfigMap resources

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.12
    • GitOps ZTP
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      policy-app-project doesn't allow creating ConfigMap resources

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

      4.12

      How reproducible:

      100%

      Steps to Reproduce:

      1. Add a ConfigMap resource to policygentemplates kustomization.yaml that will be used for hub templating, e.g:
      
      http://registry.kni-qe-0.lab.eng.rdu2.redhat.com:3000/kni-qe/ztp-site-configs/src/sealusa2-4.11/policygentemplates/sriovdata-cm.yaml
      
      2. Create policies app
      

      Actual results:

      The ConfigMap resource doesn't get created because it's not allowed in https://github.com/openshift-kni/cnf-features-deploy/blob/master/ztp/gitops-subscriptions/argocd/deployment/policies-app-project.yaml#L15-L25

      Expected results:

      ConfigMap resource gets created without manual interventions as part of the ZTP process

      Additional info:

       

            angwang@redhat.com Angie Wang
            mcornea@redhat.com Marius Cornea
            Yang Liu Yang Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: