rename extra config file generated

This commit is contained in:
Clint Shryock 2018-11-30 16:02:53 -06:00
parent fa95b2df84
commit dc808dc106
No known key found for this signature in database
GPG key ID: B7C8F9C70EC5CD29
3 changed files with 3 additions and 3 deletions

View file

@ -10,6 +10,6 @@ metadata:
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
data:
statefulconfig-from-values.hcl: |-
extraconfig-from-values.hcl: |-
{{ tpl .Values.server.config . | indent 4 }}
{{- end }}

View file

@ -10,6 +10,6 @@ metadata:
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
data:
statefulconfig-from-values.hcl: |-
extraconfig-from-values.hcl: |-
{{ tpl .Values.serverHA.config . | indent 4 }}
{{- end }}

View file

@ -79,7 +79,7 @@ spec:
- |
export VAULT_CLUSTER_ADDR=http://${POD_IP}:8201
sed -E "s/HOST_IP/${HOST_IP}/g" /vault/config/statefulconfig-from-values.hcl > storageconfig.hcl
sed -E "s/HOST_IP/${HOST_IP}/g" /vault/config/extraconfig-from-values.hcl > storageconfig.hcl
sed -Ei "s/POD_IP/${POD_IP}/g" storageconfig.hcl
vault server -config=storageconfig.hcl