This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
gitops-tbrnt/monitoring/manifests/prometheus-adapter-serviceMonitor.yaml
Tobias Brunner 71c9a980f6
All checks were successful
continuous-integration/drone/push Build is passing
add missing monitoring files
2020-08-19 20:51:06 +02:00

19 lines
408 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
name: prometheus-adapter
name: prometheus-adapter
namespace: monitoring
spec:
endpoints:
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
interval: 30s
port: https
scheme: https
tlsConfig:
insecureSkipVerify: true
selector:
matchLabels:
name: prometheus-adapter