This message was deleted.
# rke2
a
This message was deleted.
c
is this a rancher-provisioned cluster, or imported?
r
It's a rancher-provisioned rke2 cluster
c
I believe it should add the appropriate config to the downstream cluster when you do that, but honestly I’m not sure since this is more of a Rancher question than RKE2.
what version of rancher are you on?
r
v1.26.7
c
rancher, not rke2
r
Oh my bad, rancher version is v2.7.6
I looked at the kube-apiserver logs and this is the actual error that shows there "webhook.go:154] Failed to make webhook authenticator request: the server has asked for the client to provide credentials", "authentication.go:70] "Unable to authenticate the request" err="[invalid bearer token, the server has asked for the client to provide credentials]"
I notice that there's one token being used for both context and the token has a scope not sure if that could be the issue
c
there’s supposed to be a webhook and auth token webhook configuration injected into the downstream cluster, but I’m not sure if that works properly if you enable it after the fact.
r
I looked at the logs of kube-api-auth-ls79h and it's showing this error: level=error msg="clusterauthtokens.cluster.cattle.io \"cattle-system/kubeconfig-u-xxxx" not found. When I check though I can see the token is present, and when I use the regular context I don't get that error it's only when I use the fqdn context the error occurs.