mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
feat(argocd): Creating AppProjects for ArgoCD
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ metadata:
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
project: applications
|
||||
source:
|
||||
path: apps/arr
|
||||
repoURL: https://github.com/vehagn/homelab
|
||||
|
||||
@@ -6,14 +6,14 @@ metadata:
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: home-assistant
|
||||
name: in-cluster
|
||||
project: default
|
||||
project: applications
|
||||
source:
|
||||
path: apps/home-assistant
|
||||
repoURL: https://github.com/vehagn/homelab
|
||||
targetRevision: HEAD
|
||||
destination:
|
||||
namespace: home-assistant
|
||||
name: in-cluster
|
||||
syncPolicy:
|
||||
automated: {}
|
||||
syncOptions:
|
||||
|
||||
+4
-4
@@ -6,14 +6,14 @@ metadata:
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: plex
|
||||
name: in-cluster
|
||||
project: default
|
||||
project: applications
|
||||
source:
|
||||
path: apps/plex
|
||||
repoURL: https://github.com/vehagn/homelab
|
||||
targetRevision: HEAD
|
||||
destination:
|
||||
namespace: plex
|
||||
name: in-cluster
|
||||
syncPolicy:
|
||||
automated: {}
|
||||
syncOptions:
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ metadata:
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
project: applications
|
||||
source:
|
||||
path: apps/whoami
|
||||
repoURL: https://github.com/vehagn/homelab
|
||||
|
||||
@@ -1,4 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: applications
|
||||
namespace: argocd
|
||||
spec:
|
||||
sourceRepos:
|
||||
- 'https://github.com/vehagn/*'
|
||||
destinations:
|
||||
- namespace: 'arr'
|
||||
server: '*'
|
||||
- namespace: 'home-assistant'
|
||||
server: '*'
|
||||
- namespace: 'plex'
|
||||
server: '*'
|
||||
- namespace: 'whoami'
|
||||
server: '*'
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: applications
|
||||
@@ -6,12 +24,13 @@ metadata:
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
project: app-of-apps
|
||||
source:
|
||||
path: apps
|
||||
repoURL: https://github.com/vehagn/homelab
|
||||
targetRevision: HEAD
|
||||
destination:
|
||||
namespace: argocd
|
||||
name: in-cluster
|
||||
syncPolicy:
|
||||
automated:
|
||||
|
||||
@@ -1,17 +1,33 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: infrastructure
|
||||
namespace: argocd
|
||||
spec:
|
||||
sourceRepos:
|
||||
- 'https://github.com/vehagn/*'
|
||||
destinations:
|
||||
- namespace: 'metallb-system'
|
||||
server: '*'
|
||||
clusterResourceWhitelist:
|
||||
- group: '*'
|
||||
kind: '*'
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: infra
|
||||
name: infrastructure
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: infra
|
||||
project: app-of-apps
|
||||
source:
|
||||
path: infra
|
||||
repoURL: https://github.com/vehagn/homelab
|
||||
targetRevision: HEAD
|
||||
destination:
|
||||
namespace: argocd
|
||||
name: in-cluster
|
||||
syncPolicy:
|
||||
automated:
|
||||
|
||||
@@ -6,7 +6,8 @@ resources:
|
||||
- namespace.yaml
|
||||
- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
|
||||
- ingress.yaml
|
||||
- infra.yaml
|
||||
- project.yaml
|
||||
- infrastructure.yaml
|
||||
- applications.yaml
|
||||
|
||||
# Let Traefik manage TLS-termination
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: app-of-apps
|
||||
namespace: argocd
|
||||
spec:
|
||||
sourceRepos:
|
||||
- 'https://github.com/vehagn/*'
|
||||
destinations:
|
||||
- namespace: 'argocd'
|
||||
server: '*'
|
||||
+1
-1
@@ -6,7 +6,7 @@ metadata:
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
project: infrastructure
|
||||
source:
|
||||
path: infra/metallb
|
||||
repoURL: https://github.com/vehagn/homelab
|
||||
|
||||
Reference in New Issue
Block a user