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

15 lines
483 B

{{- if .Values.hyperlane.validator.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "agent-common.fullname" . }}-validator
labels:
{{- include "agent-common.labels" . | nindent 4 }}
data:
{{ $index := 0 }}
{{- range .Values.hyperlane.validator.configs }}
validator-{{ $index }}.env: |
{{- include "agent-common.config-env-vars" (dict "config" . "agent_name" "validator" "format" "dot_env") | indent 4 }}
{{ $index = add1 $index }}
{{- end }}
{{- end }}