forgejo: Add configuration for crunchydata postgresql db
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
parent
fec5b5beb3
commit
0702e29cab
2 changed files with 11 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
||||||
apiVersion: postgres-operator.crunchydata.com/v1beta1
|
apiVersion: postgres-operator.crunchydata.com/v1beta1
|
||||||
kind: PostgresCluster
|
kind: PostgresCluster
|
||||||
metadata:
|
metadata:
|
||||||
|
annotations:
|
||||||
|
postgres-operator.crunchydata.com/autoCreateUserSchema: "true"
|
||||||
name: forgejo-ha
|
name: forgejo-ha
|
||||||
namespace: forgejo
|
namespace: forgejo
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -514,7 +514,15 @@ gitea:
|
||||||
OFFLINE_MODE: false
|
OFFLINE_MODE: false
|
||||||
|
|
||||||
## @param gitea.config.database Database configuration (only necessary with an [externally managed DB](https://code.forgejo.org/forgejo-helm/forgejo-helm#external-database)).
|
## @param gitea.config.database Database configuration (only necessary with an [externally managed DB](https://code.forgejo.org/forgejo-helm/forgejo-helm#external-database)).
|
||||||
database: {}
|
database:
|
||||||
|
HOST: "{{ forgejo_database_host }}"
|
||||||
|
NAME: "{{ forgejo_database_name }}"
|
||||||
|
USER: "{{ forgejo_database_user }}"
|
||||||
|
PASSWD: "{{ forgejo_database_password }}"
|
||||||
|
SCHEMA: "{{ forgejo_database_schema }}"
|
||||||
|
SSL_MODE: "require"
|
||||||
|
DB_TYPE: "postgres"
|
||||||
|
|
||||||
|
|
||||||
## @param gitea.config.indexer Settings for what content is indexed and how
|
## @param gitea.config.indexer Settings for what content is indexed and how
|
||||||
indexer: {}
|
indexer: {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue