Skip to content

Hashicorp vault Installation

In order to install vault via helm add hashicorp helm repo using the following command

helm repo add hashicorp https://helm.releases.hashicorp.com

check for versions of hashicorp vault using the following command

helm search repo hashicorp/vault -l

Install the helm chart using the command

helm install vault hashicorp/vault

It uses default values.yaml file in the vault setup. In order to use our custom values we use the following override file.

server:
  logLevel: debug
  ingress:
    enabled: true
    annotations:
      cert-manager.io/cluster-issuer: ca-issuer
      kubernetes.io/ingress.class: nginx
      external-dns.alpha.kubernetes.io/hostname: kubevault.logpoint.com.np
    hosts:
      - host: kubevault.logpoint.com.np
    tls:
      - secretName: kubevault-tls
        hosts:
          - kubevault.logpoint.com.np

To override the default values in the values.yaml file execute the following command.

helm upgrade vault hashicorp/vault -f override-values.yaml

Viewing the histroy of the revisions

helm history vault

To get the values used in a specific revision

helm get values vault --revision 1