diff --git a/README.md b/README.md index c996956..9f3d8e6 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ _This page is referenced by wiki [front page](https://wiki.k-space.ee) as **the* - inventory - wildduck -### mariadb.infra.k-space.ee / 172.20.36.1 +### mariadb.infra.k-space.ee (DNS from ns1 to 172.20.36.1) - freescout - gitea nb! MYSQL_ROOT_PASSWORD seems to be invalid, might be ok to reset it upstream - wiki diff --git a/etherpad/application.yml b/etherpad/application.yml index e83eeb6..984d01b 100644 --- a/etherpad/application.yml +++ b/etherpad/application.yml @@ -42,7 +42,7 @@ spec: - name: DB_TYPE value: mysql - name: DB_HOST - value: 172.20.36.1 + value: mariadb.infra.k-space.ee - name: DB_NAME value: kspace_etherpad - name: DB_USER @@ -130,4 +130,4 @@ spec: protocol: TCP to: - ipBlock: - cidr: 172.20.36.1/32 + cidr: 172.20.36.1/32 # mariadb.infra.k-space.ee diff --git a/freescout/application.yml b/freescout/application.yml index 055ce16..b844323 100644 --- a/freescout/application.yml +++ b/freescout/application.yml @@ -85,7 +85,7 @@ spec: - /bin/bash - '-c' - >- - mysql -u kspace_freescout kspace_freescout -h 172.20.36.1 + mysql -u kspace_freescout kspace_freescout -h mariadb.infra.k-space.ee -p${MYSQL_PWD} < /tmp/update.sql env: - name: MYSQL_PWD diff --git a/gitea/application.yaml b/gitea/application.yaml index a8cc01a..ef6a990 100644 --- a/gitea/application.yaml +++ b/gitea/application.yaml @@ -97,7 +97,7 @@ spec: command: - /bin/bash - -c - - mysql -u kspace_git kspace_git -h 172.20.36.1 -p${MYSQL_PWD} < /tmp/update.sql + - mysql -u kspace_git kspace_git -h mariadb.infra.k-space.ee -p${MYSQL_PWD} < /tmp/update.sql --- apiVersion: apps/v1 kind: StatefulSet diff --git a/wiki/application.yml b/wiki/application.yml index 87c20fa..98a83ae 100644 --- a/wiki/application.yml +++ b/wiki/application.yml @@ -59,7 +59,7 @@ spec: command: - /bin/bash - -c - - mysql -u kspace_wiki kspace_wiki -h 172.20.36.1 -p${MYSQL_PWD} < /tmp/update.sql + - mysql -u kspace_wiki kspace_wiki -h mariadb.infra.k-space.ee -p${MYSQL_PWD} < /tmp/update.sql --- apiVersion: apps/v1 kind: StatefulSet diff --git a/woodpecker/woodpecker-db.env.example b/woodpecker/woodpecker-db.env.example index 64fe99c..6dd426a 100644 --- a/woodpecker/woodpecker-db.env.example +++ b/woodpecker/woodpecker-db.env.example @@ -1,2 +1,2 @@ # Don't be a dummy by commiting renders with secrets -WOODPECKER_DATABASE_DATASOURCE=kspace_woodpecker:@tcp(172.20.36.1:3306)/kspace_woodpecker?parseTime=true +WOODPECKER_DATABASE_DATASOURCE=kspace_woodpecker:@tcp(mariadb.infra.k-space.ee:3306)/kspace_woodpecker?parseTime=true