mirror of https://github.com/dapr/docs.git
namespace in all yaml samples
This commit is contained in:
parent
01c5ce8d6b
commit
ce828c853d
|
@ -14,6 +14,7 @@ apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: nodeapp
|
name: nodeapp
|
||||||
|
namespace: default
|
||||||
labels:
|
labels:
|
||||||
app: node
|
app: node
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -30,6 +30,7 @@ apiVersion: dapr.io/v1alpha1
|
||||||
kind: Configuration
|
kind: Configuration
|
||||||
metadata:
|
metadata:
|
||||||
name: zipkin
|
name: zipkin
|
||||||
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
tracing:
|
tracing:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -74,11 +75,12 @@ For Standalone mode, create a Dapr configuration file locally and reference it w
|
||||||
|
|
||||||
1. Create the following YAML file:
|
1. Create the following YAML file:
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Configuration
|
kind: Configuration
|
||||||
metadata:
|
metadata:
|
||||||
name: zipkin
|
name: zipkin
|
||||||
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
tracing:
|
tracing:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
@ -93,6 +93,7 @@ apiVersion: dapr.io/v1alpha1
|
||||||
kind: Configuration
|
kind: Configuration
|
||||||
metadata:
|
metadata:
|
||||||
name: myappconfig
|
name: myappconfig
|
||||||
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
tracing:
|
tracing:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -121,11 +122,12 @@ workloadCertTTL | string | Time a certificate is valid for. Default is 24 hours
|
||||||
|
|
||||||
Example control plane configuration
|
Example control plane configuration
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Configuration
|
kind: Configuration
|
||||||
metadata:
|
metadata:
|
||||||
name: default
|
name: default
|
||||||
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
mtls:
|
mtls:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
@ -17,6 +17,7 @@ apiVersion: dapr.io/v1alpha1
|
||||||
kind: Configuration
|
kind: Configuration
|
||||||
metadata:
|
metadata:
|
||||||
name: pipeline
|
name: pipeline
|
||||||
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
httpPipeline:
|
httpPipeline:
|
||||||
handlers:
|
handlers:
|
||||||
|
|
|
@ -59,6 +59,7 @@ apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: pythonapp
|
name: pythonapp
|
||||||
|
namespace: default
|
||||||
labels:
|
labels:
|
||||||
app: python
|
app: python
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -35,6 +35,7 @@ apiVersion: dapr.io/v1alpha1
|
||||||
kind: Configuration
|
kind: Configuration
|
||||||
metadata:
|
metadata:
|
||||||
name: tracing
|
name: tracing
|
||||||
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
tracing:
|
tracing:
|
||||||
samplingRate: "1"
|
samplingRate: "1"
|
||||||
|
@ -51,6 +52,7 @@ apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: zipkin
|
name: zipkin
|
||||||
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
type: exporters.zipkin
|
type: exporters.zipkin
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -38,6 +38,7 @@ apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: statestore
|
name: statestore
|
||||||
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
type: state.redis
|
type: state.redis
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -54,6 +55,7 @@ apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: statestore
|
name: statestore
|
||||||
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
type: state.redis
|
type: state.redis
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -81,11 +83,12 @@ kubectl create secret generic eventhubs-secret --from-literal=connectionString=*
|
||||||
|
|
||||||
Next, reference the secret in your binding:
|
Next, reference the secret in your binding:
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: eventhubs
|
name: eventhubs
|
||||||
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
type: bindings.azure.eventhubs
|
type: bindings.azure.eventhubs
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -12,8 +12,8 @@ Create the following YAML file named `azuresb.yaml`:
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
namespace: <namespace>
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: pubsub.azure.servicebus
|
type: pubsub.azure.servicebus
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -19,7 +19,7 @@ The next step is to create a Dapr component for CosmosDB.
|
||||||
|
|
||||||
Create the following YAML file named `cosmos.yaml`:
|
Create the following YAML file named `cosmos.yaml`:
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -18,7 +18,7 @@ The next step is to create a Dapr component for Azure Table Storage.
|
||||||
|
|
||||||
Create the following YAML file named `azuretable.yaml`:
|
Create the following YAML file named `azuretable.yaml`:
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -32,7 +32,7 @@ The next step is to create a Dapr component for Cassandra.
|
||||||
|
|
||||||
Create the following YAML file named `cassandra.yaml`:
|
Create the following YAML file named `cassandra.yaml`:
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -21,7 +21,7 @@ The next step is to create a Dapr component for Cloudstate.
|
||||||
|
|
||||||
Create the following YAML file named `cloudstate.yaml`:
|
Create the following YAML file named `cloudstate.yaml`:
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -31,7 +31,7 @@ The next step is to create a Dapr component for Consul.
|
||||||
|
|
||||||
Create the following YAML file named `consul.yaml`:
|
Create the following YAML file named `consul.yaml`:
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -35,7 +35,7 @@ The next step is to create a Dapr component for MongoDB.
|
||||||
|
|
||||||
Create the following YAML file named `mongodb.yaml`:
|
Create the following YAML file named `mongodb.yaml`:
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -32,7 +32,7 @@ The next step is to create a Dapr component for Zookeeper.
|
||||||
|
|
||||||
Create the following YAML file named `zookeeper.yaml`:
|
Create the following YAML file named `zookeeper.yaml`:
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -24,7 +24,7 @@ Create the following YAML file, named binding.yaml, and save this to the /compon
|
||||||
|
|
||||||
*Note: When running in Kubernetes, apply this file to your cluster using `kubectl apply -f binding.yaml`*
|
*Note: When running in Kubernetes, apply this file to your cluster using `kubectl apply -f binding.yaml`*
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -15,11 +15,12 @@ Examples for bindings include ```Kafka```, ```Rabbit MQ```, ```Azure Event Hubs`
|
||||||
|
|
||||||
A Dapr Binding yaml file has the following structure:
|
A Dapr Binding yaml file has the following structure:
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <NAME>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.<TYPE>
|
type: bindings.<TYPE>
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -54,6 +55,7 @@ apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: kafkaevent
|
name: kafkaevent
|
||||||
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
type: bindings.kafka
|
type: bindings.kafka
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -13,11 +13,12 @@
|
||||||
|
|
||||||
A Dapr State Store component yaml file has the following structure:
|
A Dapr State Store component yaml file has the following structure:
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <NAME>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: state.<TYPE>
|
type: state.<TYPE>
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -222,11 +223,12 @@ Actors don't support multiple state stores and require a transactional state sto
|
||||||
To specify which state store to be used for actors, specify value of property `actorStateStore` as true in the metadata section of the state store component yaml file.
|
To specify which state store to be used for actors, specify value of property `actorStateStore` as true in the metadata section of the state store component yaml file.
|
||||||
Example: Following components yaml will configure redis to be used as the state store for Actors.
|
Example: Following components yaml will configure redis to be used as the state store for Actors.
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: statestore
|
name: statestore
|
||||||
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
type: state.redis
|
type: state.redis
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# Azure Blob Storage Binding Spec
|
# Azure Blob Storage Binding Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.azure.blobstorage
|
type: bindings.azure.blobstorage
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# Azure CosmosDB Binding Spec
|
# Azure CosmosDB Binding Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.azure.cosmosdb
|
type: bindings.azure.cosmosdb
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# AWS DynamoDB Binding Spec
|
# AWS DynamoDB Binding Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.aws.dynamodb
|
type: bindings.aws.dynamodb
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -2,11 +2,12 @@
|
||||||
|
|
||||||
See [this](https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-dotnet-framework-getstarted-send) for instructions on how to set up an Event Hub.
|
See [this](https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-dotnet-framework-getstarted-send) for instructions on how to set up an Event Hub.
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.azure.eventhubs
|
type: bindings.azure.eventhubs
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# GCP Storage Bucket Spec
|
# GCP Storage Bucket Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.gcp.bucket
|
type: bindings.gcp.bucket
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# GCP Cloud Pub/Sub Binding Spec
|
# GCP Cloud Pub/Sub Binding Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.gcp.pubsub
|
type: bindings.gcp.pubsub
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# HTTP Binding Spec
|
# HTTP Binding Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.http
|
type: bindings.http
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# Kafka Binding Spec
|
# Kafka Binding Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.kafka
|
type: bindings.kafka
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -2,11 +2,12 @@
|
||||||
|
|
||||||
See [this](https://aws.amazon.com/kinesis/data-streams/getting-started/) for instructions on how to set up an AWS Kinesis data streams
|
See [this](https://aws.amazon.com/kinesis/data-streams/getting-started/) for instructions on how to set up an AWS Kinesis data streams
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.aws.kinesis
|
type: bindings.aws.kinesis
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# Kubernetes Events Binding Spec
|
# Kubernetes Events Binding Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.kubernetes
|
type: bindings.kubernetes
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# MQTT Binding Spec
|
# MQTT Binding Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.mqtt
|
type: bindings.mqtt
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# RabbitMQ Binding Spec
|
# RabbitMQ Binding Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.rabbitmq
|
type: bindings.rabbitmq
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# Redis Binding Spec
|
# Redis Binding Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.redis
|
type: bindings.redis
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# AWS S3 Binding Spec
|
# AWS S3 Binding Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.aws.s3
|
type: bindings.aws.s3
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# SendGrid Binding Spec
|
# SendGrid Binding Spec
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: sendgrid
|
name: sendgrid
|
||||||
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
type: bindings.twilio.sendgrid
|
type: bindings.twilio.sendgrid
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# Azure Service Bus Queues Binding Spec
|
# Azure Service Bus Queues Binding Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.azure.servicebusqueues
|
type: bindings.azure.servicebusqueues
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.azure.signalr
|
type: bindings.azure.signalr
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# AWS SNS Binding Spec
|
# AWS SNS Binding Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.aws.sns
|
type: bindings.aws.sns
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# AWS SQS Binding Spec
|
# AWS SQS Binding Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.aws.sqs
|
type: bindings.aws.sqs
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.azure.storagequeues
|
type: bindings.azure.storagequeues
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# Twilio SMS Binding Spec
|
# Twilio SMS Binding Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.twilio.sms
|
type: bindings.twilio.sms
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# Kubernetes Events Binding Spec
|
# Kubernetes Events Binding Spec
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: <name>
|
name: <NAME>
|
||||||
|
namespace: <NAMESPACE>
|
||||||
spec:
|
spec:
|
||||||
type: bindings.twitter
|
type: bindings.twitter
|
||||||
metadata:
|
metadata:
|
||||||
|
|
Loading…
Reference in New Issue