mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* move burrow's config to values.yaml Signed-off-by: Gregory Hill <greg.hill@monax.io> * switch to toJson Signed-off-by: Gregory Hill <greg.hill@monax.io>
14 lines
449 B
YAML
14 lines
449 B
YAML
{{- $config := .Values.config }}
|
|
{{- $pp := dict "Tendermint" (dict "PersistentPeers" (include "burrow.seeds" .)) }}
|
|
kind: ConfigMap
|
|
apiVersion: v1
|
|
metadata:
|
|
labels:
|
|
app: {{ template "burrow.name" . }}
|
|
chart: {{ template "burrow.chart" $ }}
|
|
heritage: {{ $.Release.Service }}
|
|
release: {{ $.Release.Name }}
|
|
name: {{ template "burrow.fullname" . }}-config
|
|
data:
|
|
burrow.json: |-
|
|
{{ toJson (mergeOverwrite $config $pp) | indent 4 }} |