https://rancher.com/ logo
#general
Title
# general
a

adamant-kite-43734

01/25/2023, 7:29 PM
This message was deleted.
m

miniature-midnight-96801

01/25/2023, 7:34 PM
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.
2 Views