--- kind: Deployment apiVersion: apps/v1 metadata: name: minio namespace: minio spec: replicas: 1 selector: matchLabels: app: minio template: metadata: labels: app: minio spec: containers: - name: minio image: quay.io/minio/aistor/minio command: ["minio"] args: ["server", "/data"] ports: - name: web-ui containerPort: 9000 env: - name: MINIO_ROOT_USER valueFrom: secretKeyRef: name: minio-secret key: minio-root-user - name: MINIO_ROOT_PASSWORD valueFrom: secretKeyRef: name: minio-secret key: minio-root-password volumeMounts: - name: minio-data mountPath: /data volumes: - name: minio-data persistentVolumeClaim: claimName: minio-data