Merge branch 'v1.10' into add-nats-streamName

Signed-off-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>
This commit is contained in:
Hannah Hunter 2022-12-08 17:03:56 -06:00 committed by GitHub
commit 7dc04870d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 32 additions and 29 deletions

View File

@ -27,7 +27,7 @@ disableKinds = ["taxonomy", "term"]
# Google Analytics # Google Analytics
[services.googleAnalytics] [services.googleAnalytics]
id = "UA-149338238-3" id = "G-60C6Q1ETC1"
# Mounts # Mounts
[module] [module]

View File

@ -28,7 +28,7 @@ This table is meant to help users understand the equivalent options for running
| `--enable-metrics` | not supported | | configuration spec | Enable prometheus metric (default true) | | `--enable-metrics` | not supported | | configuration spec | Enable prometheus metric (default true) |
| `--enable-mtls` | not supported | | configuration spec | Enables automatic mTLS for daprd to daprd communication channels | | `--enable-mtls` | not supported | | configuration spec | Enables automatic mTLS for daprd to daprd communication channels |
| `--enable-profiling` | `--enable-profiling` | | `dapr.io/enable-profiling` | Enable profiling | | `--enable-profiling` | `--enable-profiling` | | `dapr.io/enable-profiling` | Enable profiling |
| `--unix-domain-socket` | `--unix-domain-socket` | `-u` | `dapr.io/unix-domain-socket-path` | On Linux, when communicating with the Dapr sidecar, use unix domain sockets for lower latency and greater throughput compared to TCP ports. Not available on Windows OS | | `--unix-domain-socket` | `--unix-domain-socket` | `-u` | `dapr.io/unix-domain-socket-path` | The parent directory of socket file. On Linux, when communicating with the Dapr sidecar, use unix domain sockets for lower latency and greater throughput compared to TCP ports. Not available on Windows OS. |
| `--log-as-json` | not supported | | `dapr.io/log-as-json` | Setting this parameter to `true` outputs logs in JSON format. Default is `false` | | `--log-as-json` | not supported | | `dapr.io/log-as-json` | Setting this parameter to `true` outputs logs in JSON format. Default is `false` |
| `--log-level` | `--log-level` | | `dapr.io/log-level` | Sets the log level for the Dapr sidecar. Allowed values are `debug`, `info`, `warn`, `error`. Default is `info` | | `--log-level` | `--log-level` | | `dapr.io/log-level` | Sets the log level for the Dapr sidecar. Allowed values are `debug`, `info`, `warn`, `error`. Default is `info` |
| `--enable-api-logging` | `--enable-api-logging` | | `dapr.io/enable-api-logging` | Enables API logging for the Dapr sidecar | | `--enable-api-logging` | `--enable-api-logging` | | `dapr.io/enable-api-logging` | Enables API logging for the Dapr sidecar |

View File

@ -29,7 +29,7 @@ spec:
| Field | Required | Binding support | Details | Example | | Field | Required | Binding support | Details | Example |
|--------------------|:--------:|-------|--------|---------| |--------------------|:--------:|-------|--------|---------|
| schedule | Y | Input/Output | The valid cron schedule to use. See [this](#schedule-format) for more details | `"@every 15m"` | schedule | Y | Input| The valid cron schedule to use. See [this](#schedule-format) for more details | `"@every 15m"`
### Schedule Format ### Schedule Format
@ -74,11 +74,7 @@ When running this code, note that the `/scheduled` endpoint is called every five
## Binding support ## Binding support
This component supports both **input and output** binding interfaces. This component supports **input** binding interface.
This component supports **output binding** with the following operations:
- `delete`
## Related links ## Related links

View File

@ -32,6 +32,8 @@ spec:
value: "/path/to/tls.crt" value: "/path/to/tls.crt"
- name: tls_client_key # Optional. Used for TLS Client authentication. - name: tls_client_key # Optional. Used for TLS Client authentication.
value: "/path/to/tls.key" value: "/path/to/tls.key"
- name: token # Optional. Used for token based authentication.
value: "my-token"
- name: name - name: name
value: "my-conn-name" value: "my-conn-name"
- name: streamName - name: streamName
@ -75,6 +77,7 @@ spec:
| seedKey | N | NATS decentralized authentication seed key | `"SUACS34K232O...5Z3POU7BNIL4Y"` | | seedKey | N | NATS decentralized authentication seed key | `"SUACS34K232O...5Z3POU7BNIL4Y"` |
| tls_client_cert | N | NATS TLS Client Authentication Certificate | `"/path/to/tls.crt"` | | tls_client_cert | N | NATS TLS Client Authentication Certificate | `"/path/to/tls.crt"` |
| tls_client_key | N | NATS TLS Client Authentication Key | `"/path/to/tls.key"` | | tls_client_key | N | NATS TLS Client Authentication Key | `"/path/to/tls.key"` |
| token | N | [NATS token based authentication] | `"my-token"` |
| name | N | NATS connection name | `"my-conn-name"` | | name | N | NATS connection name | `"my-conn-name"` |
| streamName | N | Name of the JetStream Stream to bind to | `"my-stream"` | | streamName | N | Name of the JetStream Stream to bind to | `"my-stream"` |
| durableName | N | [Durable name] | `"my-durable"` | | durableName | N | [Durable name] | `"my-durable"` |
@ -156,3 +159,4 @@ nats -s localhost:4222 stream add myStream --subjects mySubject
[Rate Limit]: https://docs.nats.io/jetstream/concepts/consumers#ratelimit [Rate Limit]: https://docs.nats.io/jetstream/concepts/consumers#ratelimit
[Hearbeat]: https://docs.nats.io/jetstream/concepts/consumers#hearbeat [Hearbeat]: https://docs.nats.io/jetstream/concepts/consumers#hearbeat
[Decentralized JWT Authentication/Authorization]: https://docs.nats.io/running-a-nats-service/configuration/securing_nats/auth_intro/jwt [Decentralized JWT Authentication/Authorization]: https://docs.nats.io/running-a-nats-service/configuration/securing_nats/auth_intro/jwt
[NATS token based authentication]: https://docs.nats.io/running-a-nats-service/configuration/securing_nats/auth_intro/tokens

View File

@ -27,6 +27,8 @@ spec:
value: "<SCHEMA NAME>" value: "<SCHEMA NAME>"
- name: tableName - name: tableName
value: "<TABLE NAME>" value: "<TABLE NAME>"
- name: timeoutInSeconds
value: "30"
- name: pemPath # Required if pemContents not provided. Path to pem file. - name: pemPath # Required if pemContents not provided. Path to pem file.
value: "<PEM PATH>" value: "<PEM PATH>"
- name: pemContents # Required if pemPath not provided. Pem value. - name: pemContents # Required if pemPath not provided. Pem value.
@ -48,11 +50,12 @@ If you wish to use MySQL as an actor store, append the following to the yaml.
| Field | Required | Details | Example | | Field | Required | Details | Example |
|--------------------|:--------:|---------|---------| |--------------------|:--------:|---------|---------|
| connectionString | Y | The connection string to connect to MySQL. Do not add the schema to the connection string | [Non SSL connection](#non-ssl-connection): `"<user>:<password>@tcp(<server>:3306)/?allowNativePasswords=true"`, [Enforced SSL Connection](#enforced-ssl-connection): `"<user>:<password>@tcp(<server>:3306)/?allowNativePasswords=true&tls=custom"`| | `connectionString` | Y | The connection string to connect to MySQL. Do not add the schema to the connection string | [Non SSL connection](#non-ssl-connection): `"<user>:<password>@tcp(<server>:3306)/?allowNativePasswords=true"`, [Enforced SSL Connection](#enforced-ssl-connection): `"<user>:<password>@tcp(<server>:3306)/?allowNativePasswords=true&tls=custom"`|
| schemaName | N | The schema name to use. Will be created if schema does not exist. Defaults to `"dapr_state_store"` | `"custom_schema"`, `"dapr_schema"` | | `schemaName` | N | The schema name to use. Will be created if schema does not exist. Defaults to `"dapr_state_store"` | `"custom_schema"`, `"dapr_schema"` |
| tableName | N | The table name to use. Will be created if table does not exist. Defaults to `"state"` | `"table_name"`, `"dapr_state"` | | `tableName` | N | The table name to use. Will be created if table does not exist. Defaults to `"state"` | `"table_name"`, `"dapr_state"` |
| pemPath | N | Full path to the PEM file to use for [enforced SSL Connection](#enforced-ssl-connection) required if pemContents is not provided. Cannot be used in K8s environment | `"/path/to/file.pem"`, `"C:\path\to\file.pem"` | | `timeoutInSeconds` | N | Timeout for all database operations. Defaults to `20` | `30` |
| pemContents | N | Contents of PEM file to use for [enforced SSL Connection](#enforced-ssl-connection) required if pemPath is not provided. Can be used in K8s environment | `"pem value"` | | `pemPath` | N | Full path to the PEM file to use for [enforced SSL Connection](#enforced-ssl-connection) required if pemContents is not provided. Cannot be used in K8s environment | `"/path/to/file.pem"`, `"C:\path\to\file.pem"` |
| `pemContents` | N | Contents of PEM file to use for [enforced SSL Connection](#enforced-ssl-connection) required if pemPath is not provided. Can be used in K8s environment | `"pem value"` |
## Setup MySQL ## Setup MySQL

View File

@ -8,12 +8,12 @@
output: true output: true
- component: Cron (Scheduler) - component: Cron (Scheduler)
link: cron link: cron
state: Alpha state: Stable
version: v1 version: v1
since: "1.0" since: "1.10"
features: features:
input: true input: true
output: true output: false
- component: GraphQL - component: GraphQL
link: graghql link: graghql
state: Alpha state: Alpha
@ -45,7 +45,7 @@
since: "1.0" since: "1.0"
features: features:
input: true input: true
output: true output: false
- component: Local Storage - component: Local Storage
link: localstorage link: localstorage
state: Stable state: Stable

View File

@ -1,8 +1,8 @@
- component: HashiCorp Vault - component: HashiCorp Vault
link: hashicorp-vault link: hashicorp-vault
state: Beta state: Stable
version: v1 version: v1
since: "1.9" since: "1.10"
features: features:
multipleKeyValuesPerSecret: true multipleKeyValuesPerSecret: true
- component: Local environment variables - component: Local environment variables

@ -1 +1 @@
Subproject commit 93b119798f533afa6601f480d6cfaf6a62c30388 Subproject commit 184e8e14a5e89d8760be6fc0e953a6a6f96cf6b2