https://rancher.com/ logo
Title
m

miniature-midnight-96801

01/25/2023, 7:29 PM
Ok here's a fun issue: Fresh install of 2.7, and there is no bootstrap-secret.
Ahh found this which has done the trick:
kubectl -n cattle-system exec $(kubectl -n cattle-system get pods -l app=rancher | grep '1/1' | head -1 | awk '{ print $1 }') -- reset-password
Consider this channel rubberducked.
q

quaint-candle-18606

01/25/2023, 9:43 PM
🦆
b

brainy-whale-94197

01/26/2023, 11:47 AM
Did you also find a way to get default api secrets?
I am looking for a way to automate things further after installation, but first i need to login and generate api keys...:/
m

miniature-midnight-96801

01/27/2023, 9:46 PM
The last time I touched the Rancher API was 2.5, so I don't know if it's different now, but back then I just used the local admin credentials.