-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Add support for mysql (#74)
* chore: add mysql to subchart * feat: Add custom MySQL Values * feat: When mysql.enable is true, internal SQLite is disabled * feat: Add database-secrets for MySQL * feat: Modify the deployment for MySQL * feat: Add the Coturn schema to the initdb scripts * fix: Add the initdb script for PostgreSQL to custom values * feat: Add a custom Value for setting the database-secret key * refactor: Use the secret values when checking the MySQL startup * fix: Add a newline between extra-configmap and lt-cred-mech It was written as "verboselt-cred-mech" because there was no newline, so it has been corrected. * fix: Modify the image for checking the database startup to template * feat: Support for externalDatabase in MySQL * docs: Add MySQL chart usage
- Loading branch information
Showing
11 changed files
with
263 additions
and
18 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
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
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: initdb-scripts-config | ||
labels: | ||
{{ include "labels" . | nindent 4 }} | ||
data: | ||
schema.sql: | | ||
CREATE TABLE turnusers_lt ( | ||
realm varchar(127) default '', | ||
name varchar(512), | ||
hmackey char(128), | ||
PRIMARY KEY (realm,name) | ||
); | ||
CREATE TABLE turn_secret ( | ||
realm varchar(127) default '', | ||
value varchar(256), | ||
primary key (realm,value) | ||
); | ||
CREATE TABLE allowed_peer_ip ( | ||
realm varchar(127) default '', | ||
ip_range varchar(256), | ||
primary key (realm,ip_range) | ||
); | ||
CREATE TABLE denied_peer_ip ( | ||
realm varchar(127) default '', | ||
ip_range varchar(256), | ||
primary key (realm,ip_range) | ||
); | ||
CREATE TABLE turn_origin_to_realm ( | ||
origin varchar(127), | ||
realm varchar(127), | ||
primary key (origin) | ||
); | ||
CREATE TABLE turn_realm_option ( | ||
realm varchar(127) default '', | ||
opt varchar(32), | ||
value varchar(128), | ||
primary key (realm,opt) | ||
); | ||
CREATE TABLE oauth_key ( | ||
kid varchar(128), | ||
ikm_key varchar(256), | ||
timestamp bigint default 0, | ||
lifetime integer default 0, | ||
as_rs_alg varchar(64) default '', | ||
realm varchar(127), | ||
primary key (kid) | ||
); | ||
CREATE TABLE admin_user ( | ||
name varchar(32), | ||
realm varchar(127), | ||
password varchar(127), | ||
primary key (name) | ||
); |
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.