From e9fd6c9e4c684361602dd8ba90a8c259ec56b0f4 Mon Sep 17 00:00:00 2001 From: Yuri Sa Date: Thu, 7 Jul 2022 13:01:05 +0200 Subject: [PATCH] Fixing monitor configuration Signed-off-by: Yuri Sa --- config/prometheus/monitor.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/prometheus/monitor.yaml b/config/prometheus/monitor.yaml index e66d0ac5e8..6e5f438a21 100644 --- a/config/prometheus/monitor.yaml +++ b/config/prometheus/monitor.yaml @@ -15,7 +15,11 @@ spec: scheme: https bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token tlsConfig: - insecureSkipVerify: true + insecureSkipVerify: false + ca: + secret: + key: ca.crt + name: opentelemetry-operator-controller-manager-service-cert selector: matchLabels: app.kubernetes.io/name: opentelemetry-operator