Skip to content

Commit 38a3f47

Browse files
committed
Adjust guide for dapr standalone mode
Signed-off-by: Benjamin Huo <benjamin@kubesphere.io>
1 parent 65f48ca commit 38a3f47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/concepts/baas_integration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ So now you've 2 options to integrate with BaaS:
2929

3030
You can choose the appropriate Dapr Service Mode for your functions. The `Dapr Standalone Mode` is the recommened and default mode. You can use `Dapr Sidecar Mode` if your function doesn't scale frequently or you've difficulty to use the `Dapr Standalone Mode`.
3131

32-
You can control how to integrate with BaaS with 2 flags, both can be set in function's `serving.spec.annotations`:
32+
You can control how to integrate with BaaS with 2 flags, both can be set in function's `spec.serving.annotations`:
3333

3434
- `openfunction.io/enable-dapr` can be set to `true` or `false`
3535
- `openfunction.io/dapr-service-mode` can be set to `standalone` or `sidecar`
@@ -38,7 +38,7 @@ You can control how to integrate with BaaS with 2 flags, both can be set in func
3838

3939
There're default values for both of these two flags if they're not set.
4040

41-
- The value of `openfunction.io/enable-dapr` will be set to `true` if it's not defined in `serving.spec.annotations` and the function definition contains either `serving.spec.inputs` or `serving.spec.outputs`. Otherwise it will be set to `false`.
41+
- The value of `openfunction.io/enable-dapr` will be set to `true` if it's not defined in `spec.serving.annotations` and the function definition contains either `spec.serving.inputs` or `spec.serving.outputs`. Otherwise it will be set to `false`.
4242
- The default value of `openfunction.io/dapr-service-mode` is `standalone` if not set.
4343

4444
Below you can find a function example to set these two flags:

0 commit comments

Comments
 (0)