creation de nextcloud-kustom

This commit is contained in:
2023-08-30 11:35:31 +02:00
parent d3e895d0f3
commit 17b00068c4
53 changed files with 2034 additions and 0 deletions

View File

@ -0,0 +1,8 @@
---
nameReference:
- kind: Secret
fieldSpecs:
- path: spec/superuserSecret/name
kind: Cluster
- path: spec/bootstrap/initdb/secret/name
kind: Cluster

View 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

View 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