openshift-gitops-getting-started
openshift-gitops-getting-started copied to clipboard
Service account for spring petclinic is wrong so app doesn't sync properly
By default the app doesn't sync due to access control. I needed to manually update the spring-petclinic/spring-petclinic-role-binding so that the ServiceAccount name was "openshift-gitops-argocd-application-controller". The version in this git repo 1.1 is the old naming strategy of "argocd-cluster-argocd-application-controller"
Now my app syncs (but my cluster config is out of sync.)
Thank yo so much. Was pulling my hair as I didn't see this issue until I ran oc -n openshift-gitops describe application/spring-petclinic
. I have edited the rolebinding and it's working now.