|
@@ -6,11 +6,11 @@ metadata:
|
|
|
jobLabel: wg-exporter
|
|
|
release: prometheus
|
|
|
name: wg-exporter
|
|
|
- namespace: monitoring
|
|
|
+ namespace: mon
|
|
|
spec:
|
|
|
namespaceSelector:
|
|
|
matchNames:
|
|
|
- - monitoring
|
|
|
+ - mon
|
|
|
podMetricsEndpoints:
|
|
|
- interval: 15s
|
|
|
port: metrics
|
|
@@ -25,7 +25,7 @@ metadata:
|
|
|
labels:
|
|
|
app.kubernetes.io/name: wg-exporter
|
|
|
name: wg-exporter
|
|
|
- namespace: monitoring
|
|
|
+ namespace: mon
|
|
|
spec:
|
|
|
selector:
|
|
|
matchLabels:
|
|
@@ -34,7 +34,7 @@ spec:
|
|
|
metadata:
|
|
|
labels:
|
|
|
app.kubernetes.io/name: wg-exporter
|
|
|
- namespace: monitoring
|
|
|
+ namespace: mon
|
|
|
spec:
|
|
|
hostNetwork: true
|
|
|
containers:
|
|
@@ -70,7 +70,7 @@ apiVersion: v1
|
|
|
kind: ConfigMap
|
|
|
metadata:
|
|
|
name: grafana-wireguard
|
|
|
- namespace: monitoring
|
|
|
+ namespace: mon
|
|
|
labels:
|
|
|
grafana_dashboard: "1"
|
|
|
data:
|