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
|
targetRevision: 1.7.2
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/longhorn/helm-values/longhorn.yaml
|
- $values/longhorn/helm-values.yaml
|
||||||
# Values file from Git repository
|
# Values file from Git repository
|
||||||
- repoURL: https://gitea0213.kro.kr/bluemayne/databases.git
|
- repoURL: https://gitea0213.kro.kr/bluemayne/databases.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
@@ -4,7 +4,8 @@ kind: Kustomization
|
|||||||
namespace: longhorn-system
|
namespace: longhorn-system
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- ingress/longhorn-ingress.yaml
|
- namespace.yaml
|
||||||
|
- ingress.yaml
|
||||||
- nodes/mayne-vcn.yaml
|
- nodes/mayne-vcn.yaml
|
||||||
- nodes/mayne-worker-1.yaml
|
- nodes/mayne-worker-1.yaml
|
||||||
- nodes/mayne-worker-2.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
|
targetRevision: 5.2.0
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/minio/helm-values/minio.yaml
|
- $values/minio/helm-values.yaml
|
||||||
# Values file from Git repository
|
# Values file from Git repository
|
||||||
- repoURL: https://gitea0213.kro.kr/bluemayne/databases.git
|
- repoURL: https://gitea0213.kro.kr/bluemayne/databases.git
|
||||||
targetRevision: main
|
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
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
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:
|
metadata:
|
||||||
name: minio-console
|
name: minio-console
|
||||||
namespace: minio
|
namespace: minio
|
||||||
@@ -2,8 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
# ArgoCD Application 리소스는 infrastructure/kustomization.yaml에서 관리
|
- namespace.yaml
|
||||||
# - argocd/minio.yaml
|
|
||||||
- vault/minio-root-password.yaml
|
- vault/minio-root-password.yaml
|
||||||
- ingress-api.yaml
|
- ingress.yaml
|
||||||
- ingress-console.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