Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-8022

[Doc-Bug] Incorrect Wild Card Example on Doc for NamespaceManagement in ArgoCD CR

XMLWordPrintable

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • GitOps Scarlet Sprint 24

      I see this was the Story ticket created for this Doc but in the step to `configure ArgoCD CR` has a small correction for wildcard example. 

      In doc, it has example `dev-/*` which will allow all namespaces created with `dev-` but it fails with below error 

      spec:
        namespaceManagement:
          - allowManagedBy: true
            name: dev-/\*
      namespace management errors: Namespace dev-demo is not permitted for management by ArgoCD instance openshift-gitops based on NamespaceManagement rules 

      Need to use it like below to work:

      spec:
        namespaceManagement:
          - allowManagedBy: true
            name: dev-* 

      I see the Story ticket has docs link which has a draft of doc and there it's correctly mentioned but on doc it's not.

      You can use simple glob patterns for .spec.namespaceManagement.name, such as * or tenant-*, to allow multiple namespaces.  

       

       

              jgwest Jonathan West
              rhn-support-sburhade Satyam Burhade
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: