https://rancher.com/ logo
Title
w

wonderful-rain-13345

03/23/2023, 1:19 AM
i get an error
bootstrap data already found and encrypted with different token
c

creamy-pencil-82913

03/23/2023, 1:48 AM
You can restore it just by pointing at the same DB, but you do need the token in order to use it.
w

wonderful-rain-13345

03/23/2023, 2:12 AM
yeah lost tokens
solution was to set deleted column for
/bootstrap/*
kine db entry to 1.
Restarted k3s and it'll regenerate the token
is there something i'm missing?
can i pull the key out of the db?
c

creamy-pencil-82913

03/23/2023, 7:40 AM
No, you cannot. The CA certificates and service account tokens and secrets encryption configuration (if enabled) are all encrypted with the token and will all be lost if you delete that key.
New ones will be generated but you might see stuff fail to come up property
If you're basically starting over with no secrets encryption and no existing nodes or pods it's probably ok.
w

wonderful-rain-13345

03/23/2023, 11:28 AM
Ok yeah partially up
:(
Thanks