Hi, I want to install multiple Vault plugins with helm chart by specify them in the values.yaml. My question is what is the right way to do so? should I combine all to one values.yaml file or have separate yaml file for each? The later did not work for me and I wonder if I did something wrong,
server:
extraArgs: '-dev-plugin-dir=/usr/local/libexec/vault'
volumes:
- name: plugins
emptyDir: {}
volumeMounts:
- mountPath: /usr/local/libexec/vault
name: plugins
readOnly: false
extraInitContainers:
- name: kubesecrets-plugin
image: ghcr.io/test/vault-plugin-secrets-kubernetes-reader:latest
command: [/bin/sh, -ec]
args:
- cp /vault-plugin-secrets-kubernetes-reader /usr/local/libexec/vault/vault-plugin-secrets-kubernetes-reader
volumeMounts:
- name: plugins
mountPath: /usr/local/libexec/vault
readOnly: false
extraEnvironmentVars:
VAULT_API_ADDR: http://127.0.0.1:8200
VAULT_ADDR: http://127.0.0.1:8200
postStart:
- /bin/sh
- -ec
- >
sleep 20 &&
vault secrets enable -path=kubernetes-secrets vault-plugin-secrets-kubernetes-reader