mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[incubator/vault] Add ability to define sidecar containers (#5974)
* add option to add sidecar containers * bump chart * fix position of side container section * limit to one sidecar and associated secrets * update param list * fix circle build * keep extracontainers and extravolumes generic * update param table
This commit is contained in:
committed by
k8s-ci-robot
parent
cb9ae834cf
commit
68aa69cc75
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: A Helm chart for Vault, a tool for managing secrets
|
||||
name: vault
|
||||
version: 0.11.0
|
||||
version: 0.12.0
|
||||
appVersion: 0.10.1
|
||||
home: https://www.vaultproject.io/
|
||||
icon: https://www.vaultproject.io/assets/images/mega-nav/logo-vault-0f83e3d2.svg
|
||||
|
||||
@@ -54,6 +54,8 @@ The following table lists the configurable parameters of the Vault chart and the
|
||||
| `image.tag` | Container image tag to deploy | `0.10.1` |
|
||||
| `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.extraVolumes` | Additional volumes to the controller pod | `{}` |
|
||||
| `vault.customSecrets` | Custom secrets available to Vault | `[]` |
|
||||
| `vault.config` | Vault configuration | No default backend |
|
||||
| `replicaCount` | k8s replicas | `3` |
|
||||
|
||||
@@ -78,6 +78,9 @@ spec:
|
||||
- name: {{ .secretName }}
|
||||
mountPath: {{ .mountPath }}
|
||||
{{- end }}
|
||||
{{- if .Values.vault.extraContainers }}
|
||||
{{ toYaml .Values.vault.extraContainers | indent 6}}
|
||||
{{- end }}
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 10 }}
|
||||
{{- if .Values.affinity }}
|
||||
@@ -125,6 +128,9 @@ spec:
|
||||
secret:
|
||||
secretName: {{ .secretName }}
|
||||
{{- end }}
|
||||
{{- if .Values.vault.extraVolumes }}
|
||||
{{ toYaml .Values.vault.extraVolumes | indent 8}}
|
||||
{{- end }}
|
||||
{{- if .Values.consulAgent.join }}
|
||||
- name: consul-data
|
||||
emptyDir: {}
|
||||
|
||||
@@ -24,7 +24,6 @@ consulAgent:
|
||||
#
|
||||
# Optionally override the agent's http port
|
||||
HttpPort: 8500
|
||||
|
||||
service:
|
||||
name: vault
|
||||
type: ClusterIP
|
||||
@@ -114,6 +113,18 @@ vault:
|
||||
extraEnv: {}
|
||||
# - name: VAULT_API_ADDR
|
||||
# value: "https://vault.internal.domain.name:8200"
|
||||
extraContainers: {}
|
||||
## Additional containers to be added to the Vault pod
|
||||
# - name: vault-sidecar
|
||||
# image: vault-sidecar:latest
|
||||
# volumeMounts:
|
||||
# - name: some-mount
|
||||
# mountPath: /some/path
|
||||
extraVolumes: {}
|
||||
## Additional volumes to the vault pod.
|
||||
# - name: extra-volume
|
||||
# secret:
|
||||
# secretName: some-secret
|
||||
readiness:
|
||||
readyIfSealed: false
|
||||
readyIfStandby: true
|
||||
|
||||
Reference in New Issue
Block a user