REFACTOR(minio): arrange folder structure for Longhorn and MinIO
- Reorganize folder structure - Clean up configuration files
This commit is contained in:
@@ -15,7 +15,7 @@ spec:
|
||||
targetRevision: 1.7.2
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/longhorn/helm-values/longhorn.yaml
|
||||
- $values/longhorn/helm-values.yaml
|
||||
# Values file from Git repository
|
||||
- repoURL: https://gitea0213.kro.kr/bluemayne/databases.git
|
||||
targetRevision: main
|
||||
@@ -4,7 +4,8 @@ kind: Kustomization
|
||||
namespace: longhorn-system
|
||||
|
||||
resources:
|
||||
- ingress/longhorn-ingress.yaml
|
||||
- namespace.yaml
|
||||
- ingress.yaml
|
||||
- nodes/mayne-vcn.yaml
|
||||
- nodes/mayne-worker-1.yaml
|
||||
- nodes/mayne-worker-2.yaml
|
||||
|
||||
6
longhorn/namespace.yaml
Normal file
6
longhorn/namespace.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: longhorn-system
|
||||
labels:
|
||||
goldilocks.fairwinds.com/enabled: "true"
|
||||
@@ -15,7 +15,7 @@ spec:
|
||||
targetRevision: 5.2.0
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/minio/helm-values/minio.yaml
|
||||
- $values/minio/helm-values.yaml
|
||||
# Values file from Git repository
|
||||
- repoURL: https://gitea0213.kro.kr/bluemayne/databases.git
|
||||
targetRevision: main
|
||||
@@ -1,28 +0,0 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: minio-api
|
||||
namespace: minio
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
||||
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
spec:
|
||||
ingressClassName: haproxy
|
||||
tls:
|
||||
- hosts:
|
||||
- s3.minio0213.kro.kr
|
||||
secretName: minio-api-tls
|
||||
rules:
|
||||
- host: s3.minio0213.kro.kr
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: minio-service
|
||||
port:
|
||||
number: 9000
|
||||
@@ -1,5 +1,34 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: minio-api
|
||||
namespace: minio
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
||||
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
spec:
|
||||
ingressClassName: haproxy
|
||||
tls:
|
||||
- hosts:
|
||||
- s3.minio0213.kro.kr
|
||||
secretName: minio-api-tls
|
||||
rules:
|
||||
- host: s3.minio0213.kro.kr
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: minio-service
|
||||
port:
|
||||
number: 9000
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: minio-console
|
||||
namespace: minio
|
||||
@@ -2,8 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
# ArgoCD Application 리소스는 infrastructure/kustomization.yaml에서 관리
|
||||
# - argocd/minio.yaml
|
||||
- namespace.yaml
|
||||
- vault/minio-root-password.yaml
|
||||
- ingress-api.yaml
|
||||
- ingress-console.yaml
|
||||
- ingress.yaml
|
||||
|
||||
6
minio/namespace.yaml
Normal file
6
minio/namespace.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: minio
|
||||
labels:
|
||||
goldilocks.fairwinds.com/enabled: "true"
|
||||
Reference in New Issue
Block a user