Projects abound

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2023-10-26 14:45:13 +02:00
parent cfc3673a85
commit 2d33ad4aa7
4 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,17 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-of-apps
namespace: argocd
spec:
destination:
namespace: argocd
server: https://kubernetes.default.svc
project: infra
source:
path: everything-app/
repoURL: https://git.martyn.berlin/martyn/infra4talos.git
targetRevision: HEAD
syncPolicy:
automated:
selfHeal: true

View File

@ -7,7 +7,7 @@ spec:
destination: destination:
namespace: argocd namespace: argocd
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
project: default project: infra
source: source:
path: manifests/cluster-install path: manifests/cluster-install
repoURL: https://github.com/argoproj/argo-cd repoURL: https://github.com/argoproj/argo-cd

View File

@ -0,0 +1,9 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: apps
namespace: argocd
spec:
description: everything non-infra
sourceRepos:
- https://git.martyn.berlin/martyn/infra4talos.git

View File

@ -0,0 +1,13 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: infra
namespace: argocd
spec:
description: argo, nginx-ingress, etc.
destinations:
- name: '*'
namespace: '*'
server: https://kubernetes.default.svc
sourceRepos:
- https://git.martyn.berlin/martyn/infra4talos.git