Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-25144

Console does not show two applications deployed by a matrix geneartor AppSet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • MCE 2.10.0, ACM 2.15.0
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • ACM Console Train 33 - 1
    • Moderate
    • None

      Description of problem:

      When creating an appset with matrix generator, console does not show two applications deployed by the AppSet.

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

      DOWNSTREAM-2025-10-06-01-15-58

      How reproducible:

      Always

      Steps to Reproduce:

      1.  Create a matrix generator applicationset deploying appsets in 2 different namespaces
      2. Check topology

      Actual results:

      Only shows one of the application

      Expected results:

      Should show both applications similar to multi-repo subscription applications

      Additional info:

      piVersion: argoproj.io/v1alpha1
      kind: ApplicationSet
      metadata:
        name: app-matrix-test-1
        namespace: openshift-gitops
      spec:
        generators:
          - matrix:
              generators:
                - clusterDecisionResource:
                    configMapRef: acm-placement
                    labelSelector:
                      matchLabels:
                        cluster.open-cluster-management.io/placement: app-matrix-test-1-placement
                    requeueAfterSeconds: 180
                - git:
                    repoURL: https://github.com/argoproj/argo-cd.git
                    revision: HEAD
                    directories:
                      - path: applicationset/examples/matrix/cluster-addons/*
        template:
          metadata:
            name: app-matrix-test-1-{{name}}-{{path.basename}}
            annotations:
              apps.open-cluster-management.io/ocm-managed-cluster: "{{name}}"
              apps.open-cluster-management.io/ocm-managed-cluster-app-namespace: openshift-gitops
              argocd.argoproj.io/skip-reconcile: "true"
            labels:
              velero.io/exclude-from-backup: "true"
              apps.open-cluster-management.io/pull-to-ocm-managed-cluster: "true"
          spec:
            project: default
            sources:
              - path: helloworld
                repoURL: https://github.com/fxiang1/app-samples
                targetRevision: main
            destination:
              namespace: "{{path.basename}}"
              server: "{{server}}"
            syncPolicy:
              automated:
                selfHeal: true
                prune: true
              syncOptions:
                - CreateNamespace=true
                - PruneLast=true
      ---
      apiVersion: cluster.open-cluster-management.io/v1beta1
      kind: Placement
      metadata:
        name: app-matrix-test-1-placement
        namespace: openshift-gitops
      spec:
        numberOfClusters: 1
        predicates:
          - requiredClusterSelector:
              labelSelector:
                matchExpressions:
                  - key: name
                    operator: NotIn
                    values:
                      - local-cluster
        clusterSets:
          - auto-gitops-cluster-set 

              jswanke@redhat.com John Swanke
              rh-ee-almng Almen Ng
              Almen Ng Almen Ng
              ACM QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: