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
Hello everyone, I'm trying to connect an AKS cluster to the Argocd on GKE cluster, but I keep getting the error: "The server has asked for the client to provide credentials." I checked the sign-in logs on Azure and can see a successful login for the service principal.
Here’s what I’ve set up on the AKS side:
Created a service principal for the application with Contributor access to the AKS cluster.
Configured a federated identity credential, which appears to be working since ArgoCD is able to retrieve the token from Azure.
Created a k8s service account with admin privileges for argocd/application-controller.
On the ArgoCD cluster, I did the following:
Added the required annotations and labels to both argocd-server and argocd-application-controller (pod/deployment/SA)
Mounted the cluster secret with the following configuration:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone, I'm trying to connect an AKS cluster to the Argocd on GKE cluster, but I keep getting the error: "The server has asked for the client to provide credentials." I checked the sign-in logs on Azure and can see a successful login for the service principal.
Here’s what I’ve set up on the AKS side:
On the ArgoCD cluster, I did the following:
Any help would be greatly appreciated :)
Beta Was this translation helpful? Give feedback.
All reactions