Skip to content

Commit

Permalink
fix(collector): introduce or conditional to enable the deployment of …
Browse files Browse the repository at this point in the history
…PodMonitor

PodMonitor was not being deployed because this logic was not in place.

open-telemetry#1379
  • Loading branch information
crutonjohn committed Nov 15, 2024
1 parent f770492 commit d66946d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if and .Values.prometheusRule.enabled .Values.serviceMonitor.enabled }}
{{- if and .Values.prometheusRule.enabled (or .Values.serviceMonitor.enabled .Values.podMonitor.enabled) }}
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
Expand Down

0 comments on commit d66946d

Please sign in to comment.