diff --git a/services/minio/minio.yml b/services/minio/minio.yml index ebbb84308..3fc38c91e 100644 --- a/services/minio/minio.yml +++ b/services/minio/minio.yml @@ -31,6 +31,9 @@ spec: operator: In values: - minio + securityContext: + fsGroup: 65534 + fsGroupChangePolicy: "OnRootMismatch" containers: - name: minio image: docker.io/minio/minio:RELEASE.2022-10-24T18-35-07Z @@ -63,6 +66,17 @@ spec: effect: "NoExecute" volumes: - name: data - hostPath: - path: /mnt/data - type: Directory + persistentVolumeClaim: + claimName: minio-pv-claim +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: minio-pv-claim +spec: + storageClassName: nfs-hdd + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 2Ti