Skip to content

Commit

Permalink
fix: adapted parameters for kustomize
Browse files Browse the repository at this point in the history
  • Loading branch information
ptx96 authored and prometherion committed Jun 25, 2021
1 parent 5bd2af8 commit 320353e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions config/prometheus/monitor.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@

# Prometheus Monitor Service (Metrics)
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
control-plane: controller-manager
name: controller-manager-metrics-monitor
name: capsule-monitor
namespace: system
spec:
endpoints:
- path: /metrics
- interval: 15s
path: /metrics
port: metrics
jobLabel: controller-manager
namespaceSelector:
selector:
matchLabels:
control-plane: controller-manager

0 comments on commit 320353e

Please sign in to comment.