Update mtls.md (#1118)

mtls:
  enabled: true

params bool not string,

and dapr-placement is now statefulset

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
This commit is contained in:
Chan-Yub Park 2021-01-30 06:56:17 +09:00 committed by GitHub
parent c427f40feb
commit 10c2d21941
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ metadata:
namespace: default
spec:
mtls:
enabled: "true"
enabled: true
workloadCertTTL: "24h"
allowedClockSkew: "15m"
```
@ -58,7 +58,7 @@ Once the changes are saved, perform a rolling update to the control plane:
```
kubectl rollout restart deploy/dapr-sentry -n <DAPR_NAMESPACE>
kubectl rollout restart deploy/dapr-operator -n <DAPR_NAMESPACE>
kubectl rollout restart deploy/dapr-placement -n <DAPR_NAMESPACE>
kubectl rollout restart statefulsets/dapr-placement-server -n <DAPR_NAMESPACE>
```
*Note: the sidecar injector does not need to be redeployed*
@ -183,7 +183,7 @@ metadata:
namespace: default
spec:
mtls:
enabled: "true"
enabled: true
```
If using the Dapr CLI, point Dapr to the config file above to run the Dapr instance with mTLS enabled:
@ -210,7 +210,7 @@ metadata:
namespace: default
spec:
mtls:
enabled: "true"
enabled: true
workloadCertTTL: "25s"
```