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

16 lines
477 B

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