From 42d0c93ea9e34e16a16a7552dff870772d40301c Mon Sep 17 00:00:00 2001 From: Tim Campbell Date: Fri, 31 Jan 2025 15:58:52 +0100 Subject: [PATCH] Bugfix --- templates/deployment-sidekiq.yaml | 4 ++-- templates/deployment-web.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/deployment-sidekiq.yaml b/templates/deployment-sidekiq.yaml index d549819..ce012ff 100644 --- a/templates/deployment-sidekiq.yaml +++ b/templates/deployment-sidekiq.yaml @@ -212,7 +212,7 @@ spec: - name: PROMETHEUS_EXPORTER_HOST value: {{ $context.Values.mastodon.metrics.prometheus.host }} - name: PROMETHEUS_EXPORTER_PORT - value: {{ $context.Values.mastodon.metrics.prometheus.port }} + value: "{{ $context.Values.mastodon.metrics.prometheus.port }}" {{- if $context.Values.mastodon.metrics.prometheus.sidekiq.detailed }} - name: MASTODON_PROMETHEUS_EXPORTER_SIDEKIQ_DETAILED_METRICS value: "true" @@ -223,7 +223,7 @@ spec: - name: MASTODON_PROMETHEUS_EXPORTER_HOST value: {{ $context.Values.mastodon.metrics.prometheus.sidekiq.local.host }} - name: MASTODON_PROMETHEUS_EXPORTER_PORT - value: {{ $context.Values.mastodon.metrics.prometheus.sidekiq.local.port }} + value: "{{ $context.Values.mastodon.metrics.prometheus.sidekiq.local.port }}" {{- end }} {{- end }} volumeMounts: diff --git a/templates/deployment-web.yaml b/templates/deployment-web.yaml index 3df2733..fb48b29 100644 --- a/templates/deployment-web.yaml +++ b/templates/deployment-web.yaml @@ -202,7 +202,7 @@ spec: - name: PROMETHEUS_EXPORTER_HOST value: {{ $.Values.mastodon.metrics.prometheus.host }} - name: PROMETHEUS_EXPORTER_PORT - value: {{ .Values.mastodon.metrics.prometheus.port }} + value: "{{ .Values.mastodon.metrics.prometheus.port }}" {{- if .Values.mastodon.metrics.prometheus.web.detailed }} - name: MASTODON_PROMETHEUS_EXPORTER_WEB_DETAILED_METRICS value: "true"