-
Notifications
You must be signed in to change notification settings - Fork 22
Expose sslMode contract and align Azure TLS behavior for mySqlDatabases/postgreSqlDatabases #302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
484a408
1e26cf1
cd1fe99
2cba931
fc27a11
4a70739
7520caf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,6 +51,9 @@ types: | |
| - CONNECTION_MYSQLDB_DATABASE | ||
| - CONNECTION_MYSQLDB_HOST | ||
| - CONNECTION_MYSQLDB_PORT | ||
| - CONNECTION_MYSQLDB_SSLMODE | ||
|
|
||
| The Kubernetes and AWS Recipes for this Resource Type provision the database so `sslMode` is `disabled`. The Azure Recipe Pack keeps the flexible server's `require_secure_transport` setting `ON` by default (matching Azure's own default), so `sslMode` is left unset when deployed through that Recipe; configure your client accordingly, or override the Azure Recipe Pack's `mySqlServerConfigurations` parameter to disable `require_secure_transport` if you want Azure to match the Kubernetes and AWS Recipes. | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This wording matches the implemented behavior — the Azure Recipe Pack defaults |
||
|
|
||
| apiVersions: | ||
| '2025-08-01-preview': | ||
|
|
@@ -87,4 +90,9 @@ types: | |
| type: integer | ||
| description: The port number used to connect to the database. Mapped from the recipe module's output (MySQL flexible server uses 3306). | ||
| readOnly: true | ||
| sslMode: | ||
| type: string | ||
| enum: ['required', 'disabled'] | ||
| description: (Read Only) Whether the database requires an encrypted (TLS/SSL) connection. Mapped from the recipe module's output. `required` means clients must connect over TLS/SSL; `disabled` means the Recipe does not enforce it. Configure your client accordingly rather than assuming a particular transport. | ||
| readOnly: true | ||
| required: [environment,username,password] | ||
Uh oh!
There was an error while loading. Please reload this page.