From cd05725b54a0941f28e182e0ca7cf2f44e798775 Mon Sep 17 00:00:00 2001 From: Kai Hudalla Date: Wed, 12 May 2021 10:44:02 +0200 Subject: [PATCH] [#230] Use camel case for resource limit checks configuration The Quarkus based native adapter images require the configuration properties in application.yml to be all camel case. Fixes #230 Signed-off-by: Kai Hudalla --- charts/hono/Chart.yaml | 2 +- charts/hono/templates/_helpers.tpl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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 }}