Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
apiVersion: v1
kind: Secret
metadata:
name: test-minio-creds-secret
type: Opaque
data:
accesskey: bWluaW8= # base 64 encoded "minio" (echo -n 'minio' | base64)
secretkey: bWluaW8xMjM= # based 64 encoded "minio123" (echo -n 'minio123' | base64)
---
apiVersion: minio.min.io/v1
kind: Tenant
metadata:
name: one-zone
spec:
metadata:
labels:
app: minio
annotations:
prometheus.io/path: /minio/prometheus/metrics
prometheus.io/port: "9000"
prometheus.io/scrape: "true"
image: minio/minio:RELEASE.2020-08-08T04-50-06Z
zones:
- servers: 18
volumesPerServer: 6
volumeClaimTemplate:
metadata:
name: data
spec:
storageClassName: minio-local-storage
resources:
requests:
storage: 14Ti
accessModes:
- ReadWriteOnce
credsSecret:
name: test-minio-creds-secret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment