53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
apiVersion: minio.min.io/v2
|
|
kind: Tenant
|
|
metadata:
|
|
name: nextcloud-minio
|
|
spec:
|
|
certConfig:
|
|
dnsNames:
|
|
- "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:
|
|
metadata:
|
|
name: nextcloud-minio-data
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 3Gi
|
|
storageClassName: directpv-min-io
|
|
containerSecurityContext:
|
|
runAsUser: 1000
|
|
runAsGroup: 1000
|
|
runAsNonRoot: true
|
|
configuration:
|
|
name: nextcloud-minio-configuration
|
|
users:
|
|
- name: nextcloud-minio-user
|