mirror of https://github.com/dapr/docs.git
Merge branch 'v1.8' into rethinkdb-v1.8
This commit is contained in:
commit
ca67832e20
|
@ -56,7 +56,7 @@ func (m *customMiddleware) GetHandler(metadata Metadata) (func(fasthttp.RequestH
|
||||||
var err error
|
var err error
|
||||||
return func(h fasthttp.RequestHandler) fasthttp.RequestHandler {
|
return func(h fasthttp.RequestHandler) fasthttp.RequestHandler {
|
||||||
return func(ctx *fasthttp.RequestCtx) {
|
return func(ctx *fasthttp.RequestCtx) {
|
||||||
// inboud logic
|
// inbound logic
|
||||||
h(ctx) // call the downstream handler
|
h(ctx) // call the downstream handler
|
||||||
// outbound logic
|
// outbound logic
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,7 @@ Generates new root and issuer certificates for the Kubernetes cluster with a giv
|
||||||
```bash
|
```bash
|
||||||
dapr mtls renew-certificate -k --valid-until <no of days>
|
dapr mtls renew-certificate -k --valid-until <no of days>
|
||||||
```
|
```
|
||||||
Generates new root and issuer certificates for the Kubernetes cluster with a given validity time and restarts the Dapr control place services.
|
Generates new root and issuer certificates for the Kubernetes cluster with a given validity time and restarts the Dapr control plane services.
|
||||||
```bash
|
```bash
|
||||||
dapr mtls renew-certificate -k --valid-until <no of days> --restart
|
dapr mtls renew-certificate -k --valid-until <no of days> --restart
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue