Skip to content

A configuration helm chart to setup Vault within Kubernetes using Bank Vaults Vault Operator. It will render any number of Vault custom resource definitions that the Bank Vault operator will use to install instances of Vault.

License

rljohnsn/bank-vault-config

Repository files navigation

What is this repo?

A configuration helm chart to setup Vault within Kubernetes using Bank Vaults Vault Operator. It will render any number of Vault custom resource definitions that the Bank Vault operator will use to install instances of Vault.

Sample Configuration

The provided examples demonstrate setting up Vault with the following characteristics

The chart data structure uses an array of Vault configuration blocks plus a default block. This allows for installing any number of distinct Vault instances.

To see configuration samples / references check the Bank Vault Operator repo

All defaults are overridable in the vaults array elements.

vaultOperator:
  defaults:
    apiVersion: "vault.banzaicloud.com/v1alpha1"
    bankVaultsImage: ghcr.io/bank-vaults/bank-vaults:latest
# Explicitly set namespace
# or let it pick it up from helm install
#    namespace: "vault"
    size: 1
    version: "1.15.4"
    istioEnabled: false
    serviceAccount: "vault-sa"
    serviceMonitorEnabled: false
    serviceRegistrationEnabled: false
    serviceType: ClusterIP
    statsdDisabled: true
    veleroEnabled: false
    vaultEnvsConfig:
      - name: POD_NAMESPACE
        valueFrom:
          fieldRef:
            fieldPath: metadata.namespace

Array of Vault installs

vaultOperator:
  vaults:
    - name: "vault01"
      size: 3
      version: "1.15.4"
      namespace: altvault
      caNamespaces:
        - "*"
    
    - name: "vault02"
      size: 1
      version: "1.14.4"
      namespace: "testvault

Networking

The Bank Vaults operator supports creating a single ingress. This chart supports that config in addtion there is the ability to create any number of native K8s Ingress objects and or Istio Virtual Services objects.

See ingress and istio sample files.

vaultOperator:
  networks:
    ingress:
      - name: vault-public
        labels: []
        annotations: []
        spec: {}
      - name: vault-internal
        labels: []
        annotations: []
        spec: {}
    vservice:
      - name: vault-public
        labels: []
        annotations: []
      - name: vault-internal
        labels: []
        annotations: []
        spec: {}

About

A configuration helm chart to setup Vault within Kubernetes using Bank Vaults Vault Operator. It will render any number of Vault custom resource definitions that the Bank Vault operator will use to install instances of Vault.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages