-
Notifications
You must be signed in to change notification settings - Fork 771
Open
Labels
content/missing-informationMore information requested or neededMore information requested or neededwaiting-on-code-prThe code PR needs to be merged before the docs are updatedThe code PR needs to be merged before the docs are updated
Description
What content needs to be created or modified?
Add spec.metadata.pemContents
to the component format as follows.
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: <NAME>
spec:
type: bindings.mysql
version: v1
metadata:
- name: url # Required, define DB connection in DSN format
value: "<CONNECTION_STRING>"
- name: pemPath # Optional
value: "<PEM PATH>"
- name: pemContents # Optional
value: "<PEM CONTENTS>"
- name: maxIdleConns
value: "<MAX_IDLE_CONNECTIONS>"
- name: maxOpenConns
value: "<MAX_OPEN_CONNECTIONS>"
- name: connMaxLifetime
value: "<CONNECTION_MAX_LIFE_TIME>"
- name: connMaxIdleTime
value: "<CONNECTION_MAX_IDLE_TIME>"
Add pemContents
to spec metadata fields.
Field | Required | Binding support | Details | Example |
---|---|---|---|---|
pemContents |
N | Output | Contents of PEM file. Used with SSL connection. Supersedes pemPath |
"-----BEGIN CERTIFICATE----- MIIFaDCCBFCgAwIBAgISESHkvZFwK9Qz0KsXD3x8p44aMA0GCSqGSIb3DQEBCwUA ... bbml6YXRpb252YWxzaGEyZzIuY3JsMIGgBggrBgEFBQcBAQSBkzCBkDBNBggrBgEF -----END CERTIFICATE-----" |
Describe the solution you'd like
Adjust documentation to cover spec.metadata.pemContents
Where should the new material be placed?
MySQL & MariaDB binding in existing tables.
The associated pull request from dapr/dapr, dapr/components-contrib, or other Dapr code repos
Adding spec.metadata.pemContents to MySQL Binding #3620
Additional context
No additional context to provide.
Metadata
Metadata
Assignees
Labels
content/missing-informationMore information requested or neededMore information requested or neededwaiting-on-code-prThe code PR needs to be merged before the docs are updatedThe code PR needs to be merged before the docs are updated