summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2024-03-14 19:21:56 +0200
committerGitHub <noreply@github.com>2024-03-14 19:21:56 +0200
commit410884d7360b3b58a6fdd541b458fd08d444d3b9 (patch)
treeb06f2047153cae8b30072c24cd62fcf9f0fc6f6f
parentd51a1dbfd94421240b052387dcd0393cdc91300a (diff)
go.d.plugin: update file path pattern in jsonschema (#17164)
-rw-r--r--src/go/collectors/go.d.plugin/modules/activemq/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/apache/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/bind/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/cassandra/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/cockroachdb/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/consul/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/coredns/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/couchbase/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/couchdb/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/dnsdist/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/dnsmasq_dhcp/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/docker_engine/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/dockerhub/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/elasticsearch/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/envoy/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/filecheck/config_schema.json8
-rw-r--r--src/go/collectors/go.d.plugin/modules/fluentd/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/geth/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/haproxy/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/hdfs/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/httpcheck/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/isc_dhcpd/config_schema.json2
-rw-r--r--src/go/collectors/go.d.plugin/modules/k8s_kubelet/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/k8s_kubeproxy/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/lighttpd/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/logstash/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/nginx/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/nginxplus/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/nginxvts/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/openvpn_status_log/config_schema.json2
-rw-r--r--src/go/collectors/go.d.plugin/modules/phpdaemon/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/pihole/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/pika/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/powerdns/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/powerdns_recursor/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/prometheus/config_schema.json8
-rw-r--r--src/go/collectors/go.d.plugin/modules/pulsar/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/rabbitmq/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/scaleio/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/squidlog/config_schema.json2
-rw-r--r--src/go/collectors/go.d.plugin/modules/tengine/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/traefik/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/unbound/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/vcsa/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/vernemq/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/vsphere/config_schema.json10
-rw-r--r--src/go/collectors/go.d.plugin/modules/weblog/config_schema.json2
-rw-r--r--src/go/collectors/go.d.plugin/modules/windows/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/x509check/config_schema.json6
-rw-r--r--src/go/collectors/go.d.plugin/modules/zookeeper/config_schema.json6
50 files changed, 146 insertions, 146 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/activemq/config_schema.json b/src/go/collectors/go.d.plugin/modules/activemq/config_schema.json
index ccef5a804b..c2563f3743 100644
--- a/src/go/collectors/go.d.plugin/modules/activemq/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/activemq/config_schema.json
@@ -110,19 +110,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
}
},
"required": [
diff --git a/src/go/collectors/go.d.plugin/modules/apache/config_schema.json b/src/go/collectors/go.d.plugin/modules/apache/config_schema.json
index 809dae1b11..a5abd48729 100644
--- a/src/go/collectors/go.d.plugin/modules/apache/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/apache/config_schema.json
@@ -76,19 +76,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
}
},
"required": [
diff --git a/src/go/collectors/go.d.plugin/modules/bind/config_schema.json b/src/go/collectors/go.d.plugin/modules/bind/config_schema.json
index d4d32852cd..ca1ae71d9b 100644
--- a/src/go/collectors/go.d.plugin/modules/bind/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/bind/config_schema.json
@@ -76,19 +76,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
}
},
"required": [
diff --git a/src/go/collectors/go.d.plugin/modules/cassandra/config_schema.json b/src/go/collectors/go.d.plugin/modules/cassandra/config_schema.json
index b1ded50baa..a32504ceb5 100644
--- a/src/go/collectors/go.d.plugin/modules/cassandra/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/cassandra/config_schema.json
@@ -76,19 +76,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
}
},
"required": [
diff --git a/src/go/collectors/go.d.plugin/modules/cockroachdb/config_schema.json b/src/go/collectors/go.d.plugin/modules/cockroachdb/config_schema.json
index 2b9b32bed7..263e5d717d 100644
--- a/src/go/collectors/go.d.plugin/modules/cockroachdb/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/cockroachdb/config_schema.json
@@ -76,19 +76,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
}
},
"required": [
diff --git a/src/go/collectors/go.d.plugin/modules/consul/config_schema.json b/src/go/collectors/go.d.plugin/modules/consul/config_schema.json
index 17de0d1cdb..5fc9dcad89 100644
--- a/src/go/collectors/go.d.plugin/modules/consul/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/consul/config_schema.json
@@ -82,19 +82,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
}
},
"required": [
diff --git a/src/go/collectors/go.d.plugin/modules/coredns/config_schema.json b/src/go/collectors/go.d.plugin/modules/coredns/config_schema.json
index d62ef5d69b..3edeaf79f3 100644
--- a/src/go/collectors/go.d.plugin/modules/coredns/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/coredns/config_schema.json
@@ -130,19 +130,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
}
},
"required": [
diff --git a/src/go/collectors/go.d.plugin/modules/couchbase/config_schema.json b/src/go/collectors/go.d.plugin/modules/couchbase/config_schema.json
index 15619244e2..bba52b5fa4 100644
--- a/src/go/collectors/go.d.plugin/modules/couchbase/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/couchbase/config_schema.json
@@ -76,19 +76,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
}
},
"required": [
diff --git a/src/go/collectors/go.d.plugin/modules/couchdb/config_schema.json b/src/go/collectors/go.d.plugin/modules/couchdb/config_schema.json
index ff32ebe3b6..d015d29181 100644
--- a/src/go/collectors/go.d.plugin/modules/couchdb/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/couchdb/config_schema.json
@@ -87,19 +87,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
}
},
"required": [
diff --git a/src/go/collectors/go.d.plugin/modules/dnsdist/config_schema.json b/src/go/collectors/go.d.plugin/modules/dnsdist/config_schema.json
index 745c49c864..9361967f60 100644
--- a/src/go/collectors/go.d.plugin/modules/dnsdist/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/dnsdist/config_schema.json
@@ -76,19 +76,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
}
},
"required": [
diff --git a/src/go/collectors/go.d.plugin/modules/dnsmasq_dhcp/config_schema.json b/src/go/collectors/go.d.plugin/modules/dnsmasq_dhcp/config_schema.json
index 6fd2439c03..074ec757e2 100644
--- a/src/go/collectors/go.d.plugin/modules/dnsmasq_dhcp/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/dnsmasq_dhcp/config_schema.json
@@ -16,21 +16,21 @@
"description": "File path to the Dnsmasq DHCP server's lease database.",
"type": "string",
"default": "/var/lib/misc/dnsmasq.leases",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"conf_path": {
"title": "Config file",
"description": "File path for the Dnsmasq configuration. Used to find all configured DHCP ranges.",
"type": "string",
"default": "/etc/dnsmasq.conf",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"conf_dir": {
"title": "Config directory",
"description": "Directory path for Dnsmasq configurations. The syntax follows the same format as the [--conf-dir](https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html) option.",
"type": "string",
"default": "/etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new",
- "pattern": "^/"
+ "pattern": "^$|^/"
}
},
"required": [
diff --git a/src/go/collectors/go.d.plugin/modules/docker_engine/config_schema.json b/src/go/collectors/go.d.plugin/modules/docker_engine/config_schema.json
index c5e9a5cfba..3c43587813 100644
--- a/src/go/collectors/go.d.plugin/modules/docker_engine/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/docker_engine/config_schema.json
@@ -76,19 +76,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
}
},
"required": [
diff --git a/src/go/collectors/go.d.plugin/modules/dockerhub/config_schema.json b/src/go/collectors/go.d.plugin/modules/dockerhub/config_schema.json
index ca7d93c75b..9e52821e51 100644
--- a/src/go/collectors/go.d.plugin/modules/dockerhub/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/dockerhub/config_schema.json
@@ -88,19 +88,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
}
},
"required": [
diff --git a/src/go/collectors/go.d.plugin/modules/elasticsearch/config_schema.json b/src/go/collectors/go.d.plugin/modules/elasticsearch/config_schema.json
index ad2512b389..fbc9369cea 100644
--- a/src/go/collectors/go.d.plugin/modules/elasticsearch/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/elasticsearch/config_schema.json
@@ -106,19 +106,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
}
},
"required": [
diff --git a/src/go/collectors/go.d.plugin/modules/envoy/config_schema.json b/src/go/collectors/go.d.plugin/modules/envoy/config_schema.json
index cef5d252de..1ba2c83ade 100644
--- a/src/go/collectors/go.d.plugin/modules/envoy/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/envoy/config_schema.json
@@ -76,19 +76,19 @@
"title": "TLS CA",
"description": "The path to the CA certificate file for TLS verification.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_cert": {
"title": "TLS certificate",
"description": "The path to the client certificate file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"tls_key": {
"title": "TLS key",
"description": "The path to the client key file for TLS authentication.",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
}
},
"required": [
diff --git a/src/go/collectors/go.d.plugin/modules/filecheck/config_schema.json b/src/go/collectors/go.d.plugin/modules/filecheck/config_schema.json
index ef24227530..8a9a6f2086 100644
--- a/src/go/collectors/go.d.plugin/modules/filecheck/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/filecheck/config_schema.json
@@ -23,7 +23,7 @@
"items": {
"title": "Filepath",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"uniqueItems": true
},
@@ -34,7 +34,7 @@
"items": {
"title": "Filepath",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"uniqueItems": true
}
@@ -61,7 +61,7 @@
"items": {
"title": "Directory",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"uniqueItems": true
},
@@ -72,7 +72,7 @@
"items": {
"title": "Directory",
"type": "string",
- "pattern": "^/"
+ "pattern": "^$|^/"
},
"uniqueItems": true
}
diff --git a/src/go/collectors/go.d.plugin/modules/fluentd/config_schema.json b/src/go/collectors/go.d.plugin/modules/fluentd/config_schema.json
index 2cc9f482a4..8b99ea7093 100644
--- a/src/go/collectors/go.d.plugin/modules/fluentd/config_schema.json
+++ b/src/go/coll