wraft-helm/templates/deployment-minio.yaml

31 lines
673 B
YAML
Raw Permalink Normal View History

2024-11-14 10:21:30 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: myproject-minio
spec:
replicas: 1
selector:
matchLabels:
app: myproject-minio
template:
metadata:
labels:
app: myproject-minio
spec:
containers:
- name: minio
image: quay.io/minio/minio
command:
- "minio"
- "server"
- "/data"
- "--console-address=:9001"
ports:
- containerPort: 9000
- containerPort: 9001
env:
- name: MINIO_ROOT_USER
value: "minioadmin"
- name: MINIO_ROOT_PASSWORD
value: "minioadmin"