-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
8
-
False
-
None
-
False
-
-
8
-
GITOPS Sprint 225, GITOPS Sprint 226, GITOPS Sprint 227
As a user of OpenShift GitOps, I want to be able to leverage the new Applications in any namespaces feature coming in Gitops 1.7.
For this feature to work with the Operator, the following changes must be made to the workload:
- The application-controller and the argocd-server have a new command line argument, --application-namespaces, which defines the globally allowed namespaces for Application resources. This must be exposed by the Operand.
- The argocd-server needs Kubernetes-level permissions for Application resources in these namespaces. The required permissions are GET, LIST, WATCH, PATCH, UPDATE and DELETE. For this, the Operator should install Roles in these namespaces, and bind them to the argocd-server ServiceAccount in the installation namespace.