REFACTOR(minio): arrange folder structure for Longhorn and MinIO

- Reorganize folder structure
- Clean up configuration files
This commit is contained in:
2025-12-29 15:11:19 +09:00
parent 54f7f152da
commit 50c3ad5e9e
11 changed files with 47 additions and 35 deletions

50
minio/argocd.yaml Normal file
View File

@@ -0,0 +1,50 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: minio
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
sources:
# Official MinIO Helm chart
- repoURL: https://charts.min.io
chart: minio
targetRevision: 5.2.0
helm:
valueFiles:
- $values/minio/helm-values.yaml
# Values file from Git repository
- repoURL: https://gitea0213.kro.kr/bluemayne/databases.git
targetRevision: main
ref: values
# Vault secrets from Git repository
- repoURL: https://gitea0213.kro.kr/bluemayne/databases.git
targetRevision: main
path: minio
destination:
server: https://kubernetes.default.svc
namespace: minio
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
syncOptions:
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- PruneLast=true
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 3m
revisionHistoryLimit: 10