<p>I followed this tutorial for deploying vault into a minikube cluster: <a href="https://learn.hashicorp.com/tutorials/vault/kubernetes-minikube?in=vault/kubernetes" rel="nofollow noreferrer">https://learn.hashicorp.com/tutorials/vault/kubernetes-minikube?in=vault/kubernetes</a>.</p>
<p>I don't understand, however, how this is reproducible. These seem like a lot of manual steps. Is there a way to easily deploy these pods again if I destroy them? Would I need to script this or can I somehow get the consul and vault pods, output them as yaml and use that to recreate them?</p>

<p>I found this blog post on hashicorp's site which seems to address configuration once you are up and running: <a href="https://www.hashicorp.com/blog/codifying-vault-policies-and-configuration" rel="nofollow noreferrer">https://www.hashicorp.com/blog/codifying-vault-policies-and-configuration</a>.</p>
<p>There's also this: <a href="https://kubevault.com/docs/v2021.08.02/welcome/" rel="nofollow noreferrer">https://kubevault.com/docs/v2021.08.02/welcome/</a></p>
<p>Setting it up before the API is running seems to require either manual steps or a pretty simple shell script.</p>
