From 1513020b245ccc3cda646e2c36246c0a267396ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gyulai=20D=C3=A1niel?= Date: Thu, 12 Nov 2020 05:16:55 -0500 Subject: [PATCH] Add Minio to helm chart --- helm/covidok/templates/minio.yaml | 39 +++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 helm/covidok/templates/minio.yaml diff --git a/helm/covidok/templates/minio.yaml b/helm/covidok/templates/minio.yaml new file mode 100644 index 0000000..d6d382f --- /dev/null +++ b/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"]