From ba066d80219e294f223d008c56275d4c78104a19 Mon Sep 17 00:00:00 2001 From: "github-merge-queue[bot]" Date: Thu, 21 Nov 2024 09:38:19 +0000 Subject: [PATCH] Changes from astriaorg/astria@fb66cf820c9e9d8b1d5aaa47adc6890a651a3b1d --- charts/hermes/Chart.yaml | 2 +- charts/hermes/files/config.toml | 20 +++++++++----------- charts/hermes/templates/configmaps.yaml | 2 +- charts/hermes/templates/servicemonitor.yaml | 4 ++-- 4 files changed, 13 insertions(+), 15 deletions(-) diff --git a/charts/hermes/Chart.yaml b/charts/hermes/Chart.yaml index a16a7a2..d7fe9a4 100644 --- a/charts/hermes/Chart.yaml +++ b/charts/hermes/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.5.1 +version: 0.5.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/hermes/files/config.toml b/charts/hermes/files/config.toml index 190fe66..9aa5986 100644 --- a/charts/hermes/files/config.toml +++ b/charts/hermes/files/config.toml @@ -2,7 +2,6 @@ log_level = '{{ .Values.global.logLevel }}' [rest] - # Whether or not to enable the REST service. Default: false enabled = {{ .Values.rest.enabled }} @@ -110,6 +109,15 @@ trust_threshold = '{{ $chain.trustThreshold }}' {{- if $chain.memoPrefix }} memo_prefix = '{{ $chain.memoPrefix }}' {{- end }} +{{- if $chain.feeGranter }} +fee_granter = '{{ $chain.feeGranter }}' +{{- end }} +{{- if $chain.compatMode }} +compat_mode = '{{ $chain.compatMode }}' +{{- end }} +{{- if $chain.clearInterval }} +clear_interval = '{{ $chain.clearInterval }}' +{{- end }} {{- if $chain.packetFilter }} {{- if $chain.packetFilter.policy }} @@ -132,14 +140,4 @@ recv = [ {{- end }} {{- end }} {{- end }} -{{- if $chain.feeGranter }} -fee_granter = '{{ $chain.feeGranter }}' -{{- end }} -{{- if $chain.compatMode }} -compat_mode = '{{ $chain.compatMode }}' -{{- end }} -{{- if $chain.clearInterval }} -clear_interval = '{{ $chain.clearInterval }}' -{{- end }} - {{ end }} diff --git a/charts/hermes/templates/configmaps.yaml b/charts/hermes/templates/configmaps.yaml index 4fdee17..234fa42 100644 --- a/charts/hermes/templates/configmaps.yaml +++ b/charts/hermes/templates/configmaps.yaml @@ -5,7 +5,7 @@ metadata: namespace: {{ include "hermes.namespace" . }} data: config.toml: | - {{- tpl (.Files.Get "files/config.toml") $ | nindent 4 }} + {{- tpl (.Files.Get "files/config.toml") $ | nindent 4 }} --- {{- if not .Values.secretProvider.enabled }} {{- range $chainId, $chain := .Values.chains }} diff --git a/charts/hermes/templates/servicemonitor.yaml b/charts/hermes/templates/servicemonitor.yaml index 6cf7dfc..d99d368 100644 --- a/charts/hermes/templates/servicemonitor.yaml +++ b/charts/hermes/templates/servicemonitor.yaml @@ -2,14 +2,14 @@ apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: - name: hermes-relayer-metrics + name: {{ include "hermes.fullname" . }}-metrics labels: app: {{ include "hermes.fullname" . }} {{- with .Values.serviceMonitor.additionalLabels }} {{- toYaml . | nindent 4 }} {{- end }} spec: - jobLabel: hermes-relayer-metric + jobLabel: {{ include "hermes.fullname" . }}-metric namespaceSelector: matchNames: - {{ include "hermes.namespace" . }}