2023-09-04 12:40:18 +02:00
|
|
|
apiVersion: minio.min.io/v2
|
|
|
|
kind: Tenant
|
|
|
|
metadata:
|
|
|
|
name: nextcloud-minio
|
|
|
|
spec:
|
|
|
|
certConfig:
|
|
|
|
dnsNames:
|
|
|
|
- "minio"
|
|
|
|
pools:
|
|
|
|
- servers: 2
|
2024-01-25 14:47:16 +01:00
|
|
|
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
|
2023-09-04 12:40:18 +02:00
|
|
|
name: pool-0
|
|
|
|
volumesPerServer: 3
|
|
|
|
volumeClaimTemplate:
|
|
|
|
metadata:
|
|
|
|
name: nextcloud-minio-data
|
|
|
|
spec:
|
|
|
|
accessModes:
|
|
|
|
- ReadWriteOnce
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
storage: 3Gi
|
2024-01-25 14:47:16 +01:00
|
|
|
storageClassName: directpv-min-io
|
2023-09-04 12:40:18 +02:00
|
|
|
containerSecurityContext:
|
|
|
|
runAsUser: 1000
|
|
|
|
runAsGroup: 1000
|
|
|
|
runAsNonRoot: true
|
|
|
|
configuration:
|
|
|
|
name: nextcloud-minio-configuration
|
|
|
|
users:
|
|
|
|
- name: nextcloud-minio-user
|