mirror of https://github.com/dapr/docs.git
Fix invokation example on powershell when using mTLS
#1739 Environment variables should be fullfiled using -raw to avoid windows to treat end of lines.
This commit is contained in:
parent
e67ad98a1a
commit
3dbb75fb25
|
@ -263,9 +263,9 @@ The following steps run the Sentry service locally with mTLS enabled, set up nec
|
||||||
|
|
||||||
{{% codetab %}}
|
{{% codetab %}}
|
||||||
```powershell
|
```powershell
|
||||||
$env:DAPR_TRUST_ANCHORS=$(Get-Content $env:USERPROFILE\.dapr\certs\ca.crt)
|
$env:DAPR_TRUST_ANCHORS=$(Get-Content -raw $env:USERPROFILE\.dapr\certs\ca.crt)
|
||||||
$env:DAPR_CERT_CHAIN=$(Get-Content $env:USERPROFILE\.dapr\certs\issuer.crt)
|
$env:DAPR_CERT_CHAIN=$(Get-Content -raw $env:USERPROFILE\.dapr\certs\issuer.crt)
|
||||||
$env:DAPR_CERT_KEY=$(Get-Content $env:USERPROFILE\.dapr\certs\issuer.key)
|
$env:DAPR_CERT_KEY=$(Get-Content -raw $env:USERPROFILE\.dapr\certs\issuer.key)
|
||||||
$env:NAMESPACE="default"
|
$env:NAMESPACE="default"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -356,4 +356,4 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: python
|
- name: python
|
||||||
image: dapriosamples/hello-k8s-python:edge
|
image: dapriosamples/hello-k8s-python:edge
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue