how to get fresh installation?
-
How do you completely delete fusionAuth in order to get a fresh installation? I have deleted the helm charts but when I redeploy all my previous history is still intact. So far the only way I have found to get a clean slate is to delete my kubernetes cluster and reinstall, which is time consuming.
-
Hiya @shaunladd.
When I need a fresh install locally, I stop FusionAuth and delete the database and the database user. Then I restart FusionAuth and visit the FusionAuth app. This starts up maintenance mode which reinstalls everything. I'm not super familiar with running FusionAuth in k8s, but I think you could do the same thing there.
If you want to maintain some configuration between the installations, you may want to write a base configuration Kickstart file. More details here: https://fusionauth.io/docs/v1/tech/installation-guide/kickstart/
-
Thanks @dan. We actually do have a kickstart file in place in our Helm chart but in the case that we want to start fresh, I assumed that deleting our Helm chart which includes our Postgresql DB would do just that, but that assumption is incorrect. So far the only way I have found to start fresh is to delete the EKS cluster and rebuild from the ground up.
-
Sorry, no kub expert here. I'm not sure how to teardown just the database, but I assume you could write a script to connect to the backing database and drop the tables/schema, etc. That might be quicker than dropping the entire cluster.
If you figure out a better way, please share!