diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2024-03-14 19:21:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 19:21:56 +0200 |
commit | 410884d7360b3b58a6fdd541b458fd08d444d3b9 (patch) | |
tree | b06f2047153cae8b30072c24cd62fcf9f0fc6f6f | |
parent | d51a1dbfd94421240b052387dcd0393cdc91300a (diff) |
go.d.plugin: update file path pattern in jsonschema (#17164)
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/collectors/go.d.plugin/modules/fluentd/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 t |