https://rancher.com/ logo
Title
a

able-engineer-22050

10/05/2022, 6:06 PM
Hi, I have a couple of rke2 clusters deployed from Rancher not created with authorized cluster endpoint enabled. Can I somehow enable this after creation? I found a stackoverflow question regarding this (https://stackoverflow.com/questions/72778753/how-to-add-an-authorised-cluster-endpoint-to-a-rke2-cluster-created-by-rancher) Is that to be performed only on one of the masters (I mean the webhook definition) and it is automatically synced across all masters? Is it /var/lib/rancher/rke2 where the webhook yaml is to be created or rather the server/manifests under it?
I found what was the problem regarding the SA token authentication. I forgot to base64 decode the secret so my immediate problem is solved, but I'm still curious how this authorized cluster endpoint should work.