diff --git a/cnpg/resources/secrets/ext-pgo-creds.yaml b/cnpg/resources/secrets/ext-pgo-creds.yaml index 48d899d..156c290 100644 Binary files a/cnpg/resources/secrets/ext-pgo-creds.yaml and b/cnpg/resources/secrets/ext-pgo-creds.yaml differ diff --git a/forgejo/resources/db/db.yaml b/forgejo/resources/db/db.yaml new file mode 100644 index 0000000..a0f1cc5 --- /dev/null +++ b/forgejo/resources/db/db.yaml @@ -0,0 +1,7 @@ +apiVersion: db.movetokube.com/v1alpha1 +kind: Postgres +metadata: + name: forgejo +spec: + database: forgejo + dropOnDelete: false \ No newline at end of file diff --git a/forgejo/resources/db/user.yaml b/forgejo/resources/db/user.yaml new file mode 100644 index 0000000..8293f52 --- /dev/null +++ b/forgejo/resources/db/user.yaml @@ -0,0 +1,10 @@ +--- +apiVersion: db.movetokube.com/v1alpha1 +kind: PostgresUser +metadata: + name: forgejo +spec: + role: forgejo + database: forgejo + secretName: forgejo-db-credentials + privileges: OWNER \ No newline at end of file