The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hyperlane-monorepo/rust/helm/abacus-agent/templates/configmap.yaml

24 lines
1.0 KiB

apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "abacus-agent.fullname" . }}
labels:
{{- include "abacus-agent.labels" . | nindent 4 }}
data:
RUN_ENV: {{ .Values.abacus.runEnv | quote }}
BASE_CONFIG: {{ .Values.abacus.baseConfig }}
RUST_BACKTRACE: {{ .Values.abacus.rustBacktrace }}
ABC_BASE_DB: {{ .Values.abacus.dbPath }}
ABC_BASE_TRACING_FMT: {{ .Values.abacus.tracing.format }}
ABC_BASE_TRACING_LEVEL: {{ .Values.abacus.tracing.level }}
{{- if .Values.abacus.outboxChain.connection.type }}
ABC_BASE_OUTBOX_CONNECTION_TYPE: {{ .Values.abacus.outboxChain.connection.type }}
{{- end }}
{{- range .Values.abacus.inboxChains }}
{{- include "abacus-agent.config-env-vars" (dict "config" . "agent_name" "base" "key_name_prefix" (printf "INBOXES_%s_" (.name | upper)) "format" "config_map") | indent 2 }}
{{- end }}
{{- if .Values.abacus.tracing.uri }}
ABC_BASE_TRACING_JAEGER_COLLECTOR_URI: {{ .Values.abacus.tracing.uri }}
{{- end }}
ABC_BASE_METRICS: {{ .Values.abacus.metrics.port | quote }}