traefik/pkg/redactor/testdata/anonymized-static-config.json

450 lines
9.7 KiB
JSON
Raw Normal View History

2020-10-30 11:44:05 +00:00
{
"global": {
"checkNewVersion": true,
"sendAnonymousUsage": true
},
"serversTransport": {
"insecureSkipVerify": true,
"rootCAs": [
"xxxx",
"xxxx",
"xxxx"
],
"maxIdleConnsPerHost": 111,
"forwardingTimeouts": {
2021-05-06 07:32:04 +00:00
"dialTimeout": "1m51s",
"responseHeaderTimeout": "1m51s",
"idleConnTimeout": "1m51s"
2020-10-30 11:44:05 +00:00
}
},
"tcpServersTransport": {
"dialKeepAlive": "1m51s",
"dialTimeout": "1m51s",
"tls": {
"insecureSkipVerify": true,
"rootCAs": [
"xxxx",
"xxxx",
"xxxx"
]
}
},
2020-10-30 11:44:05 +00:00
"entryPoints": {
"foobar": {
"address": "xxxx",
"transport": {
"lifeCycle": {
2021-05-06 07:32:04 +00:00
"requestAcceptGraceTimeout": "1m51s",
"graceTimeOut": "1m51s"
2020-10-30 11:44:05 +00:00
},
"respondingTimeouts": {
2021-05-06 07:32:04 +00:00
"readTimeout": "1m51s",
"writeTimeout": "1m51s",
"idleTimeout": "1m51s"
2020-10-30 11:44:05 +00:00
}
},
"proxyProtocol": {
"insecure": true,
"trustedIPs": [
"xxxx",
"xxxx"
]
},
"forwardedHeaders": {
"insecure": true,
"trustedIPs": [
"xxxx",
"xxxx"
]
},
"http": {
"redirections": {
"entryPoint": {
"to": "foobar",
"scheme": "foobar",
"permanent": true,
"priority": 42
}
},
"middlewares": [
"foobar",
"foobar"
],
"tls": {
"options": "foobar",
"certResolver": "foobar",
"domains": [
{
"main": "xxxx",
"sans": [
"xxxx",
"xxxx"
]
}
]
}
}
}
},
"providers": {
2021-05-06 07:32:04 +00:00
"providersThrottleDuration": "1m51s",
2020-10-30 11:44:05 +00:00
"docker": {
2023-05-10 13:28:05 +00:00
"exposedByDefault": true,
2020-10-30 11:44:05 +00:00
"constraints": "Label(\"foo\", \"bar\")",
2023-05-10 13:28:05 +00:00
"allowEmptyServices": true,
"network": "MyNetwork",
"useBindPortIP": true,
2020-10-30 11:44:05 +00:00
"watch": true,
"defaultRule": "xxxx",
2023-05-10 13:28:05 +00:00
"endpoint": "xxxx",
2020-10-30 11:44:05 +00:00
"tls": {
"ca": "xxxx",
"cert": "xxxx",
"key": "xxxx",
"insecureSkipVerify": true
},
2023-05-10 13:28:05 +00:00
"httpClientTimeout": "42ns"
},
"swarm": {
2020-10-30 11:44:05 +00:00
"exposedByDefault": true,
2023-05-10 13:28:05 +00:00
"constraints": "Label(\"foo\", \"bar\")",
"allowEmptyServices": true,
2020-10-30 11:44:05 +00:00
"network": "MyNetwork",
2023-05-10 13:28:05 +00:00
"useBindPortIP": true,
"watch": true,
"defaultRule": "xxxx",
"endpoint": "xxxx",
"tls": {
"ca": "xxxx",
"cert": "xxxx",
"key": "xxxx",
"insecureSkipVerify": true
},
"httpClientTimeout": "42ns",
"refreshSeconds": "42ns"
2020-10-30 11:44:05 +00:00
},
"file": {
"directory": "file Directory",
"watch": true,
"filename": "file Filename",
"debugLogGeneratedTemplate": true
},
"kubernetesIngress": {
"endpoint": "xxxx",
"token": "xxxx",
"certAuthFilePath": "xxxx",
"namespaces": [
"a",
"b"
],
"labelSelector": "myLabelSelector",
"ingressClass": "MyIngressClass",
"ingressEndpoint": {
"ip": "xxxx",
"hostname": "xxxx",
"publishedService": "xxxx"
},
2021-05-06 07:32:04 +00:00
"throttleDuration": "1m51s"
2020-10-30 11:44:05 +00:00
},
"kubernetesCRD": {
"endpoint": "xxxx",
"token": "xxxx",
"certAuthFilePath": "xxxx",
"namespaces": [
"a",
"b"
],
"labelSelector": "myLabelSelector",
"ingressClass": "MyIngressClass",
2021-05-06 07:32:04 +00:00
"throttleDuration": "1m51s"
2020-10-30 11:44:05 +00:00
},
"kubernetesGateway": {
"endpoint": "xxxx",
"token": "xxxx",
"certAuthFilePath": "xxxx",
"namespaces": [
"a",
"b"
],
"labelSelector": "myLabelSelector",
2021-05-06 07:32:04 +00:00
"throttleDuration": "1m51s"
},
2020-10-30 11:44:05 +00:00
"rest": {
"insecure": true
},
"consulCatalog": {
"constraints": "Label(\"foo\", \"bar\")",
"endpoint": {
"address": "xxxx",
"scheme": "xxxx",
"datacenter": "xxxx",
"token": "xxxx",
"tls": {
"ca": "xxxx",
"cert": "xxxx",
"key": "xxxx",
"insecureSkipVerify": true
},
"httpAuth": {
"username": "xxxx",
"password": "xxxx"
},
2021-05-06 07:32:04 +00:00
"endpointWaitTime": "42ns"
2020-10-30 11:44:05 +00:00
},
"prefix": "MyPrefix",
2021-05-06 07:32:04 +00:00
"refreshInterval": "42ns",
2020-10-30 11:44:05 +00:00
"requireConsistent": true,
"stale": true,
"cache": true,
"exposedByDefault": true,
"defaultRule": "xxxx",
"namespaces": [
"xxxx",
"xxxx"
]
2020-10-30 11:44:05 +00:00
},
"ecs": {
"constraints": "Label(\"foo\", \"bar\")",
"exposedByDefault": true,
"refreshSeconds": 42,
"defaultRule": "xxxx",
"clusters": [
"Cluster1",
"Cluster2"
],
"autoDiscoverClusters": true,
2022-09-14 14:22:08 +00:00
"ecsAnywhere": true,
2020-10-30 11:44:05 +00:00
"region": "Awsregion",
"accessKeyID": "xxxx",
"secretAccessKey": "xxxx"
},
"consul": {
"rootKey": "xxxx",
2022-09-12 15:40:09 +00:00
"token": "xxxx",
2020-10-30 11:44:05 +00:00
"tls": {
"ca": "xxxx",
"cert": "xxxx",
"key": "xxxx",
"insecureSkipVerify": true
},
"namespaces": [
"xxxx",
"xxxx"
]
2020-10-30 11:44:05 +00:00
},
"etcd": {
"rootKey": "xxxx",
2020-10-30 11:44:05 +00:00
"tls": {
"ca": "xxxx",
"cert": "xxxx",
"key": "xxxx",
"insecureSkipVerify": true
2022-09-12 15:40:09 +00:00
},
"username": "xxxx",
"password": "xxxx"
2020-10-30 11:44:05 +00:00
},
"zooKeeper": {
"rootKey": "xxxx",
2020-10-30 11:44:05 +00:00
"username": "xxxx",
2022-09-12 15:40:09 +00:00
"password": "xxxx"
2020-10-30 11:44:05 +00:00
},
"redis": {
"rootKey": "xxxx",
2020-10-30 11:44:05 +00:00
"tls": {
"ca": "xxxx",
"cert": "xxxx",
"key": "xxxx",
"insecureSkipVerify": true
2022-09-12 15:40:09 +00:00
},
"username": "xxxx",
"password": "xxxx"
2020-10-30 11:44:05 +00:00
},
"http": {
"endpoint": "xxxx",
2021-05-06 07:32:04 +00:00
"pollInterval": "42ns",
"pollTimeout": "42ns",
2020-10-30 11:44:05 +00:00
"tls": {
"ca": "xxxx",
"cert": "xxxx",
"key": "xxxx",
"insecureSkipVerify": true
}
}
},
"api": {
"insecure": true,
"dashboard": true,
"debug": true
},
"metrics": {
"prometheus": {
"buckets": [
0.1,
0.3,
1.2,
5
],
"addEntryPointsLabels": true,
"addServicesLabels": true,
"entryPoint": "MyEntryPoint",
"manualRouting": true
},
"datadog": {
"address": "xxxx",
2021-05-06 07:32:04 +00:00
"pushInterval": "42ns",
2020-10-30 11:44:05 +00:00
"addEntryPointsLabels": true,
"addServicesLabels": true
},
"statsD": {
"address": "xxxx",
2021-05-06 07:32:04 +00:00
"pushInterval": "42ns",
2020-10-30 11:44:05 +00:00
"addEntryPointsLabels": true,
"addServicesLabels": true,
"prefix": "MyPrefix"
}
},
"ping": {
"entryPoint": "MyEntryPoint",
"manualRouting": true,
"terminatingStatusCode": 42
},
"log": {
"level": "Level",
2022-11-21 17:36:05 +00:00
"format": "json",
2020-10-30 11:44:05 +00:00
"filePath": "xxxx",
2022-11-21 17:36:05 +00:00
"maxSize": 5,
"maxAge": 3,
"maxBackups": 4,
"compress": true
2020-10-30 11:44:05 +00:00
},
"accessLog": {
"filePath": "xxxx",
"format": "AccessLog Format",
"filters": {
"statusCodes": [
"200",
"500"
],
"retryAttempts": true,
2021-05-06 07:32:04 +00:00
"minDuration": "42ns"
2020-10-30 11:44:05 +00:00
},
"fields": {
"defaultMode": "drop",
"names": {
"RequestHost": "keep"
},
"headers": {
"defaultMode": "drop",
"names": {
"Referer": "keep"
}
}
},
"bufferingSize": 42
},
"tracing": {
"serviceName": "myServiceName",
"spanNameLimit": 42,
"jaeger": {
"samplingServerURL": "xxxx",
"samplingType": "foobar",
"samplingParam": 42,
"localAgentHostPort": "xxxx",
"gen128Bit": true,
"propagation": "foobar",
"traceContextHeaderName": "foobar",
"collector": {
"endpoint": "xxxx",
"user": "xxxx",
"password": "xxxx"
},
"disableAttemptReconnecting": true
},
"zipkin": {
"httpEndpoint": "xxxx",
"sameSpan": true,
"id128Bit": true,
"sampleRate": 42
},
"datadog": {
"localAgentHostPort": "xxxx",
"localAgentSocket": "xxxx",
2022-11-25 09:50:06 +00:00
"globalTags": {
"foobar": "foobar"
},
2020-10-30 11:44:05 +00:00
"debug": true,
"prioritySampling": true,
"traceIDHeaderName": "foobar",
"parentIDHeaderName": "foobar",
"samplingPriorityHeaderName": "foobar",
"bagagePrefixHeaderName": "foobar"
},
"instana": {
"localAgentHost": "xxxx",
"logLevel": "foobar"
},
"haystack": {
"localAgentHost": "xxxx",
"globalTag": "foobar",
"traceIDHeaderName": "foobar",
"parentIDHeaderName": "foobar",
"spanIDHeaderName": "foobar",
"baggagePrefixHeaderName": "foobar"
},
"elastic": {
"serverURL": "xxxx",
"secretToken": "xxxx",
"serviceEnvironment": "foobar"
}
},
"hostResolver": {
"cnameFlattening": true,
"resolvConfig": "foobar",
"resolvDepth": 42
},
"certificatesResolvers": {
"CertificateResolver0": {
"acme": {
"email": "xxxx",
"caServer": "xxxx",
"preferredChain": "foobar",
"storage": "Storage",
"keyType": "MyKeyType",
"certificatesDuration": 42,
2020-10-30 11:44:05 +00:00
"dnsChallenge": {
"provider": "DNSProvider",
2021-05-06 07:32:04 +00:00
"delayBeforeCheck": "42ns",
2020-10-30 11:44:05 +00:00
"resolvers": [
"xxxx",
"xxxx"
],
"disablePropagationCheck": true
},
"httpChallenge": {
"entryPoint": "MyEntryPoint"
},
"tlsChallenge": {}
}
}
},
"experimental": {
"plugins": {
"Descriptor0": {
"moduleName": "foobar",
"version": "foobar"
},
"Descriptor1": {
"moduleName": "foobar",
"version": "foobar"
}
},
"localPlugins": {
"Descriptor0": {
"moduleName": "foobar"
},
"Descriptor1": {
"moduleName": "foobar"
}
2020-10-30 11:44:05 +00:00
}
}
2022-11-21 17:36:05 +00:00
}