diff --git a/kind/bin/setup-dev-db.sql b/kind/bin/setup-dev-db.sql new file mode 100644 index 0000000..80171d4 --- /dev/null +++ b/kind/bin/setup-dev-db.sql @@ -0,0 +1,8 @@ +-- 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'; +GRANT ALL PRIVILEGES ON DATABASE invidious TO kemal; +CREATE DATABASE grafana; +CREATE DATABASE drone; +CREATE DATABASE gitea;