rancher-partner-charts/charts/btp/chronicle/templates/chronicle-config.yaml

18 lines
638 B
YAML

---
{{$stlServiceName := include "lib.call-nested" (list . "sawtooth" "common.names.fullname")}}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{.Release.Name}}-chronicle-config
data:
config.toml: |
[secrets]
path = "/var/lib/chronicle/secrets/"
[store]
path = "/var/lib/chronicle/store/"
address = "postgresql://{{ .Values.postgres.user }}@{{ .Values.postgres.host }}:5432/{{ .Values.postgres.database }}"
[validator]
address = "tcp://{{ include "chronicle.sawtooth.service" . }}:{{ include "chronicle.sawtooth.sawcomp" . }}"
[namespace_bindings]
default = "fd717fd6-70f1-44c1-81de-287d5e101089"