Open dortlii opened 8 months ago
Hi @dortlii, thanks for reporting the issue. I believe the issue is fixed in recent v1.12.0 version of gitops-operator with https://github.com/argoproj-labs/argocd-operator/pull/1140 . The backport of this fix is not yet released for gitops-operator v1.11.z.
Describe the bug The
argocd-server
pod shows a lot of errors like these:This is because the argocd-role
argocd-server
doesn't include the permissions to watch and listenapplicationsets
.Snippet from role yaml:
Role config of the
gitops-operator
withoutapplicationsets
(v1.11.0): https://github.com/redhat-developer/gitops-operator/blob/4803ae0f7e6abc7d9583ac56df4c18b1d8eead77/config/rbac/role.yaml#L192C1-L199C19Upstream ArgoCD role config with
applicationsets
(v2.9.5): https://github.com/argoproj/argo-cd/blob/f9436641a616d277ab1f98694e5ce4c986d4ea05/manifests/base/server/argocd-server-role.yaml#L23C1-L36C10Issue happens in OpenShift 4.13.17 with GitOps Operator v1.11.1. Applying
applicationsets
is working as in our usage.To Reproduce Steps to reproduce the behavior:
Expected behavior The logs of the pod should not contain the error message.
Screenshots No screenshot provided
Additional context ArgoCD CRD YAML: