This is an automated email from the ASF dual-hosted git repository.

lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git


The following commit(s) were added to refs/heads/master by this push:
     new d4afc98  oxia components podmonitor match labels (#605)
d4afc98 is described below

commit d4afc985d24cf1d85787b09f47ef8c4688e58ee4
Author: Artem Nosulchyk <[email protected]>
AuthorDate: Tue May 6 15:27:27 2025 -0400

    oxia components podmonitor match labels (#605)
---
 charts/pulsar/templates/oxia-coordinator-podmonitor.yaml | 4 ++--
 charts/pulsar/templates/oxia-server-podmonitor.yaml      | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/charts/pulsar/templates/oxia-coordinator-podmonitor.yaml 
b/charts/pulsar/templates/oxia-coordinator-podmonitor.yaml
index 28775d9..ab6d232 100644
--- a/charts/pulsar/templates/oxia-coordinator-podmonitor.yaml
+++ b/charts/pulsar/templates/oxia-coordinator-podmonitor.yaml
@@ -19,5 +19,5 @@
 
 # deploy oxia-coordinator PodMonitor only when 
`$.Values.oxia.coordinator.podMonitor.enabled` is true
 {{- if and $.Values.components.oxia 
$.Values.oxia.coordinator.podMonitor.enabled }}
-{{- include "pulsar.podMonitor" (list . "oxia.coordinator" 
"app.kubernetes.io/component: oxia-coordinator" "metrics") }}
-{{- end }}
\ No newline at end of file
+{{- include "pulsar.podMonitor" (list . "oxia.coordinator" (printf "component: 
%s-coordinator" .Values.oxia.component) "metrics") }}
+{{- end }}
diff --git a/charts/pulsar/templates/oxia-server-podmonitor.yaml 
b/charts/pulsar/templates/oxia-server-podmonitor.yaml
index e4aaf7d..de0c8a0 100644
--- a/charts/pulsar/templates/oxia-server-podmonitor.yaml
+++ b/charts/pulsar/templates/oxia-server-podmonitor.yaml
@@ -19,5 +19,5 @@
 
 # deploy oxia-server PodMonitor only when 
`$.Values.oxia.server.podMonitor.enabled` is true
 {{- if and $.Values.components.oxia $.Values.oxia.server.podMonitor.enabled }}
-{{- include "pulsar.podMonitor" (list . "oxia.server" 
"app.kubernetes.io/component: oxia-server" "metrics") }}
-{{- end }}
\ No newline at end of file
+{{- include "pulsar.podMonitor" (list . "oxia.server" (printf "component: 
%s-server" .Values.oxia.component) "metrics") }}
+{{- end }}

Reply via email to