From 7bc69645b0e6c0ca9744b33cc42f4e82cd3cde83 Mon Sep 17 00:00:00 2001
From: Matthias Loibl <mail@matthiasloibl.com>
Date: Wed, 23 Jan 2019 17:35:26 +0100
Subject: [PATCH] contrib/kube-prometheus: Log to stderr in kube-state-metrics
 rbac-proxy

---
 .../kube-state-metrics/kube-state-metrics.libsonnet              | 1 +
 1 file changed, 1 insertion(+)

diff --git a/jsonnet/kube-prometheus/kube-state-metrics/kube-state-metrics.libsonnet b/jsonnet/kube-prometheus/kube-state-metrics/kube-state-metrics.libsonnet
index 2cf7ebbc..01014234 100644
--- a/jsonnet/kube-prometheus/kube-state-metrics/kube-state-metrics.libsonnet
+++ b/jsonnet/kube-prometheus/kube-state-metrics/kube-state-metrics.libsonnet
@@ -146,6 +146,7 @@ local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet';
       local proxySelfMetrics =
         container.new('kube-rbac-proxy-self', $._config.imageRepos.kubeRbacProxy + ':' + $._config.versions.kubeRbacProxy) +
         container.withArgs([
+          '--logtostderr',
           '--secure-listen-address=:9443',
           '--tls-cipher-suites=' + std.join(',', $._config.tlsCipherSuites),
           '--upstream=http://127.0.0.1:8082/',
-- 
GitLab