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/optics-agent/templates/configmap.yaml

34 lines
1.3 KiB

apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "optics-agent.fullname" . }}
labels:
{{- include "optics-agent.labels" . | nindent 4 }}
data:
RUN_ENV: {{ .Values.optics.runEnv | quote }}
BASE_CONFIG: {{ .Values.optics.baseConfig }}
{{- if .Values.optics.aws }}
AWS_ACCESS_KEY_ID: {{ .Values.optics.aws.accessKeyId }}
AWS_SECRET_ACCESS_KEY: {{ .Values.optics.aws.secretAccessKey }}
{{- end }}
RUST_BACKTRACE: {{ .Values.optics.rustBacktrace }}
OPT_BASE_DB: {{ .Values.optics.dbPath }}
OPT_BASE_TRACING_FMT: {{ .Values.optics.tracing.format }}
OPT_BASE_TRACING_LEVEL: {{ .Values.optics.tracing.level }}
{{- if .Values.optics.homeChain.connectionUrl }}
OPT_BASE_HOME_CONFIG_CONNECTION_URL: {{ .Values.optics.homeChain.connectionUrl }}
{{- end }}
{{- if .Values.optics.homeChain.connectionType }}
OPT_BASE_HOME_CONFIG_CONNECTION_TYPE: {{ .Values.optics.homeChain.connectionType }}
{{- end }}
{{- range .Values.optics.replicaChains }}
{{- if .connectionUrl }}
OPT_BASE_REPLICAS_{{ .name | upper }}_CONNECTION_URL: {{ .connectionUrl }}
{{- end }}
{{- if .address }}
OPT_BASE_REPLICAS_{{ .name | upper }}_ADDRESS: {{ .address }}
{{- end }}
{{- end }}
{{- if .Values.optics.tracing.uri }}
OPT_BASE_TRACING_JAEGER_COLLECTOR_URI: {{ .Values.optics.tracing.uri }}
{{- end }}