
* Refactor chart for 1.0, add tests, update TF * Fix typo in helper comment * Add NOTES for post install instructions * Fix typo in NOTES * Fix replication port for enterprise * Change updateStrategy to OnDelete * Add icon * Remove cluster address from config * Update README, add contributing doc * Update README * Change HA replicas to 3
21 lines
716 B
YAML
21 lines
716 B
YAML
{{ template "vault.mode" . }}
|
|
{{- if and (eq (.Values.global.enabled | toString) "true") (ne .mode "dev") -}}
|
|
{{ if or (ne .Values.server.standalone.config "") (ne .Values.server.ha.config "") -}}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ template "vault.fullname" . }}-config
|
|
labels:
|
|
app: {{ template "vault.name" . }}
|
|
chart: {{ template "vault.chart" . }}
|
|
heritage: {{ .Release.Service }}
|
|
release: {{ .Release.Name }}
|
|
data:
|
|
extraconfig-from-values.hcl: |-
|
|
{{- if eq .mode "standalone" }}
|
|
{{ tpl .Values.server.standalone.config . | nindent 4 | trim }}
|
|
{{- else if eq .mode "ha" }}
|
|
{{ tpl .Values.server.ha.config . | nindent 4 | trim }}
|
|
{{ end }}
|
|
{{- end }}
|
|
{{- end }}
|