Browse Source

Add Minio to helm chart

master
Gyulai Dániel 4 years ago
parent
commit
1513020b24
  1. 39
      helm/covidok/templates/minio.yaml

39
helm/covidok/templates/minio.yaml

@ -0,0 +1,39 @@
apiVersion: v1
kind: Service
metadata:
name: minio
spec:
ports:
- port: 9000
selector:
app: minio-covidok
---
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
namespace: minio
name: minio-covidok
spec:
selector:
matchLabels:
app: minio-covidok
strategy:
type: Recreate
template:
metadata:
labels:
app: minio-covidok
spec:
containers:
- image: minio/minio
name: minio
env:
- name: MINIO_ACCESS_KEY
value: "secretaccesskey"
- name: MINIO_SECRET_KEY
value: "secretsecretkey"
ports:
- containerPort: 9000
name: minio
command: ["minio"]
args: ["server", "/data"]
Loading…
Cancel
Save