Skip to content

Commit 5e154b8

Browse files
committed
Update apps.yaml to exclude the argo-apps directory from the application set
1 parent 1e7b73c commit 5e154b8

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

apps/argo-apps-app.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: argo-apps-app
5+
namespace: argocd
6+
spec:
7+
project: default
8+
source:
9+
path: apps/argo-apps
10+
repoURL: https://github.com/code4romania/code4ro-k8s.git
11+
targetRevision: HEAD
12+
destination:
13+
namespace: argocd
14+
server: https://kubernetes.default.svc
15+
syncPolicy:
16+
automated: {}

apps/argo-app-of-apps.yaml renamed to apps/argo-apps/apps.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ spec:
1111
revision: HEAD
1212
directories:
1313
- path: apps/*
14+
- path: apps/argo-apps
15+
exclude: true
1416
template:
1517
metadata:
1618
name: "{{ .path.basename }}"

0 commit comments

Comments
 (0)