Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Add the HashiCorp Helm repository.

    Code Block
    languagebash
    $ helm repo add hashicorp https://helm.releases.hashicorp.com
    "hashicorp" has been added to your repositories
  2. Update all the repositories to ensure helm is aware of the latest versions.

    Code Block
    languagebash
    $ helm repo update hashicorp
    Hang tight while we grab the latest from your chart repositories...
    ...Successfully got an update from the "hashicorp" chart repository
    Update Complete. ⎈Happy Helming!⎈
  3. Install the latest version of the Vault server running in development mode.
    Development mode: Running a Vault server in development is automatically initialized and unsealed. This is ideal in a learning environment but NOT recommended for a production environment.

    Code Block
    languagebash
    $ helm install vault hashicorp/vault --set "server.dev.enabled=true"
    NAME: vault
    ## ...

    The Vault pod and Vault Agent Injector pod are deployed in the default namespace.

  4. Display all the pods in the default namespace.

    Code Block
    languagebash
    $ kubectl get pods
    NAME                                    READY   STATUS    RESTARTS   AGE
    vault-0                                 1/1     Running   0          80s
    vault-agent-injector-5945fb98b5-tpglz   1/1     Running   0          80s

    The vault-0 pod runs a Vault server in development mode. The vault-agent-injector pod performs the injection based on the annotations present or patched on a deployment.
    Development mode: Running a Vault server in development is automatically initialized and unsealed. This is ideal in a learning environment but NOT recommended for a production environment.

  5. Wait until the vault-0 pod and vault-agent-injector pod are running and ready (1/1).

...