File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ You use Ocelot to poll kubernetes for latest service information rather than per
67
67
"Port" : 443 ,
68
68
"Token" : " txpc696iUhbVoudg164r93CxDTrKRVWG" ,
69
69
"Namespace" : " dev" ,
70
- "Type" : " pollkube"
70
+ "Type" : " pollkube" ,
71
71
"PollingInterval" : 100
72
72
}
73
73
@@ -81,15 +81,15 @@ If your downstream service resides in a different namespace you can override the
81
81
82
82
.. code-block :: json
83
83
84
- {
85
- "ReRoutes": [
86
84
{
87
- "DownstreamPathTemplate": "/api/values",
88
- "DownstreamScheme": "http",
89
- "UpstreamPathTemplate": "/values",
90
- "ServiceName": "downstreamservice",
91
- "ServiceNamespace": "downstream-namespace",
92
- "UpstreamHttpMethod": [ "Get" ]
85
+ "ReRoutes" : [
86
+ {
87
+ "DownstreamPathTemplate" : " /api/values" ,
88
+ "DownstreamScheme" : " http" ,
89
+ "UpstreamPathTemplate" : " /values" ,
90
+ "ServiceName" : " downstreamservice" ,
91
+ "ServiceNamespace" : " downstream-namespace" ,
92
+ "UpstreamHttpMethod" : [ " Get" ]
93
+ }
94
+ ]
93
95
}
94
- ]
95
- }
You can’t perform that action at this time.
0 commit comments