mirror of
https://github.com/guilhem/headscale-operator.git
synced 2024-11-23 03:52:59 +00:00
21 lines
491 B
YAML
21 lines
491 B
YAML
|
|
||
|
# Prometheus Monitor Service (Metrics)
|
||
|
apiVersion: monitoring.coreos.com/v1
|
||
|
kind: ServiceMonitor
|
||
|
metadata:
|
||
|
labels:
|
||
|
control-plane: controller-manager
|
||
|
name: controller-manager-metrics-monitor
|
||
|
namespace: system
|
||
|
spec:
|
||
|
endpoints:
|
||
|
- path: /metrics
|
||
|
port: https
|
||
|
scheme: https
|
||
|
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
|
||
|
tlsConfig:
|
||
|
insecureSkipVerify: true
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
control-plane: controller-manager
|