creation de nextcloud-kustom
This commit is contained in:
@ -0,0 +1,8 @@
|
||||
---
|
||||
nameReference:
|
||||
- kind: Secret
|
||||
fieldSpecs:
|
||||
- path: spec/superuserSecret/name
|
||||
kind: Cluster
|
||||
- path: spec/bootstrap/initdb/secret/name
|
||||
kind: Cluster
|
10
base/components/cnpg-database/kustomization.yaml
Normal file
10
base/components/cnpg-database/kustomization.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1alpha1
|
||||
kind: Component
|
||||
namespace: nextcloud
|
||||
|
||||
configurations:
|
||||
- ./configurations/cnpg-config.yaml
|
||||
|
||||
resources:
|
||||
- ./resources/nextcloud-cnpg.yaml
|
||||
|
14
base/components/cnpg-database/resources/nextcloud-cnpg.yaml
Normal file
14
base/components/cnpg-database/resources/nextcloud-cnpg.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: nextcloud-postgres
|
||||
namespace: nextcloud
|
||||
spec:
|
||||
instances: 1
|
||||
primaryUpdateStrategy: unsupervised
|
||||
bootstrap:
|
||||
initdb:
|
||||
database: nextcloud
|
||||
owner: nextcloud
|
||||
storage:
|
||||
size: 5Gi
|
Reference in New Issue
Block a user