aboutsummaryrefslogtreecommitdiffstats
path: root/testing/prometheus-unbound-exporter/0001-dont-authenticate-by-default.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/prometheus-unbound-exporter/0001-dont-authenticate-by-default.patch')
-rw-r--r--testing/prometheus-unbound-exporter/0001-dont-authenticate-by-default.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/prometheus-unbound-exporter/0001-dont-authenticate-by-default.patch b/testing/prometheus-unbound-exporter/0001-dont-authenticate-by-default.patch
new file mode 100644
index 00000000000..1d6b58946fb
--- /dev/null
+++ b/testing/prometheus-unbound-exporter/0001-dont-authenticate-by-default.patch
@@ -0,0 +1,15 @@
+--- a/unbound_exporter.go
++++ b/unbound_exporter.go
+@@ -469,9 +469,9 @@
+ listenAddress = flag.String("web.listen-address", ":9167", "Address to listen on for web interface and telemetry.")
+ metricsPath = flag.String("web.telemetry-path", "/metrics", "Path under which to expose metrics.")
+ unboundHost = flag.String("unbound.host", "tcp://localhost:8953", "Unix or TCP address of Unbound control socket.")
+- unboundCa = flag.String("unbound.ca", "/etc/unbound/unbound_server.pem", "Unbound server certificate.")
+- unboundCert = flag.String("unbound.cert", "/etc/unbound/unbound_control.pem", "Unbound client certificate.")
+- unboundKey = flag.String("unbound.key", "/etc/unbound/unbound_control.key", "Unbound client key.")
++ unboundCa = flag.String("unbound.ca", "", "Unbound server certificate.")
++ unboundCert = flag.String("unbound.cert", "", "Unbound client certificate.")
++ unboundKey = flag.String("unbound.key", "", "Unbound client key.")
+ )
+ flag.Parse()
+