Update development PostgreSQL passwords

This commit is contained in:
Rob Watson 2022-05-17 21:04:56 +02:00
parent 9ebccc00ec
commit 534b367796
4 changed files with 6 additions and 6 deletions

View File

@ -23,7 +23,7 @@
path: /spec/template/spec/containers/0/env/-
value:
name: GF_DATABASE_PASSWORD
value: testme
value: postgres
- op: add
path: /spec/template/spec/containers/0/env/-
value:

View File

@ -73,6 +73,6 @@ NO_REPLY_ADDRESS = noreply.gitea.internal
[database]
DB_TYPE = postgres
HOST = dev-db
PASSWD = testme
NAME = gitea
USER = postgres
PASSWD = postgres

View File

@ -14,7 +14,7 @@ helmCharts:
metrics:
enabled: true
auth:
postgresPassword: testme
postgresPassword: postgres
database: default
configMapGenerator:
@ -41,13 +41,13 @@ secretGenerator:
- admin-password=testme
- name: invidious-credentials
literals:
- database-url=postgresql://kemal:testme@dev-db:5432/invidious
- database-url=postgresql://kemal:kemal@dev-db:5432/invidious
# Individual keys required by init-invidious-db:
- database-host=dev-db
- database-port=5432
- database-name=invidious
- database-user=kemal
- database-password=testme
- database-password=kemal
- name: gitea-config
literals:
- admin-username=rob

View File

@ -1,7 +1,7 @@
-- Setup the PostgreSQL instance in the dev cluster.
-- TODO: automate the execution post-cluster start.
CREATE DATABASE invidious;
CREATE ROLE kemal LOGIN ENCRYPTED PASSWORD 'testme';
CREATE ROLE kemal LOGIN ENCRYPTED PASSWORD 'kemal';
GRANT ALL PRIVILEGES ON DATABASE invidious TO kemal;
CREATE DATABASE grafana;
CREATE DATABASE drone;