Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

Commit 9608cad

Browse files
committed
Update ServiceMonitor to allow prometheus to connect
1 parent 54f4f61 commit 9608cad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/prometheus/monitor.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,9 @@ spec:
1111
endpoints:
1212
- path: /metrics
1313
port: https
14+
scheme: https
15+
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
16+
tlsConfig:
17+
insecureSkipVerify: true # Configure certs here if set up for auth_proxy (uses self-signed currently)
1418
selector:
1519
control-plane: controller-manager

0 commit comments

Comments
 (0)