Compare commits

...

2 Commits

Author SHA1 Message Date
Martyn 099fd2b2a3 Allow apps to have a destination
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2023-10-26 14:47:40 +02:00
Martyn 2d33ad4aa7 Projects abound
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2023-10-26 14:45:13 +02:00
4 changed files with 44 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,13 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: apps
namespace: argocd
spec:
description: everything non-infra
sourceRepos:
- https://git.martyn.berlin/martyn/infra4talos.git
destinations:
- name: '*'
namespace: '*'
server: https://kubernetes.default.svc

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