diff --git a/charts/hono/Chart.yaml b/charts/hono/Chart.yaml index 9d047715..e7c501b6 100755 --- a/charts/hono/Chart.yaml +++ b/charts/hono/Chart.yaml @@ -15,7 +15,7 @@ name: hono description: | Eclipse Hono™ provides remote service interfaces for connecting large numbers of IoT devices to a back end and interacting with them in a uniform way regardless of the device communication protocol. -version: 1.7.3 +version: 1.7.4 # Version of Hono being deployed by the chart appVersion: 1.7.1 keywords: diff --git a/charts/hono/templates/_helpers.tpl b/charts/hono/templates/_helpers.tpl index 204319af..687335e6 100644 --- a/charts/hono/templates/_helpers.tpl +++ b/charts/hono/templates/_helpers.tpl @@ -307,12 +307,12 @@ deviceConnection: {{- end }} {{- end }} {{- if .dot.Values.prometheus.createInstance }} -resource-limits: - prometheus-based: +resourceLimits: + prometheusBased: host: {{ template "hono.prometheus.server.fullname" .dot }} {{- else if .dot.Values.prometheus.host }} -resource-limits: - prometheus-based: +resourceLimits: + prometheusBased: host: {{ .dot.Values.prometheus.host }} port: {{ default "9090" .dot.Values.prometheus.port }} {{- end }}