This commit is contained in:
parent
34fdc97f85
commit
f1367e5c9b
4 changed files with 34 additions and 0 deletions
9
meali/kustomization.yaml
Normal file
9
meali/kustomization.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: meali
|
||||
|
||||
resources:
|
||||
- resources/namespace.yaml
|
||||
- resources/db/db.yaml
|
||||
- resources/db/user.yaml
|
8
meali/resources/db/db.yaml
Normal file
8
meali/resources/db/db.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
apiVersion: db.movetokube.com/v1alpha1
|
||||
kind: Postgres
|
||||
metadata:
|
||||
name: meali
|
||||
spec:
|
||||
database: meali
|
||||
dropOnDelete: false
|
10
meali/resources/db/user.yaml
Normal file
10
meali/resources/db/user.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
apiVersion: db.movetokube.com/v1alpha1
|
||||
kind: PostgresUser
|
||||
metadata:
|
||||
name: meali
|
||||
spec:
|
||||
role: meali
|
||||
database: meali
|
||||
secretName: db-credentials
|
||||
privileges: OWNER
|
7
meali/resources/namespace.yaml
Normal file
7
meali/resources/namespace.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: meali
|
||||
labels:
|
||||
prometheus: default
|
Loading…
Reference in a new issue