mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-10-29 17:12:34 +00:00
fix(projects): Moving definition of AppProjects
This commit is contained in:
10
apps/kustomization.yaml
Normal file
10
apps/kustomization.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: argocd
|
||||
commonLabels:
|
||||
dev.stonegarden: app-management
|
||||
app.kubernetes.io/managed-by: argocd
|
||||
|
||||
resources:
|
||||
- project.yaml
|
||||
- application-set.yaml
|
||||
30
apps/project.yaml
Normal file
30
apps/project.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: applications
|
||||
namespace: argocd
|
||||
spec:
|
||||
sourceNamespaces:
|
||||
- '*'
|
||||
sourceRepos:
|
||||
- 'https://github.com/vehagn/*'
|
||||
destinations:
|
||||
- namespace: 'argocd'
|
||||
server: '*'
|
||||
- namespace: 'arr'
|
||||
server: '*'
|
||||
- namespace: 'blog'
|
||||
server: '*'
|
||||
- namespace: 'home-assistant'
|
||||
server: '*'
|
||||
- namespace: 'plex'
|
||||
server: '*'
|
||||
- namespace: 'stonegarden'
|
||||
server: '*'
|
||||
- namespace: 'whoami'
|
||||
server: '*'
|
||||
- namespace: 'test'
|
||||
server: '*'
|
||||
clusterResourceWhitelist:
|
||||
- group: '*'
|
||||
kind: '*'
|
||||
10
infra/kustomization.yaml
Normal file
10
infra/kustomization.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: argocd
|
||||
commonLabels:
|
||||
dev.stonegarden: infra-management
|
||||
app.kubernetes.io/managed-by: argocd
|
||||
|
||||
resources:
|
||||
- project.yaml
|
||||
- application-set.yaml
|
||||
29
infra/project.yaml
Normal file
29
infra/project.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: infrastructure
|
||||
namespace: argocd
|
||||
spec:
|
||||
sourceRepos:
|
||||
- 'https://github.com/vehagn/homelab'
|
||||
- 'https://prometheus-community.github.io/helm-charts'
|
||||
- 'https://helm.traefik.io/*'
|
||||
- 'https://helm.cilium.io/*'
|
||||
destinations:
|
||||
- namespace: 'argocd'
|
||||
server: '*'
|
||||
- namespace: 'cert-manager'
|
||||
server: '*'
|
||||
- namespace: 'kubernetes-dashboard'
|
||||
server: '*'
|
||||
- namespace: 'metallb-system'
|
||||
server: '*'
|
||||
- namespace: 'monitoring'
|
||||
server: '*'
|
||||
- namespace: 'traefik-system'
|
||||
server: '*'
|
||||
- namespace: 'kube-system'
|
||||
server: '*'
|
||||
clusterResourceWhitelist:
|
||||
- group: '*'
|
||||
kind: '*'
|
||||
@@ -1,33 +1,4 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: applications
|
||||
namespace: argocd
|
||||
spec:
|
||||
sourceNamespaces:
|
||||
- '*'
|
||||
sourceRepos:
|
||||
- 'https://github.com/vehagn/*'
|
||||
destinations:
|
||||
- namespace: 'argocd'
|
||||
server: '*'
|
||||
- namespace: 'arr'
|
||||
server: '*'
|
||||
- namespace: 'home-assistant'
|
||||
server: '*'
|
||||
- namespace: 'plex'
|
||||
server: '*'
|
||||
- namespace: 'stonegarden'
|
||||
server: '*'
|
||||
- namespace: 'whoami'
|
||||
server: '*'
|
||||
- namespace: 'test'
|
||||
server: '*'
|
||||
clusterResourceWhitelist:
|
||||
- group: '*'
|
||||
kind: '*'
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: applications
|
||||
|
||||
@@ -1,34 +1,4 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: infrastructure
|
||||
namespace: argocd
|
||||
spec:
|
||||
sourceRepos:
|
||||
- 'https://github.com/vehagn/homelab'
|
||||
- 'https://prometheus-community.github.io/helm-charts'
|
||||
- 'https://helm.traefik.io/*'
|
||||
- 'https://helm.cilium.io/*'
|
||||
destinations:
|
||||
- namespace: 'argocd'
|
||||
server: '*'
|
||||
- namespace: 'cert-manager'
|
||||
server: '*'
|
||||
- namespace: 'kubernetes-dashboard'
|
||||
server: '*'
|
||||
- namespace: 'metallb-system'
|
||||
server: '*'
|
||||
- namespace: 'monitoring'
|
||||
server: '*'
|
||||
- namespace: 'traefik-system'
|
||||
server: '*'
|
||||
- namespace: 'kube-system'
|
||||
server: '*'
|
||||
clusterResourceWhitelist:
|
||||
- group: '*'
|
||||
kind: '*'
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: infrastructure
|
||||
|
||||
Reference in New Issue
Block a user