fix(overlay/dev): cleanup

This commit is contained in:
Philippe Caseiro 2024-01-25 14:47:16 +01:00
parent aefb346254
commit 96efb578b0
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,9 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: nextcloud-postgres
spec:
instances: 3
storage:
size: 50Gi
storageClass: directpv-min-io

View File

@ -8,6 +8,28 @@ spec:
- "minio"
pools:
- servers: 2
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: role
operator: In
values:
- storage
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: v1.min.io/tenant
operator: In
values:
- cds
- key: v1.min.io/pool
operator: In
values:
- pool-0
topologyKey: kubernetes.io/hostname
name: pool-0
volumesPerServer: 3
volumeClaimTemplate:
@ -19,6 +41,7 @@ spec:
resources:
requests:
storage: 3Gi
storageClassName: directpv-min-io
containerSecurityContext:
runAsUser: 1000
runAsGroup: 1000