You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After the OpenShift GitOps operator was deployed on new OpenShift 4.12 clusters on AWS, I ran into permission errors when creating an application via Argo CD UI, and as such the creation failed.
To Reproduce
Steps to reproduce the behavior:
Create a new OpenShift 4.12 cluster on AWS.
Deploy OpenShift GitOps operator through the OpenShift console Operator Hub.
After the operator is deployed successfully, go to the Argo CD UI via the "CLuster Argo CD" link from the top of the console.
Log into the Argo CD UI with OpoenShift Log in.
Grant permission to access the Argo CD UI.
In the Argo CD UI, click "+ NEW APP" button and enter the following details for your new application in the form.
Directory Recurse: checked
The click "CREATE" and an error gets displayed (see the screenshot)and the operation failed.
Expected behavior
The application shall be created successfully without errors.
Screenshots
Additional context
As a workaround, run the following commands and then the application creation is done without issue. So such configuration should be added into the OpenShift GitOps configuration so that it works out-of-box.
oc adm groups new cluster-admins
oc adm groups add-users cluster-admins admin
The text was updated successfully, but these errors were encountered:
hi @wtam2018 I added the following label to my target namespace:
argocd.argoproj.io/managed-by=openshift-gitops
The error still happens in the Argo CD UI when I tried to create an application.
Describe the bug
After the OpenShift GitOps operator was deployed on new OpenShift 4.12 clusters on AWS, I ran into permission errors when creating an application via Argo CD UI, and as such the creation failed.
To Reproduce
Steps to reproduce the behavior:
spring-petclinic
default
Automatic
checked
https://github.com/siamaksade/openshift-gitops-getting-started
HEAD
app
https://kubernetes.default.svc
spring-petclinic
checked
The click "CREATE" and an error gets displayed (see the screenshot)and the operation failed.
Expected behavior
The application shall be created successfully without errors.
Screenshots
Additional context
As a workaround, run the following commands and then the application creation is done without issue. So such configuration should be added into the OpenShift GitOps configuration so that it works out-of-box.
oc adm groups new cluster-admins
oc adm groups add-users cluster-admins admin
The text was updated successfully, but these errors were encountered: