-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[utils] Add support for different database types
Add an option to choose database type and generate different configurations for ProxySQL and oslo.db connection The following options are available: - mariadb - pxc-db To choose the different database type - Variable dbType should be set - Chart (pxc-db or mariadb) should be present in the dependencies To make this selection possible following things changed: - Added helper function utils.db_host - Added helper function utils.db_url - Extended helper function db_credentials - Added helpers `utils._db_url_*` and `utils._db_host_*` for mariadb and pxc-db One specific case is supported which doesn't require a chart dependency: ``` proxysql: force_enable: - mariadb ``` This is currently being used in the Placement chart, because Placement reuses nova_api database instance Other changes in this commit: - Improve readability of the db_host_pxc and db_url_pxc functions - Update proxysql sidecar docs
- Loading branch information
Showing
7 changed files
with
222 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: v1 | ||
description: A Helm chart for Kubernetes | ||
name: utils | ||
version: 0.18.4 | ||
version: 0.19.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.