argocd-course-issues-tracker
argocd-course-issues-tracker copied to clipboard
ch35.Demo Directory option
hi I am getting this error how to fix it ?state: failed to get cluster info for "https://kubernetes.default.svc": error synchronizing cache state : failed to sync cluster https://10.96.0.1:443: failed to load initial state of resource Service: services is forbidden: User "system:serviceaccount:argcd:argocd-application-controller" cannot list resource "services" in API group "" at the cluster scope;ComparisonError: Failed to load target state: failed to get cluster version for cluster "https://kubernetes.default.svc": failed to get cluster info for "https://kubernetes.default.svc": error synchronizing cache state : failed to sync cluster https://10.96.0.1:443: failed to load initial state of resource Service: services is forbidden: User "system:serviceaccount:argcd:argocd-application-controller" cannot list resource "services" in API group "" at the cluster scope how to fix this..i have created argocd-clusterrole.yaml and argocd-clusterrolebinding yaml but still getting error for sync.please help