Skip to content

Commit d443677

Browse files
Added more apps
1 parent 89fbcd2 commit d443677

File tree

2 files changed

+64
-0
lines changed

2 files changed

+64
-0
lines changed
+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: argo-workflows
5+
# You'll usually want to add your resources to the argocd namespace.
6+
namespace: argocd
7+
# Add a this finalizer ONLY if you want these to cascade delete.
8+
finalizers:
9+
- resources-finalizer.argocd.argoproj.io
10+
spec:
11+
# The project the application belongs to.
12+
project: default
13+
14+
# Source of the application manifests
15+
source:
16+
repoURL: https://github.com/codefresh-contrib/gitops-cert-level-2-examples.git
17+
targetRevision: HEAD
18+
path: ./app-of-apps/manifests
19+
20+
# Destination cluster and namespace to deploy the application
21+
destination:
22+
server: https://kubernetes.default.svc
23+
namespace: argo-workflows
24+
25+
# Sync policy
26+
syncPolicy:
27+
syncOptions:
28+
- CreateNamespace=true
29+
automated: # automated sync by default retries failed attempts 5 times with following delays between attempts ( 5s, 10s, 20s, 40s, 80s ); retry controlled using `retry` field.
30+
prune: true # Specifies if resources should be pruned during auto-syncing ( false by default ).
31+
selfHeal: true # Specifies if partial app sync should be executed when resources are changed only in target Kubernetes cluster and no git change detected ( false by default ).
32+

app-of-apps/more-apps/kubeview.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: kubeview
5+
# You'll usually want to add your resources to the argocd namespace.
6+
namespace: argocd
7+
# Add a this finalizer ONLY if you want these to cascade delete.
8+
finalizers:
9+
- resources-finalizer.argocd.argoproj.io
10+
spec:
11+
# The project the application belongs to.
12+
project: default
13+
14+
# Source of the application manifests
15+
source:
16+
repoURL: https://github.com/codefresh-contrib/gitops-cert-level-2-examples.git
17+
targetRevision: HEAD
18+
path: ./app-of-apps/manifests
19+
20+
# Destination cluster and namespace to deploy the application
21+
destination:
22+
server: https://kubernetes.default.svc
23+
namespace: kubeview
24+
25+
# Sync policy
26+
syncPolicy:
27+
syncOptions:
28+
- CreateNamespace=true
29+
automated: # automated sync by default retries failed attempts 5 times with following delays between attempts ( 5s, 10s, 20s, 40s, 80s ); retry controlled using `retry` field.
30+
prune: true # Specifies if resources should be pruned during auto-syncing ( false by default ).
31+
selfHeal: true # Specifies if partial app sync should be executed when resources are changed only in target Kubernetes cluster and no git change detected ( false by default ).
32+

0 commit comments

Comments
 (0)