rename extra config file generated
This commit is contained in:
parent
fa95b2df84
commit
dc808dc106
3 changed files with 3 additions and 3 deletions
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue