Simplifying kubernetes YAML config (#2908)

* Simplifying Kubernetes YAML

Signed-off-by: Marcos Candeia <marrcooos@gmail.com>

* Update pluggable-components-registration.md

Signed-off-by: Marcos Candeia <marrcooos@gmail.com>

Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
This commit is contained in:
Marcos Candeia 2022-10-18 11:47:37 -03:00 committed by GitHub
parent b4eb9da822
commit 1fdcfbd7de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -174,11 +174,8 @@ spec:
- name: component
volumeMounts: # required, the sockets volume mount
- name: dapr-unix-domain-socket
mountPath: /dapr-unix-domain-sockets
mountPath: /tmp/dapr-components-sockets
image: YOUR_IMAGE_GOES_HERE:YOUR_IMAGE_VERSION
env:
- name: DAPR_COMPONENTS_SOCKETS_FOLDER # Tells the component where the sockets should be created.
value: /dapr-unix-domain-sockets
```
Before applying the deployment, let's add one more configuration: the component spec.