From 3b19a5435c35d545c271d823046cd6380d6984a4 Mon Sep 17 00:00:00 2001 From: Tim Campbell Date: Wed, 5 Mar 2025 11:59:11 +0100 Subject: [PATCH] Fix port check --- templates/deployment-sidekiq.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/deployment-sidekiq.yaml b/templates/deployment-sidekiq.yaml index f2e692d..b8c9ec7 100644 --- a/templates/deployment-sidekiq.yaml +++ b/templates/deployment-sidekiq.yaml @@ -220,7 +220,7 @@ spec: value: "true" {{- end }} {{- end }} - {{- if or $context.Values.mastodon.sidekiq.otel.enabled (and $context.Values.mastodon.otel.enabled (ne $context.Values.mastodon.sidekiq.otel.enabled false)) }} + {{- if $context.Values.mastodon.metrics.prometheus.enabled }} ports: - name: prometheus containerPort: {{ .Values.mastodon.metrics.prometheus.port }}