Skip to content

Commit 201c236

Browse files
committed
Add app of apps
1 parent 8e8612c commit 201c236

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The flow is as follow:
1919
ArgoCD projects:
2020

2121
- **_infra_**: knative, cert-manager, sealed-secrets and argocd. `infra/argo-apps-infra.yaml` is the root ArgoCD Application for `infra/argo-apps`. `infra/argo-apps` store the ArgoCD Applications.
22-
- **_default_**: all applications manifests. `apps/argo-apps-default.yaml` is the root ArgoCD Application for `infra/argo-apps`. `apps/argo-apps` store the ArgoCD Applications.
22+
- **_default_**: all applications manifests. `apps/argo-apps-default.yaml` is the root ArgoCD Application for `apps/argo-apps`. `apps/argo-apps` store the ArgoCD Applications.
2323

2424
### Sealed Secrets
2525

apps/argo-apps/apps.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: ApplicationSet
3+
metadata:
4+
name: app-of-apps
5+
namespace: argocd
6+
spec:
7+
goTemplate: true
8+
generators:
9+
- git:
10+
repoURL: https://github.com/code4romania/code4ro-k8s.git
11+
revision: HEAD
12+
directories:
13+
- path: apps/*
14+
template:
15+
metadata:
16+
name: "{{ .path.basename }}"
17+
spec:
18+
project: default
19+
source:
20+
path: apps/{{ .path.basename }}
21+
repoURL: https://github.com/code4romania/code4ro-k8s.git
22+
targetRevision: HEAD
23+
destination:
24+
namespace: "{{ .path.basename }}"
25+
server: https://kubernetes.default.svc
26+
syncPolicy:
27+
# automated: {}
28+
syncOptions:
29+
- CreateNamespace=true

0 commit comments

Comments
 (0)