Problem to deploy manifest with - 'localhost' string in chart

Hi
After connecting my EKS to Rancher and use Rancher kubeconfig , I try to deploy some helm charts
to mt cluster and failed with error:

403 Forbidden

403 Forbidden

(post configmaps) helm.go:84: [debug] 403 Forbidden

After I doing some analyzing - I found out the one of my configmaps include the string: localhost
that prevent me to deploy and raise this error.
After changing the ‘loclhost’ to another string it works…
Any idea what causes this issue?

Thx