Commit 176734f8 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add and update mariadb configs

parent eaae34ac
......@@ -84,4 +84,9 @@ place facet, and the date facet.
These are either update with the utility scripts or by hand.
#### Update Elastic Indices
This script is used to change the target indices for the various elastic indexer services.
\ No newline at end of file
This script is used to change the target indices for the various elastic indexer services.
#### MariaDB Media Table Configs
Used by services which need to be accessed the media database.
- `*/update.mariadb-mediaserver-configs.sh`
\ No newline at end of file
apiVersion: v1
kind: ConfigMap
metadata:
name: prod-mariadb-db-medienserver-configs
namespace: memobase
labels:
environment: prod
data:
MARIADB_HOST: dd-db1.ub.unibas.ch
MARIADB_PORT: "3306"
MARIADB_DATABASE: medienserver
#!/usr/bin/env bash
kubectl apply -f ./mariadb
\ No newline at end of file
apiVersion: v1
kind: ConfigMap
metadata:
name: stage-mariadb-db-medienserver-configs
namespace: memobase
labels:
environment: stage
data:
MARIADB_HOST: dd-db2.ub.unibas.ch
MARIADB_PORT: "3306"
MARIADB_DATABASE: medienserver_stage
#!/usr/bin/env bash
kubectl apply -f ./mariadb
\ No newline at end of file
apiVersion: v1
kind: ConfigMap
metadata:
name: test-mariadb-db-medienserver-configs
namespace: memobase
labels:
environment: test
data:
MARIADB_HOST: dd-db2.ub.unibas.ch
MARIADB_PORT: "3306"
MARIADB_DATABASE: medienserver_test
#!/usr/bin/env bash
kubectl apply -f ./mariadb
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment