forgejo: add postgresql operator config, secret
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
parent
42853033ba
commit
f8adba6df3
2 changed files with 16 additions and 0 deletions
|
@ -4,6 +4,12 @@ metadata:
|
|||
name: forgejo-ha
|
||||
namespace: forgejo
|
||||
spec:
|
||||
spec:
|
||||
users:
|
||||
- name: gitea
|
||||
databases:
|
||||
- gitea
|
||||
options: 'SUPERUSER'
|
||||
postgresVersion: 17
|
||||
instances:
|
||||
- name: forgejo-ha
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: hippo-pguser-rhino
|
||||
namespace: forgejo
|
||||
labels:
|
||||
postgres-operator.crunchydata.com/cluster: forgejo-ha
|
||||
postgres-operator.crunchydata.com/pguser: gitea
|
||||
stringData:
|
||||
password: "{{ (env == 'production') | ternary(forgejo_postgresql_password, forgejo_stg_postgresql_password) }}"
|
Loading…
Add table
Add a link
Reference in a new issue