From 10c2d21941a051d2de120d80f752c3cfeea1100f Mon Sep 17 00:00:00 2001 From: Chan-Yub Park Date: Sat, 30 Jan 2021 06:56:17 +0900 Subject: [PATCH] Update mtls.md (#1118) mtls: enabled: true params bool not string, and dapr-placement is now statefulset Co-authored-by: Yaron Schneider --- daprdocs/content/en/operations/security/mtls.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/daprdocs/content/en/operations/security/mtls.md b/daprdocs/content/en/operations/security/mtls.md index 4b14e56fb..6f0a1bac1 100644 --- a/daprdocs/content/en/operations/security/mtls.md +++ b/daprdocs/content/en/operations/security/mtls.md @@ -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 kubectl rollout restart deploy/dapr-operator -n -kubectl rollout restart deploy/dapr-placement -n +kubectl rollout restart statefulsets/dapr-placement-server -n ``` *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" ```