Vault is initialized before running vault operator init

Hi,

I tried to follow the tutorial at https://learn.hashicorp.com/tutorials/vault/kubernetes-minikube?in=vault/kubernetes

I’ve done this on my local machine before and wanted to reproduce the result. I reinstalled consul and vault by using helm charts provided in this tutorial. However, the vault containers were initialized right before I initialize them. I am new to HashiCorp Vault and hope that someone can help with this problem. Thank you.

Did you clean up the volumes before doing it again? If they are still present, the container could find old data (already initialized Vault, etc.) and use it.

1 Like

@Wolfsrudel Thank you for your reply.
Yes, I have tried to delete both Persistent Volume Claims and Persistent Volume that are associated with consul and started over again but still no luck. I am not sure if this is sufficient to clean up the volumes.