REFACTOR(minio): arrange folder structure for Longhorn and MinIO
- Reorganize folder structure - Clean up configuration files
This commit is contained in:
126
longhorn/argocd.yaml
Normal file
126
longhorn/argocd.yaml
Normal file
@@ -0,0 +1,126 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: longhorn
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
|
||||
sources:
|
||||
# Helm chart from Longhorn repository
|
||||
- repoURL: https://charts.longhorn.io
|
||||
chart: longhorn
|
||||
targetRevision: 1.7.2
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/longhorn/helm-values.yaml
|
||||
# Values file from Git repository
|
||||
- repoURL: https://gitea0213.kro.kr/bluemayne/databases.git
|
||||
targetRevision: main
|
||||
ref: values
|
||||
# Ingress and Nodes from Git repository
|
||||
- repoURL: https://gitea0213.kro.kr/bluemayne/databases.git
|
||||
targetRevision: main
|
||||
path: longhorn
|
||||
kustomize: {}
|
||||
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: longhorn-system
|
||||
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
allowEmpty: false
|
||||
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- PrunePropagationPolicy=foreground
|
||||
- PruneLast=true
|
||||
- RespectIgnoreDifferences=true
|
||||
- ServerSideApply=true
|
||||
|
||||
retry:
|
||||
limit: 5
|
||||
backoff:
|
||||
duration: 5s
|
||||
factor: 2
|
||||
maxDuration: 3m
|
||||
|
||||
revisionHistoryLimit: 10
|
||||
|
||||
# Ignore differences in CRDs managed by Longhorn
|
||||
ignoreDifferences:
|
||||
- group: apiextensions.k8s.io
|
||||
kind: CustomResourceDefinition
|
||||
name: engines.longhorn.io
|
||||
jqPathExpressions:
|
||||
- .spec.conversion.webhook.clientConfig
|
||||
- .status
|
||||
- .metadata.annotations
|
||||
- .metadata.generation
|
||||
- .metadata.resourceVersion
|
||||
- .spec.preserveUnknownFields
|
||||
- group: apiextensions.k8s.io
|
||||
kind: CustomResourceDefinition
|
||||
name: engineimages.longhorn.io
|
||||
jqPathExpressions:
|
||||
- .spec.conversion.webhook.clientConfig
|
||||
- .status
|
||||
- .metadata.annotations
|
||||
- .metadata.generation
|
||||
- .metadata.resourceVersion
|
||||
- .spec.preserveUnknownFields
|
||||
- group: apiextensions.k8s.io
|
||||
kind: CustomResourceDefinition
|
||||
name: instancemanagers.longhorn.io
|
||||
jqPathExpressions:
|
||||
- .spec.conversion.webhook.clientConfig
|
||||
- .status
|
||||
- .metadata.annotations
|
||||
- .metadata.generation
|
||||
- .metadata.resourceVersion
|
||||
- .spec.preserveUnknownFields
|
||||
- group: apiextensions.k8s.io
|
||||
kind: CustomResourceDefinition
|
||||
name: nodes.longhorn.io
|
||||
jqPathExpressions:
|
||||
- .spec.conversion.webhook.clientConfig
|
||||
- .status
|
||||
- .metadata.annotations
|
||||
- .metadata.generation
|
||||
- .metadata.resourceVersion
|
||||
- .spec.preserveUnknownFields
|
||||
- group: apiextensions.k8s.io
|
||||
kind: CustomResourceDefinition
|
||||
name: replicas.longhorn.io
|
||||
jqPathExpressions:
|
||||
- .spec.conversion.webhook.clientConfig
|
||||
- .status
|
||||
- .metadata.annotations
|
||||
- .metadata.generation
|
||||
- .metadata.resourceVersion
|
||||
- .spec.preserveUnknownFields
|
||||
- group: apiextensions.k8s.io
|
||||
kind: CustomResourceDefinition
|
||||
name: settings.longhorn.io
|
||||
jqPathExpressions:
|
||||
- .spec.conversion.webhook.clientConfig
|
||||
- .status
|
||||
- .metadata.annotations
|
||||
- .metadata.generation
|
||||
- .metadata.resourceVersion
|
||||
- .spec.preserveUnknownFields
|
||||
- group: apiextensions.k8s.io
|
||||
kind: CustomResourceDefinition
|
||||
name: volumes.longhorn.io
|
||||
jqPathExpressions:
|
||||
- .spec.conversion.webhook.clientConfig
|
||||
- .status
|
||||
- .metadata.annotations
|
||||
- .metadata.generation
|
||||
- .metadata.resourceVersion
|
||||
- .spec.preserveUnknownFields
|
||||
Reference in New Issue
Block a user