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"]