mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[incubator/vault] allow extra init containers to be added (#9249)
* allow extra init containers to be added Signed-off-by: Michael Raimondi <mike@mikeraimondi.com> * fix extraInitContainers default to be `{}` Signed-off-by: Paul Czarkowski <username.taken@gmail.com> * document default of extraInitContainers to be `{}` Signed-off-by: Paul Czarkowski <username.taken@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
a37e4432b5
commit
0ee4fc6f21
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: A Helm chart for Vault, a tool for managing secrets
|
||||
name: vault
|
||||
version: 0.14.9
|
||||
version: 0.14.10
|
||||
appVersion: 1.0.1
|
||||
home: https://www.vaultproject.io/
|
||||
icon: https://www.vaultproject.io/assets/images/mega-nav/logo-vault-0f83e3d2.svg
|
||||
|
||||
@@ -55,6 +55,7 @@ The following table lists the configurable parameters of the Vault chart and the
|
||||
| `vault.dev` | Use Vault in dev mode | true (set to false in production) |
|
||||
| `vault.extraEnv` | Extra env vars for Vault pods | `{}` |
|
||||
| `vault.extraContainers` | Sidecar containers to add to the vault pod | `{}` |
|
||||
| `vault.extraInitContainers` | Init containers to be added to the vault pod | `{}` |
|
||||
| `vault.extraVolumes` | Additional volumes to the controller pod | `{}` |
|
||||
| `vault.customSecrets` | Custom secrets available to Vault | `[]` |
|
||||
| `vault.config` | Vault configuration | No default backend |
|
||||
|
||||
@@ -29,6 +29,10 @@ spec:
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.vault.extraInitContainers }}
|
||||
initContainers:
|
||||
{{ tpl .Values.vault.extraInitContainers . | indent 6 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"
|
||||
|
||||
@@ -128,6 +128,11 @@ vault:
|
||||
# - name: some-mount
|
||||
# mountPath: /some/path
|
||||
extraVolumes: {}
|
||||
extraInitContainers: {}
|
||||
## Init containers to be added
|
||||
# - name: do-something
|
||||
# image: busybox
|
||||
# command: ['do', 'something']
|
||||
# Log level
|
||||
# https://www.vaultproject.io/docs/commands/server.html#log-level
|
||||
logLevel: "info"
|
||||
|
||||
Reference in New Issue
Block a user