Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
github-merge-queue[bot] committed Nov 21, 2024
1 parent ad4533d commit ba066d8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion charts/hermes/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 9 additions & 11 deletions charts/hermes/files/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
log_level = '{{ .Values.global.logLevel }}'

[rest]

# Whether or not to enable the REST service. Default: false
enabled = {{ .Values.rest.enabled }}

Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
2 changes: 1 addition & 1 deletion charts/hermes/templates/configmaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions charts/hermes/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" . }}
Expand Down

0 comments on commit ba066d8

Please sign in to comment.