mirror of https://github.com/dapr/docs.git
add versioning field for components (#906)
This commit is contained in:
parent
17746373b1
commit
3509967baa
|
@ -31,6 +31,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: bindings.kafka
|
||||
version: v1
|
||||
metadata:
|
||||
- name: brokers
|
||||
value: localhost:9092
|
||||
|
|
|
@ -39,6 +39,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: bindings.kafka
|
||||
version: v1
|
||||
metadata:
|
||||
- name: topics
|
||||
value: topic1
|
||||
|
|
|
@ -56,6 +56,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: exporters.zipkin
|
||||
version: v1
|
||||
metadata:
|
||||
- name: enabled
|
||||
value: "true"
|
||||
|
|
|
@ -31,6 +31,7 @@ metadata:
|
|||
name: pubsub
|
||||
spec:
|
||||
type: pubsub.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: localhost:6379
|
||||
|
@ -52,6 +53,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: pubsub.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: localhost:6379
|
||||
|
|
|
@ -51,6 +51,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: pubsub.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: "localhost:6379"
|
||||
|
@ -97,6 +98,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: pubsub.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: "localhost:6379"
|
||||
|
@ -121,6 +123,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: pubsub.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: "localhost:6379"
|
||||
|
|
|
@ -70,6 +70,7 @@ metadata:
|
|||
name: autoscaling-pubsub
|
||||
spec:
|
||||
type: pubsub.kafka
|
||||
version: v1
|
||||
metadata:
|
||||
- name: brokers
|
||||
value: kafka-cp-kafka.kafka.svc.cluster.local:9092
|
||||
|
|
|
@ -18,6 +18,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: middleware.http.opa
|
||||
version: v1
|
||||
metadata:
|
||||
# `includedHeaders` is a comma-seperated set of case-insensitive headers to include in the request input.
|
||||
# Request headers are not passed to the policy by default. Include to recieve incoming request headers in
|
||||
|
|
|
@ -133,6 +133,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: state.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: <HOST e.g. redis-master.default.svc.cluster.local:6379>
|
||||
|
@ -154,6 +155,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: pubsub.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: <HOST e.g. redis-master.default.svc.cluster.local:6379>
|
||||
|
@ -175,6 +177,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: state.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: <HOST>
|
||||
|
@ -194,6 +197,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: pubsub.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: <HOST>
|
||||
|
|
|
@ -23,6 +23,7 @@ metadata:
|
|||
namespace: production
|
||||
spec:
|
||||
type: state.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: redis-master:6379
|
||||
|
@ -71,6 +72,7 @@ metadata:
|
|||
namespace: production
|
||||
spec:
|
||||
type: state.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: redis-master:6379
|
||||
|
|
|
@ -61,6 +61,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: state.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: localhost:6379
|
||||
|
@ -78,6 +79,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: state.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: localhost:6379
|
||||
|
@ -111,6 +113,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: bindings.azure.eventhubs
|
||||
version: v1
|
||||
metadata:
|
||||
- name: connectionString
|
||||
secretKeyRef:
|
||||
|
|
|
@ -16,6 +16,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.apns
|
||||
version: v1
|
||||
metadata:
|
||||
- name: development
|
||||
value: <true | false>
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.azure.blobstorage
|
||||
version: v1
|
||||
metadata:
|
||||
- name: storageAccount
|
||||
value: myStorageAccountName
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.azure.cosmosdb
|
||||
version: v1
|
||||
metadata:
|
||||
- name: url
|
||||
value: https://******.documents.azure.com:443/
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.cron
|
||||
version: v1
|
||||
metadata:
|
||||
- name: schedule
|
||||
value: "@every 15m" # valid cron schedule
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.aws.dynamodb
|
||||
version: v1
|
||||
metadata:
|
||||
- name: region
|
||||
value: us-west-2
|
||||
|
|
|
@ -16,6 +16,7 @@ metadata:
|
|||
name: <name>
|
||||
spec:
|
||||
type: bindings.azure.eventgrid
|
||||
version: v1
|
||||
metadata:
|
||||
# Required Input Binding Metadata
|
||||
- name: tenantId
|
||||
|
|
|
@ -17,6 +17,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.azure.eventhubs
|
||||
version: v1
|
||||
metadata:
|
||||
- name: connectionString # Azure EventHubs connection string
|
||||
value: "Endpoint=sb://****"
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.gcp.bucket
|
||||
version: v1
|
||||
metadata:
|
||||
- name: bucket
|
||||
value: mybucket
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.gcp.pubsub
|
||||
version: v1
|
||||
metadata:
|
||||
- name: topic
|
||||
value: topic1
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.http
|
||||
version: v1
|
||||
metadata:
|
||||
- name: url
|
||||
value: http://something.com
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.influx
|
||||
version: v1
|
||||
metadata:
|
||||
- name: url # Required
|
||||
value: <INFLUX-DB-URL>
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.kafka
|
||||
version: v1
|
||||
metadata:
|
||||
- name: topics # Optional. in use for input bindings
|
||||
value: topic1,topic2
|
||||
|
|
|
@ -17,6 +17,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.aws.kinesis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: region
|
||||
value: AWS_REGION #replace
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.kubernetes
|
||||
version: v1
|
||||
metadata:
|
||||
- name: namespace
|
||||
value: <NAMESPACE>
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.mqtt
|
||||
version: v1
|
||||
metadata:
|
||||
- name: url
|
||||
value: mqtt[s]://[username][:password]@host.domain[:port]
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.postgres
|
||||
version: v1
|
||||
metadata:
|
||||
- name: url # Required
|
||||
value: <CONNECTION_STRING>
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.rabbitmq
|
||||
version: v1
|
||||
metadata:
|
||||
- name: queueName
|
||||
value: queue1
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: <address>:6379
|
||||
|
|
|
@ -23,6 +23,7 @@ metadata:
|
|||
name: changes
|
||||
spec:
|
||||
type: bindings.rethinkdb.statechange
|
||||
version: v1
|
||||
metadata:
|
||||
- name: address
|
||||
value: <REPLACE-RETHINKDB-ADDRESS> # Required, e.g. 127.0.0.1:28015 or rethinkdb.default.svc.cluster.local:28015).
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.aws.s3
|
||||
version: v1
|
||||
metadata:
|
||||
- name: region
|
||||
value: us-west-2
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: bindings.twilio.sendgrid
|
||||
version: v1
|
||||
metadata:
|
||||
- name: emailFrom
|
||||
value: "testapp@dapr.io" # optional
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.azure.servicebusqueues
|
||||
version: v1
|
||||
metadata:
|
||||
- name: connectionString
|
||||
value: "sb://************"
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.azure.signalr
|
||||
version: v1
|
||||
metadata:
|
||||
- name: connectionString
|
||||
value: Endpoint=https://<your-azure-signalr>.service.signalr.net;AccessKey=<your-access-key>;Version=1.0;
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.aws.sns
|
||||
version: v1
|
||||
metadata:
|
||||
- name: region
|
||||
value: us-west-2
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.aws.sqs
|
||||
version: v1
|
||||
metadata:
|
||||
- name: region
|
||||
value: us-west-2
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.azure.storagequeues
|
||||
version: v1
|
||||
metadata:
|
||||
- name: storageAccount
|
||||
value: "account1"
|
||||
|
|
|
@ -15,6 +15,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.twilio.sms
|
||||
version: v1
|
||||
metadata:
|
||||
- name: toNumber # required.
|
||||
value: 111-111-1111
|
||||
|
|
|
@ -17,6 +17,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.twitter
|
||||
version: v1
|
||||
metadata:
|
||||
- name: consumerKey
|
||||
value: "****" # twitter api consumer key, required
|
||||
|
|
|
@ -46,6 +46,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: pubsub.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: "redisHost"
|
||||
value: "redis-master.namespace-a.svc:6379"
|
||||
|
|
|
@ -21,6 +21,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: pubsub.<NAME>
|
||||
version: v1
|
||||
metadata:
|
||||
- name: <KEY>
|
||||
value: <VALUE>
|
||||
|
|
|
@ -33,6 +33,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: pubsub.kafka
|
||||
version: v1
|
||||
metadata:
|
||||
# Kafka broker connection setting
|
||||
- name: brokers
|
||||
|
|
|
@ -24,6 +24,7 @@ metadata:
|
|||
name: messagebus
|
||||
spec:
|
||||
type: pubsub.snssqs
|
||||
version: v1
|
||||
metadata:
|
||||
- name: awsEndpoint
|
||||
value: http://localhost:4566
|
||||
|
@ -101,6 +102,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: pubsub.snssqs
|
||||
version: v1
|
||||
metadata:
|
||||
# ID of the AWS account with appropriate permissions to SNS and SQS
|
||||
- name: awsAccountID
|
||||
|
|
|
@ -24,6 +24,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: pubsub.azure.eventhubs
|
||||
version: v1
|
||||
metadata:
|
||||
- name: connectionString
|
||||
value: <REPLACE-WITH-CONNECTION-STRING> # Required. "Endpoint=sb://****"
|
||||
|
|
|
@ -23,6 +23,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: pubsub.azure.servicebus
|
||||
version: v1
|
||||
metadata:
|
||||
- name: connectionString
|
||||
value: <REPLACE-WITH-CONNECTION-STRING> # Required.
|
||||
|
|
|
@ -23,6 +23,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: pubsub.gcp.pubsub
|
||||
version: v1
|
||||
metadata:
|
||||
- name: topic
|
||||
value: <TOPIC_NAME>
|
||||
|
|
|
@ -39,6 +39,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: pubsub.hazelcast
|
||||
version: v1
|
||||
metadata:
|
||||
- name: hazelcastServers
|
||||
value: <REPLACE-WITH-HOSTS> # Required. A comma delimited string of servers. Example: "hazelcast:3000,hazelcast2:3000"
|
||||
|
|
|
@ -89,6 +89,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: pubsub.mqtt
|
||||
version: v1
|
||||
metadata:
|
||||
- name: url
|
||||
value: "tcp://[username][:password]@host.domain[:port]"
|
||||
|
|
|
@ -54,6 +54,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: pubsub.natsstreaming
|
||||
version: v1
|
||||
metadata:
|
||||
- name: natsURL
|
||||
value: <REPLACE-WITH-NATS-SERVER-ADDRESS> # Required. example nats://localhost:4222
|
||||
|
|
|
@ -42,6 +42,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: pubsub.pulsar
|
||||
version: v1
|
||||
metadata:
|
||||
- name: host
|
||||
value: <REPLACE WITH PULSAR URL> #default is localhost:6650
|
||||
|
|
|
@ -52,6 +52,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: pubsub.rabbitmq
|
||||
version: v1
|
||||
metadata:
|
||||
- name: host
|
||||
value: <REPLACE-WITH-HOST> # Required. Example: "amqp://rabbitmq.default.svc.cluster.local:5672", "amqp://localhost:5672"
|
||||
|
|
|
@ -78,6 +78,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: pubsub.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: <HOST>
|
||||
|
|
|
@ -21,6 +21,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: secretstores.<NAME>
|
||||
version: v1
|
||||
metadata:
|
||||
- name: <KEY>
|
||||
value: <VALUE>
|
||||
|
|
|
@ -19,6 +19,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: secretstores.aws.secretmanager
|
||||
version: v1
|
||||
metadata:
|
||||
- name: region
|
||||
value: [aws_region] # Required.
|
||||
|
@ -47,6 +48,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: state.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: "[redis]:6379"
|
||||
|
|
|
@ -134,6 +134,7 @@ In Kubernetes mode, you store the certificate for the service principal into the
|
|||
namespace: default
|
||||
spec:
|
||||
type: secretstores.azure.keyvault
|
||||
version: v1
|
||||
metadata:
|
||||
- name: vaultName
|
||||
value: [your_keyvault_name]
|
||||
|
|
|
@ -102,6 +102,7 @@ Azure Managed Identity can be used for Azure Key Vault access on Kubernetes. Ins
|
|||
namespace: default
|
||||
spec:
|
||||
type: secretstores.azure.keyvault
|
||||
version: v1
|
||||
metadata:
|
||||
- name: vaultName
|
||||
value: [your_keyvault_name]
|
||||
|
@ -140,6 +141,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: secretstores.azure.keyvault
|
||||
version: v1
|
||||
metadata:
|
||||
- name: vaultName
|
||||
value: [your_keyvault_name]
|
||||
|
|
|
@ -24,6 +24,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: secretstores.local.env
|
||||
version: v1
|
||||
metadata:
|
||||
```
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: secretstores.local.file
|
||||
version: v1
|
||||
metadata:
|
||||
- name: secretsFile
|
||||
value: [path to the JSON file]
|
||||
|
|
|
@ -21,6 +21,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: secretstores.gcp.secretmanager
|
||||
version: v1
|
||||
metadata:
|
||||
- name: type
|
||||
value: service_account
|
||||
|
@ -80,6 +81,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: state.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: "[redis]:6379"
|
||||
|
|
|
@ -30,6 +30,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: secretstores.hashicorp.vault
|
||||
version: v1
|
||||
metadata:
|
||||
- name: vaultAddr
|
||||
value: [vault_address] # Optional. Default: "https://127.0.0.1:8200"
|
||||
|
@ -78,6 +79,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: state.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: "[redis]:6379"
|
||||
|
|
|
@ -20,6 +20,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: state.<DATABASE>
|
||||
version: v1
|
||||
metadata:
|
||||
- name: <KEY>
|
||||
value: <VALUE>
|
||||
|
|
|
@ -51,6 +51,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.Aerospike
|
||||
version: v1
|
||||
metadata:
|
||||
- name: hosts
|
||||
value: <REPLACE-WITH-HOSTS> # Required. A comma delimited string of hosts. Example: "aerospike:3000,aerospike2:3000"
|
||||
|
|
|
@ -30,6 +30,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.azure.blobstorage
|
||||
version: v1
|
||||
metadata:
|
||||
- name: accountName
|
||||
value: <REPLACE-WITH-ACCOUNT-NAME>
|
||||
|
@ -55,6 +56,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.azure.blobstorage
|
||||
version: v1
|
||||
metadata:
|
||||
- name: accountName
|
||||
value: <REPLACE-WITH-ACCOUNT-NAME>
|
||||
|
|
|
@ -31,6 +31,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.azure.cosmosdb
|
||||
version: v1
|
||||
metadata:
|
||||
- name: url
|
||||
value: <REPLACE-WITH-URL>
|
||||
|
@ -57,6 +58,7 @@ metadata:
|
|||
name: statestore
|
||||
spec:
|
||||
type: state.azure.cosmosdb
|
||||
version: v1
|
||||
metadata:
|
||||
- name: url
|
||||
value: https://accountname.documents.azure.com:443
|
||||
|
@ -77,6 +79,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.azure.cosmosdb
|
||||
version: v1
|
||||
metadata:
|
||||
- name: url
|
||||
value: <REPLACE-WITH-URL>
|
||||
|
|
|
@ -30,6 +30,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.azure.tablestorage
|
||||
version: v1
|
||||
metadata:
|
||||
- name: accountName
|
||||
value: <REPLACE-WITH-ACCOUNT-NAME>
|
||||
|
@ -55,6 +56,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.azure.tablestorage
|
||||
version: v1
|
||||
metadata:
|
||||
- name: accountName
|
||||
value: <REPLACE-WITH-ACCOUNT-NAME>
|
||||
|
|
|
@ -51,6 +51,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.cassandra
|
||||
version: v1
|
||||
metadata:
|
||||
- name: hosts
|
||||
value: <REPLACE-WITH-COMMA-DELIMITED-HOSTS> # Required. Example: cassandra.cassandra.svc.cluster.local
|
||||
|
@ -86,6 +87,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.cassandra
|
||||
version: v1
|
||||
metadata:
|
||||
- name: hosts
|
||||
value: <REPLACE-WITH-HOSTS>
|
||||
|
|
|
@ -36,6 +36,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: state.cloudstate
|
||||
version: v1
|
||||
metadata:
|
||||
- name: host
|
||||
value: "localhost:8013"
|
||||
|
|
|
@ -50,6 +50,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.consul
|
||||
version: v1
|
||||
metadata:
|
||||
- name: datacenter
|
||||
value: <REPLACE-WITH-DATA-CENTER> # Required. Example: dc1
|
||||
|
@ -79,6 +80,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.consul
|
||||
version: v1
|
||||
metadata:
|
||||
- name: datacenter
|
||||
value: <REPLACE-WITH-DATACENTER>
|
||||
|
|
|
@ -45,6 +45,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.couchbase
|
||||
version: v1
|
||||
metadata:
|
||||
- name: couchbaseURL
|
||||
value: <REPLACE-WITH-URL> # Required. Example: "http://localhost:8091"
|
||||
|
|
|
@ -51,6 +51,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.etcd
|
||||
version: v1
|
||||
metadata:
|
||||
- name: endpoints
|
||||
value: <REPLACE-WITH-COMMA-DELIMITED-ENDPOINTS> # Required. Example: "etcd-etcd.default.svc.cluster.local:2379"
|
||||
|
|
|
@ -35,6 +35,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.gcp.firestore
|
||||
version: v1
|
||||
metadata:
|
||||
- name: type
|
||||
value: <REPLACE-WITH-CREDENTIALS-TYPE> # Required. Example: "serviceaccount"
|
||||
|
|
|
@ -39,6 +39,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.hazelcast
|
||||
version: v1
|
||||
metadata:
|
||||
- name: hazelcastServers
|
||||
value: <REPLACE-WITH-HOSTS> # Required. A comma delimited string of servers. Example: "hazelcast:3000,hazelcast2:3000"
|
||||
|
|
|
@ -50,6 +50,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.memcached
|
||||
version: v1
|
||||
metadata:
|
||||
- name: hosts
|
||||
value: <REPLACE-WITH-COMMA-DELIMITED-ENDPOINTS> # Required. Example: "memcached.default.svc.cluster.local:11211"
|
||||
|
|
|
@ -54,6 +54,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.mongodb
|
||||
version: v1
|
||||
metadata:
|
||||
- name: host
|
||||
value: <REPLACE-WITH-HOST> # Required. Example: "mongo-mongodb.default.svc.cluster.local:27017"
|
||||
|
@ -89,6 +90,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.mondodb
|
||||
version: v1
|
||||
metadata:
|
||||
- name: host
|
||||
value: <REPLACE-WITH-HOST>
|
||||
|
|
|
@ -39,6 +39,7 @@ metadata:
|
|||
name: statestore
|
||||
spec:
|
||||
type: state.postgresql
|
||||
version: v1
|
||||
metadata:
|
||||
- name: connectionString
|
||||
value: "<CONNECTION STRING>"
|
||||
|
|
|
@ -85,6 +85,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: state.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: <HOST>
|
||||
|
|
|
@ -33,6 +33,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.rethinkdb
|
||||
version: v1
|
||||
metadata:
|
||||
- name: address
|
||||
value: <REPLACE-RETHINKDB-ADDRESS> # Required, e.g. 127.0.0.1:28015 or rethinkdb.default.svc.cluster.local:28015).
|
||||
|
|
|
@ -41,6 +41,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.sqlserver
|
||||
version: v1
|
||||
metadata:
|
||||
- name: connectionString
|
||||
value: <REPLACE-WITH-CONNECTION-STRING>
|
||||
|
@ -64,6 +65,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.sqlserver
|
||||
version: v1
|
||||
metadata:
|
||||
- name: connectionString
|
||||
secretKeyRef:
|
||||
|
|
|
@ -51,6 +51,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.zookeeper
|
||||
version: v1
|
||||
metadata:
|
||||
- name: servers
|
||||
value: <REPLACE-WITH-COMMA-DELIMITED-SERVERS> # Required. Example: "zookeeper.default.svc.cluster.local:2181"
|
||||
|
|
|
@ -23,6 +23,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: exporters.zipkin
|
||||
version: v1
|
||||
metadata:
|
||||
- name: enabled
|
||||
value: "true"
|
||||
|
@ -90,6 +91,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: exporters.zipkin
|
||||
version: v1
|
||||
metadata:
|
||||
- name: enabled
|
||||
value: "true"
|
||||
|
|
|
@ -55,6 +55,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: middleware.http.oauth2
|
||||
version: v1
|
||||
metadata:
|
||||
- name: clientId
|
||||
value: "<your client ID>"
|
||||
|
@ -101,6 +102,7 @@ metadata:
|
|||
name: myComponent
|
||||
spec:
|
||||
type: middleware.http.oauth2clientcredentials
|
||||
version: v1
|
||||
metadata:
|
||||
- name: clientId
|
||||
value: "<your client ID>"
|
||||
|
|
|
@ -23,6 +23,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: bindings.<TYPE>
|
||||
version: v1
|
||||
metadata:
|
||||
- name: <NAME>
|
||||
value: <VALUE>
|
||||
|
@ -58,6 +59,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: bindings.kafka
|
||||
version: v1
|
||||
metadata:
|
||||
- name: brokers
|
||||
value: "http://localhost:5050"
|
||||
|
|
|
@ -18,6 +18,7 @@ metadata:
|
|||
namespace: <NAMESPACE>
|
||||
spec:
|
||||
type: state.<TYPE>
|
||||
version: v1
|
||||
metadata:
|
||||
- name:<KEY>
|
||||
value:<VALUE>
|
||||
|
@ -387,6 +388,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: state.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
value: <redis host>
|
||||
|
|
|
@ -14,6 +14,7 @@ metadata:
|
|||
namespace: default
|
||||
spec:
|
||||
type: exporters.native
|
||||
version: v1
|
||||
metadata:
|
||||
- name: enabled
|
||||
value: "true"
|
||||
|
|
Loading…
Reference in New Issue