2018-09-28 20:45:58 +00:00
|
|
|
# Available parameters and their default values for the Vault chart.
|
2018-08-18 21:15:37 +00:00
|
|
|
|
|
|
|
# Server, when enabled, configures a server cluster to run. This should
|
2018-09-28 20:45:58 +00:00
|
|
|
# be disabled if you plan on connecting to a Vault cluster external to
|
2018-08-18 21:15:37 +00:00
|
|
|
# the Kube cluster.
|
|
|
|
|
2018-09-02 23:19:11 +00:00
|
|
|
global:
|
|
|
|
# enabled is the master enabled switch. Setting this to true or false
|
|
|
|
# will enable or disable all the components within this chart by default.
|
|
|
|
# Each component can be overridden using the component-specific "enabled"
|
|
|
|
# value.
|
|
|
|
enabled: true
|
|
|
|
|
2018-09-28 20:45:58 +00:00
|
|
|
# Domain to register the Vault DNS server to listen for.
|
2018-10-29 15:36:53 +00:00
|
|
|
# TODO: verify for vault (don't think it's needed)
|
2018-09-28 20:45:58 +00:00
|
|
|
domain: vault
|
2018-08-18 21:15:37 +00:00
|
|
|
|
2018-09-28 20:45:58 +00:00
|
|
|
# Image is the name (and tag) of the Vault Docker image for clients and
|
2018-09-05 14:45:54 +00:00
|
|
|
# servers below. This can be overridden per component.
|
2018-11-16 21:52:25 +00:00
|
|
|
#image: "vault:0.11.1"
|
|
|
|
image: "vault:1.0.0-beta2"
|
2018-09-08 14:52:31 +00:00
|
|
|
|
2018-08-18 21:15:37 +00:00
|
|
|
server:
|
2018-11-16 22:46:29 +00:00
|
|
|
enabled: false
|
2018-09-05 14:45:54 +00:00
|
|
|
image: null
|
2018-10-05 21:11:45 +00:00
|
|
|
replicas: 1
|
2018-09-22 16:57:36 +00:00
|
|
|
|
|
|
|
# storage and storageClass are the settings for configuring stateful
|
|
|
|
# storage for the server pods. storage should be set to the disk size of
|
|
|
|
# the attached volume. storageClass is the class of storage which defaults
|
|
|
|
# to null (the Kube cluster will pick the default).
|
2018-08-18 21:15:37 +00:00
|
|
|
storage: 10Gi
|
2018-09-22 16:57:36 +00:00
|
|
|
storageClass: null
|
2018-08-18 21:15:37 +00:00
|
|
|
|
|
|
|
# Resource requests, limits, etc. for the server cluster placement. This
|
|
|
|
# should map directly to the value of the resources field for a PodSpec.
|
|
|
|
# By default no direct resource request is made.
|
|
|
|
resources: {}
|
|
|
|
|
2018-11-19 20:49:30 +00:00
|
|
|
# config is a raw string of default configuration when using a Stateful
|
2018-10-05 21:34:07 +00:00
|
|
|
# deployment. Default is to use a PersistentVolumeClaim mounted at /vault/data
|
|
|
|
# and store data there. This is only used when using a Replica count of 1, and
|
|
|
|
# using a stateful set
|
|
|
|
# This should be HCL
|
2018-11-19 20:49:30 +00:00
|
|
|
config: |
|
2018-10-02 21:14:57 +00:00
|
|
|
ui = true
|
|
|
|
listener "tcp" {
|
|
|
|
tls_disable = 1
|
|
|
|
address = "0.0.0.0:8200"
|
|
|
|
}
|
|
|
|
storage "file" {
|
2018-10-05 21:11:45 +00:00
|
|
|
path = "/vault/data"
|
2018-10-02 21:14:57 +00:00
|
|
|
}
|
2018-08-18 21:15:37 +00:00
|
|
|
|
2018-09-08 15:28:13 +00:00
|
|
|
# extraVolumes is a list of extra volumes to mount. These will be exposed
|
2018-09-28 20:45:58 +00:00
|
|
|
# to Vault in the path `/vault/userconfig/<name>/`. The value below is
|
2018-09-08 15:28:13 +00:00
|
|
|
# an array of objects, examples are shown below.
|
|
|
|
extraVolumes: []
|
|
|
|
# - type: secret (or "configMap")
|
|
|
|
# name: my-secret
|
2018-09-28 20:45:58 +00:00
|
|
|
# load: false # if true, will add to `-config-dir` to load by Vault
|
2018-09-08 15:35:07 +00:00
|
|
|
|
2018-10-05 21:34:07 +00:00
|
|
|
consulHA:
|
|
|
|
enabled: false
|
|
|
|
image: null
|
|
|
|
replicas: 3
|
|
|
|
|
|
|
|
# storage and storageClass are the settings for configuring stateful
|
|
|
|
# storage for the server pods. storage should be set to the disk size of
|
|
|
|
# the attached volume. storageClass is the class of storage which defaults
|
|
|
|
# to null (the Kube cluster will pick the default).
|
|
|
|
storage: 2Gi
|
|
|
|
storageClass: null
|
|
|
|
|
|
|
|
# Resource requests, limits, etc. for the server cluster placement. This
|
|
|
|
# should map directly to the value of the resources field for a PodSpec.
|
|
|
|
# By default no direct resource request is made.
|
|
|
|
resources: {}
|
|
|
|
|
2018-11-19 20:49:30 +00:00
|
|
|
# config is a raw string of default configuration when using a Stateful
|
2018-10-05 21:34:07 +00:00
|
|
|
# deployment. Default is to use a PersistentVolumeClaim mounted at /vault/data
|
|
|
|
# and store data there. This is only used when using a Replica count of 1, and
|
|
|
|
# using a stateful set
|
|
|
|
# This should be HCL
|
2018-11-19 20:49:30 +00:00
|
|
|
config: |
|
2018-10-05 21:34:07 +00:00
|
|
|
ui = true
|
|
|
|
listener "tcp" {
|
|
|
|
tls_disable = 1
|
|
|
|
address = "0.0.0.0:8200"
|
2018-10-08 21:35:20 +00:00
|
|
|
cluster_address = "POD_IP:8201"
|
2018-10-05 21:34:07 +00:00
|
|
|
}
|
2018-10-08 21:35:20 +00:00
|
|
|
|
2018-10-05 21:34:07 +00:00
|
|
|
storage "consul" {
|
2018-10-08 21:35:20 +00:00
|
|
|
path = "vault"
|
2018-10-05 21:34:07 +00:00
|
|
|
address = "HOST_IP:8500"
|
|
|
|
}
|
|
|
|
|
2018-09-12 00:53:02 +00:00
|
|
|
# Configuration for DNS configuration within the Kubernetes cluster.
|
|
|
|
# This creates a service that routes to all agents (client or server)
|
|
|
|
# for serving DNS requests. This DOES NOT automatically configure kube-dns
|
|
|
|
# today, so you must still manually configure a `stubDomain` with kube-dns
|
|
|
|
# for this to have any effect:
|
|
|
|
# https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/#configure-stub-domain-and-upstream-dns-servers
|
2018-10-29 15:36:53 +00:00
|
|
|
# TODO: verify for vault (don't think it's needed)
|
2018-09-12 00:53:02 +00:00
|
|
|
dns:
|
|
|
|
enabled: "-"
|
|
|
|
|
|
|
|
ui:
|
2018-09-28 20:45:58 +00:00
|
|
|
# True if you want to enable the Vault UI. The UI will run only
|
2018-09-12 00:53:02 +00:00
|
|
|
# on the server nodes. This makes UI access via the service below (if
|
2018-09-28 20:45:58 +00:00
|
|
|
# enabled) predictable rather than "any node" if you're running Vault
|
2018-09-12 00:53:02 +00:00
|
|
|
# clients as well.
|
|
|
|
enabled: "-"
|
|
|
|
|
2018-09-28 20:45:58 +00:00
|
|
|
# True if you want to create a Service entry for the Vault UI.
|
2018-09-12 00:53:02 +00:00
|
|
|
#
|
|
|
|
# serviceType can be used to control the type of service created. For
|
|
|
|
# example, setting this to "LoadBalancer" will create an external load
|
|
|
|
# balancer (for supported K8S installations) to access the UI.
|
|
|
|
service:
|
|
|
|
enabled: true
|
2018-10-29 15:36:53 +00:00
|
|
|
type: LoadBalancer
|