Commit f66952e9 authored by kaiyou's avatar kaiyou
Browse files

Deploy minio as a temporary S3 storage

parent 8eaa67a6
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: storage-object
resources:
- ./namespace.yaml
- ./minio.yaml
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: minio
spec:
interval: 10m
chart:
spec:
chart: minio
sourceRef:
kind: HelmRepository
name: bitnami
namespace: default
interval: 10m
upgrade:
remediation:
remediateLastFailure: true
values:
existingSecret: minio
persistence:
enabled: true
size: 2Ti
storageClass: local-storage
ingress:
enabled: true
hostname: s3.tedomum.net
tls: true
certManager: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-http
---
apiVersion: v1
kind: Secret
metadata:
name: minio
type: Opaque
stringData:
access-key: ENC[AES256_GCM,data:Savve/o=,iv:z/xDHubHeBsAYzGJLcESomCn4lHBKYN1NLHvk+NXMFA=,tag:Y+1Oyx3tK9c0hW89Ub/76Q==,type:str]
secret-key: ENC[AES256_GCM,data:kWnT1pT1eOolXBen/TMxZd/Uly6hTs2rsvqfjaz063o=,iv:GPBqS23h49Igkc0qNtDSdRs7rZ+MXjS54We52oUs728=,tag:w4QVATa0S/NpL4nBoB4LRg==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: []
lastmodified: "2021-09-16T19:15:39Z"
mac: ENC[AES256_GCM,data:Nh0R5SjxuJgJ9Fum+BGvcX/ICGTV5ks3GqaHXUdeTCwtHtcUeptt4Kda38KB9oXdjY7HhoUjTxJaP7nGwlDQei4++XmmGkv/ZD/jWFq0oz9VWiWoh/OJZnn9SnfdikBjqZis6voxIK95h1TqBpy3u+wRrEXBEauCIM8MR50sp5E=,iv:ZyGH8Ybs1rQg79l1IvRJjADUAGOJcuJ42PvaGrc25b0=,tag:OdhHeOb1tuLoDupKySRE1A==,type:str]
pgp:
- created_at: "2021-09-16T19:15:39Z"
enc: |
-----BEGIN PGP MESSAGE-----
hQIMA86teSxQXh7gAQ/8CFtf18rB8IHmtDVHGqq5sp1Z1+gQu+1SpMtCR4Kbz+55
NT1tfYhxI7rrBkOGjePKhs0JDHkhL0JdDSusJnoBBctassdMA1cKHbIt1FvCbKj4
XTTgnUXv6xJGXPzOfyE1lBTdupUSXSOig43R6+IiOJS1gmNNBHV5YOu3pK3Dc2qc
icLFG0rN+4rJvskbdxHwv/qSqioFLEotdcjjt1qd0cpXvpY2WEmg1CnjoEnKgBX5
MSf/yav9ot4dNcBHEtGaZ8afLLRkYn0DpHlCvCKQ9XZpcI3kI2ATINi17p4btILZ
U0ogEMhB/TMTw2VY7Ym2I5hXvOB/JL8LyTF9LZHMdwo+kpQL2dLj83sqwXsysdlj
ScM0ehBoK5G0MSkYeU0ak7HwKw3NONO0HVo43HQrnAcK03D7EJ357birYv9fwdk8
M0xPAGfbnU4UlfRXVqsR/me2FwVACYkOMRWfwaicSGxc69l7EsWrNjkL+YCh5via
d4jykkNnHcErxMBrDO+gOvrvUoZk1v4WqiXEMm7k/o+ihEvP+Tz5jZRTaD5agQdO
lIEr/LYmHdj7rtsPzU3vAH1S/JABGpf6VX5ITs/j6In8Z0c7kjt8IB1NJI0dDVYf
/T/kddlQ/Kj3HBwiFQMGkRUh1+5W8fZ60PyOkhNjDBuTPYkm65m5I6G1o85SLYfS
XgHEFpBmhp47uSQDp1KySNtfJTWD6W8X/5SakbkCQhFfQtS2TK7kIdt1nSc8viSJ
pAfOoZY7xk+mpFVJPyP3a1HdMKHdLMKGe3qieMf+K8zGgTLJRhKQj34Zu4IKfeE=
=ZKIc
-----END PGP MESSAGE-----
fp: F70B0EDDA992FC1725F0CD6333D855CA20D4B367
encrypted_regex: ^(data|stringData)$
version: 3.7.1
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: minio-data
spec:
capacity:
storage: 2Ti
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
storageClassName: local-storage
local:
path: /data/minio
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- cyprus
---
apiVersion: v1
kind: Namespace
metadata:
name: storage-object
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment