Skip to content

Commit

Permalink
chore: support prometheus stack
Browse files Browse the repository at this point in the history
  • Loading branch information
sophon-zt committed Sep 3, 2024
1 parent 0451731 commit d025639
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 (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1/ServiceMonitor") .Values.prometheus.enabled }}
{{- if and (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1/PodMonitor") .Values.prometheus.enabled }}
# Prometheus Monitor Service (Metrics)
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
Expand Down

0 comments on commit d025639

Please sign in to comment.