feat: initial homelab-gitops declarative structure (Terraform & ArgoCD)
This commit is contained in:
30
argocd/bootstrap/root-app-of-apps.yaml
Normal file
30
argocd/bootstrap/root-app-of-apps.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: root-app-of-apps
|
||||
namespace: infrastructure
|
||||
labels:
|
||||
app.kubernetes.io/name: root-app-of-apps
|
||||
annotations:
|
||||
notifications.argoproj.io/subscribe.on-sync-failed.gotify: ""
|
||||
notifications.argoproj.io/subscribe.on-health-degraded.gotify: ""
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: homelab
|
||||
source:
|
||||
repoURL: "https://git.snarfnet.net/Snarf/homelab-gitops.git"
|
||||
targetRevision: HEAD
|
||||
path: argocd/bootstrap
|
||||
directory:
|
||||
recurse: true
|
||||
destination:
|
||||
server: "https://kubernetes.default.svc"
|
||||
namespace: infrastructure
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
Reference in New Issue
Block a user