Skip to content

Commit aab8f50

Browse files
committed
feat: Add minio example (using minio operator)
1 parent 1bb65b3 commit aab8f50

3 files changed

+54
-0
lines changed

install-minio-operator.sh

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
3+
helm upgrade --install \
4+
--namespace minio-operator \
5+
--create-namespace \
6+
minio-operator operator --repo https://operator.min.io/

install-minio-tenant.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
3+
helm upgrade --install \
4+
--namespace minio \
5+
--create-namespace \
6+
minio tenant --repo https://operator.min.io/ \
7+
--values ./minio-tenant.values.yml

minio-tenant.values.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# https://github.com/minio/operator/blob/master/helm/tenant/values.yaml
2+
secrets:
3+
name: minio
4+
accessKey: admin
5+
secretKey: asdfasdf
6+
tenant:
7+
configuration:
8+
name: minio
9+
name: minio
10+
pools:
11+
- servers: 2
12+
volumesPerServer: 4
13+
size: 10Gi
14+
storageClassName: longhorn
15+
ingress:
16+
api:
17+
enabled: true
18+
ingressClassName: nginx
19+
annotations:
20+
cert-manager.io/cluster-issuer: letsencrypt
21+
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
22+
tls:
23+
- hosts:
24+
- minio.k8s.sikademo.com
25+
secretName: ingres-api-tls
26+
host: minio.k8s.sikademo.com
27+
path: /
28+
pathType: Prefix
29+
console:
30+
enabled: true
31+
ingressClassName: nginx
32+
annotations:
33+
cert-manager.io/cluster-issuer: letsencrypt
34+
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
35+
tls:
36+
- hosts:
37+
- minio-console.k8s.sikademo.com
38+
secretName: ingres-console-tls
39+
host: minio-console.k8s.sikademo.com
40+
path: /
41+
pathType: Prefix

0 commit comments

Comments
 (0)