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 Hashicorp Vault server running in development mode.
    Development mode: Running a Hashicorp 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 Hashicorp Vaultvault hashicorp/Hashicorp Vault --set "server.dev.enabled=true"
    
    NAME: Hashicorp Vault
    ## ...

    The Hashicorp Vault pod and Hashicorp 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
    Hashicorp Vault-0                                 1/1     Running   0          80s
    Hashicorp Vault-agent-injector-5945fb98b5-tpglz   1/1     Running   0          80s

    The Hashicorp Vault-0 pod runs a Hashicorp Vault server in development mode. The Hashicorp Vault-agent-injector pod performs the injection based on the annotations present or patched on a deployment.

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

...