noseka1 / multicluster-management-rhacm-argocd

Example of managing multiple OpenShift/Kubernetes clusters using RHACM and Argo CD
Apache License 2.0
30 stars 23 forks source link

Error: This application has no matched subscription #1

Open mbaldessari opened 2 years ago

mbaldessari commented 2 years ago

Hi Ales (and Happy New Year),

pardon the potentially silly question, but after running "oc apply -k bootstrap/external-secrets" I get the following in the ACM console under Applications:

Error: This application has no matched subscription.

The full YAML is:

apiVersion: app.k8s.io/v1beta1
kind: Application
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: >
      {"apiVersion":"app.k8s.io/v1beta1","kind":"Application","metadata":{"annotations":{},"name":"external-secrets","namespace":"external-secrets"},"spec":{}}
    open-cluster-management.io/user-group: c3lzdGVtOm1hc3RlcnMsc3lzdGVtOmF1dGhlbnRpY2F0ZWQ=
    open-cluster-management.io/user-identity: c3lzdGVtOmFkbWlu
  creationTimestamp: '2022-01-03T10:28:55Z'
  generation: 1
  managedFields:
    - apiVersion: app.k8s.io/v1beta1
      fieldsType: FieldsV1
      fieldsV1:
        f:metadata:
          f:annotations:
            .: {}
            f:kubectl.kubernetes.io/last-applied-configuration: {}
        f:spec: {}
      manager: kubectl-client-side-apply
      operation: Update
      time: '2022-01-03T10:28:55Z'
  name: external-secrets
  namespace: external-secrets
  resourceVersion: '295226'
  uid: 389d7951-2382-4509-b856-e9eb8fbe7918
spec: {}

Am I doing something wrong or are there some assumptions that my env is missing? (4.8.25 is my OCP version and 2.3.5 is the ACM version)

mbaldessari commented 2 years ago

From initial testing, this seems to work on OCP 4.7 + RHACM 2.2. So seems like a change in newer ACM/OCP is the culprit here