Restructure app-of-apps

This commit is contained in:
Ian Keane 2026-08-19 10:45:59 -04:00
parent 3dac8f4ebc
commit b196aff758
5 changed files with 57 additions and 40 deletions

View file

@ -37,6 +37,7 @@ clean:
# Bootstrap ArgoCD app of apps (run once after cluster is up) # Bootstrap ArgoCD app of apps (run once after cluster is up)
bootstrap: bootstrap:
kubectl apply -f apps/apps.yaml kubectl apply -f apps/apps.yaml
@echo "ArgoCD will now manage apps/ directory - future group changes are self-healing via git push"
# Credentials # Credentials
talosconfig: talosconfig:

View file

@ -1,52 +1,14 @@
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: cluster name: apps
namespace: argocd namespace: argocd
spec: spec:
project: default project: default
source: source:
repoURL: https://forge.keane.sh/ian/dumpnet-argo.git repoURL: https://forge.keane.sh/ian/dumpnet-argo.git
targetRevision: HEAD targetRevision: HEAD
path: manifests/cluster path: apps
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: data
namespace: argocd
spec:
project: default
source:
repoURL: https://forge.keane.sh/ian/dumpnet-argo.git
targetRevision: HEAD
path: manifests/data
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: services
namespace: argocd
spec:
project: default
source:
repoURL: https://forge.keane.sh/ian/dumpnet-argo.git
targetRevision: HEAD
path: manifests/services
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: argocd namespace: argocd

18
apps/cluster.yaml Normal file
View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cluster
namespace: argocd
spec:
project: default
source:
repoURL: https://forge.keane.sh/ian/dumpnet-argo.git
targetRevision: HEAD
path: manifests/cluster
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true

18
apps/data.yaml Normal file
View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: data
namespace: argocd
spec:
project: default
source:
repoURL: https://forge.keane.sh/ian/dumpnet-argo.git
targetRevision: HEAD
path: manifests/data
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true

18
apps/services.yaml Normal file
View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: services
namespace: argocd
spec:
project: default
source:
repoURL: https://forge.keane.sh/ian/dumpnet-argo.git
targetRevision: HEAD
path: manifests/services
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true