Issues Integrating Rancher with Private AKS

Description: I am experiencing difficulties integrating my private AKS with Rancher. After multiple attempts, I noticed that the helm-operation-* pods fail to execute installation tasks, showing an error related to the missing rancher-webhook service. The helm-operation pod seems correctly associated with the objects in the cattle-system namespace. Evidence is provided below.

Environment Details:

  • Kubernetes Version: v1.28.5 (Private AKS)
  • Rancher Version: v2.7.6
  • Namespace: cattle-system
  • Symptoms: Error calling the Rancher webhook during installation operations.

helm-operation POD log:

Waiting for Kubernetes API to be available

  • POD info:

  • Log pod cattle-cluster-agent: