Update subscription examples (#2957)

* dotnet submodule

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* update to v2alpha

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* revert some changes

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* update routes

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
Hannah Hunter 2022-11-17 22:34:21 -06:00 committed by GitHub
parent 4093682e9a
commit e2fa30d3c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -155,13 +155,14 @@ Learn more in the [declarative and programmatic subscriptions doc]({{< ref subsc
Create a file named `subscription.yaml` and paste the following:
```yaml
apiVersion: dapr.io/v1alpha1
apiVersion: dapr.io/v2alpha1
kind: Subscription
metadata:
name: order-pub-sub
spec:
topic: orders
route: /checkout
routes:
default: /checkout
pubsubname: order-pub-sub
scopes:
- orderprocessing