Before initializing Vault, we must create a root token for it. We are going to store that token as a Kubernetes secret.
Using the template in
/root/vault-lab/resources/vault-secret/vault-secret.yaml, create a YAML for a Kubernetes Secret. The secret should be called called
vault-secrets. It should contain the key
token with a value of
my-vault-root-token. Use this YAML to add the secret to the Kubernetes.
Remember that secret values should be base64 encoded.