Update development PostgreSQL passwords
This commit is contained in:
parent
9ebccc00ec
commit
534b367796
|
@ -23,7 +23,7 @@
|
||||||
path: /spec/template/spec/containers/0/env/-
|
path: /spec/template/spec/containers/0/env/-
|
||||||
value:
|
value:
|
||||||
name: GF_DATABASE_PASSWORD
|
name: GF_DATABASE_PASSWORD
|
||||||
value: testme
|
value: postgres
|
||||||
- op: add
|
- op: add
|
||||||
path: /spec/template/spec/containers/0/env/-
|
path: /spec/template/spec/containers/0/env/-
|
||||||
value:
|
value:
|
||||||
|
|
|
@ -73,6 +73,6 @@ NO_REPLY_ADDRESS = noreply.gitea.internal
|
||||||
[database]
|
[database]
|
||||||
DB_TYPE = postgres
|
DB_TYPE = postgres
|
||||||
HOST = dev-db
|
HOST = dev-db
|
||||||
PASSWD = testme
|
|
||||||
NAME = gitea
|
NAME = gitea
|
||||||
USER = postgres
|
USER = postgres
|
||||||
|
PASSWD = postgres
|
||||||
|
|
|
@ -14,7 +14,7 @@ helmCharts:
|
||||||
metrics:
|
metrics:
|
||||||
enabled: true
|
enabled: true
|
||||||
auth:
|
auth:
|
||||||
postgresPassword: testme
|
postgresPassword: postgres
|
||||||
database: default
|
database: default
|
||||||
|
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
|
@ -41,13 +41,13 @@ secretGenerator:
|
||||||
- admin-password=testme
|
- admin-password=testme
|
||||||
- name: invidious-credentials
|
- name: invidious-credentials
|
||||||
literals:
|
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:
|
# Individual keys required by init-invidious-db:
|
||||||
- database-host=dev-db
|
- database-host=dev-db
|
||||||
- database-port=5432
|
- database-port=5432
|
||||||
- database-name=invidious
|
- database-name=invidious
|
||||||
- database-user=kemal
|
- database-user=kemal
|
||||||
- database-password=testme
|
- database-password=kemal
|
||||||
- name: gitea-config
|
- name: gitea-config
|
||||||
literals:
|
literals:
|
||||||
- admin-username=rob
|
- admin-username=rob
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
-- Setup the PostgreSQL instance in the dev cluster.
|
-- Setup the PostgreSQL instance in the dev cluster.
|
||||||
-- TODO: automate the execution post-cluster start.
|
-- TODO: automate the execution post-cluster start.
|
||||||
CREATE DATABASE invidious;
|
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;
|
GRANT ALL PRIVILEGES ON DATABASE invidious TO kemal;
|
||||||
CREATE DATABASE grafana;
|
CREATE DATABASE grafana;
|
||||||
CREATE DATABASE drone;
|
CREATE DATABASE drone;
|
||||||
|
|
Loading…
Reference in New Issue