mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-24 21:52:36 +07:00
Move applicationsets and projects to separate folders
This commit is contained in:
parent
0095d9a166
commit
ecf7a3c9bf
@ -1,23 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: system-applicationset
|
||||
spec:
|
||||
generators:
|
||||
- git:
|
||||
repoURL: https://github.com/khuedoan/homelab.git
|
||||
revision: master
|
||||
directories:
|
||||
- path: examples/git-generator-directory/cluster-addons/*
|
||||
template:
|
||||
metadata:
|
||||
name: '{{path.basename}}'
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://github.com/argoproj-labs/applicationset.git
|
||||
targetRevision: HEAD
|
||||
path: '{{path}}'
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: '{{path.basename}}'
|
@ -6,6 +6,7 @@ resources:
|
||||
- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
|
||||
- https://raw.githubusercontent.com/argoproj-labs/applicationset/stable/manifests/install.yaml
|
||||
- ingress.yaml
|
||||
- system-applicationset.yaml
|
||||
- projects/system.yaml
|
||||
- applicationsets/system.yaml
|
||||
|
||||
namespace: argocd
|
||||
|
8
system/argocd/projects/system.yaml
Normal file
8
system/argocd/projects/system.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: system
|
||||
spec:
|
||||
description: System Project
|
||||
sourceRepos:
|
||||
- '*'
|
Loading…
Reference in New Issue
Block a user