Fix code-blocks in kubernetes.rst (#1128)

line 70 – added missing period
lines 84-95 – added missing indent
This commit is contained in:
Alazari-main 2020-04-11 11:52:41 +03:00 committed by GitHub
parent 347ea7280c
commit 4110837a04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ You use Ocelot to poll kubernetes for latest service information rather than per
"Port": 443, "Port": 443,
"Token": "txpc696iUhbVoudg164r93CxDTrKRVWG", "Token": "txpc696iUhbVoudg164r93CxDTrKRVWG",
"Namespace": "dev", "Namespace": "dev",
"Type": "pollkube" "Type": "pollkube",
"PollingInterval": 100 "PollingInterval": 100
} }
@ -81,15 +81,15 @@ If your downstream service resides in a different namespace you can override the
.. code-block:: json .. code-block:: json
{
"ReRoutes": [
{ {
"DownstreamPathTemplate": "/api/values", "ReRoutes": [
"DownstreamScheme": "http", {
"UpstreamPathTemplate": "/values", "DownstreamPathTemplate": "/api/values",
"ServiceName": "downstreamservice", "DownstreamScheme": "http",
"ServiceNamespace": "downstream-namespace", "UpstreamPathTemplate": "/values",
"UpstreamHttpMethod": [ "Get" ] "ServiceName": "downstreamservice",
"ServiceNamespace": "downstream-namespace",
"UpstreamHttpMethod": [ "Get" ]
}
]
} }
]
}