config: deal with multiple errors and their criticality
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
This commit is contained in:
parent
62800116d3
commit
6fdd48509e
45 changed files with 725 additions and 412 deletions
14
pkg/api/testdata/getrawdata.json
vendored
14
pkg/api/testdata/getrawdata.json
vendored
|
|
@ -9,7 +9,8 @@
|
|||
"addPrefixTest@anotherprovider"
|
||||
],
|
||||
"service": "foo-service@myprovider",
|
||||
"rule": "Host(`foo.bar`)"
|
||||
"rule": "Host(`foo.bar`)",
|
||||
"status": "enabled"
|
||||
},
|
||||
"test@myprovider": {
|
||||
"entryPoints": [
|
||||
|
|
@ -20,7 +21,8 @@
|
|||
"auth"
|
||||
],
|
||||
"service": "foo-service@myprovider",
|
||||
"rule": "Host(`foo.bar.other`)"
|
||||
"rule": "Host(`foo.bar.other`)",
|
||||
"status": "enabled"
|
||||
}
|
||||
},
|
||||
"middlewares": {
|
||||
|
|
@ -62,6 +64,7 @@
|
|||
],
|
||||
"passHostHeader": false
|
||||
},
|
||||
"status": "enabled",
|
||||
"usedBy": [
|
||||
"bar@myprovider",
|
||||
"test@myprovider"
|
||||
|
|
@ -74,14 +77,16 @@
|
|||
"web"
|
||||
],
|
||||
"service": "tcpfoo-service@myprovider",
|
||||
"rule": "HostSNI(`foo.bar`)"
|
||||
"rule": "HostSNI(`foo.bar`)",
|
||||
"status": "enabled"
|
||||
},
|
||||
"tcptest@myprovider": {
|
||||
"entryPoints": [
|
||||
"web"
|
||||
],
|
||||
"service": "tcpfoo-service@myprovider",
|
||||
"rule": "HostSNI(`foo.bar.other`)"
|
||||
"rule": "HostSNI(`foo.bar.other`)",
|
||||
"status": "enabled"
|
||||
}
|
||||
},
|
||||
"tcpServices": {
|
||||
|
|
@ -93,6 +98,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"status": "enabled",
|
||||
"usedBy": [
|
||||
"tcpbar@myprovider",
|
||||
"tcptest@myprovider"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue