Skip to content

Example of mono repo for multiple clusters #2

@luckylittle

Description

@luckylittle

Hi mate,

I like this structure and use something similar myself. However, most people have multiple clusters. I would be interested to see how you would personally laid this out...

Something like this? ⬇️

dev/cluster-XXX1/
    ├── bootstrap
    │   ├── base
    │   │   ├── kustomization.yaml
    │   │   ├── openshift-gitops-operatorgroup.yaml
    │   │   └── openshift-gitops-subscription.yaml
    │   └── overlays
    │       └── default
    │           ├── kustomization.yaml
    │           ├── openshift-gitops-argocd.yaml
    │           └── openshift-gitops-rbac-policy.yaml
    ├── components
    │   ├── applicationsets
    │   │   ├── core-components-appset.yaml
    │   │   ├── kustomization.yaml
    │   │   └── tenants-appset.yaml
    │   └── argocdproj
    │       ├── kustomization.yaml
    │       └── project1.yaml
    ├── core
    │   ├── operator1
    │   │   ├── operator-subscription.yaml
    │   │   ├── operator-operatorgroup.yaml
    │   │   └── kustomization.yaml
    │   └── gitops-controller
    │       └── kustomization.yaml
    └── tenants
        ├── app1
        └── app2
dev/cluster-XXX2/
prod/cluster-XXX1/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions