How to sync resources of API group "monitoring.coreos.com" to ArgoCD in OpenShift 4.x
Issue
-
ArgoCD sync failed in API group
monitoring.coreos.comresource, such as servicemonitor -
I got the following error message:
servicemonitors.monitoring.coreos.com "XXX" is forbidden: User "system:serviceaccount:openshift-gitops:openshift-gitops-argocd-application-controller" cannot patch resource "servicemonitors" in API group "monitoring.coreos.com" in the namespace "XXX"
- How to sync resources of API group
monitoring.coreos.comto ArgoCD
Environment
- Red Hat OpenShift Platform
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.