|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+apiVersion: argoproj.io/v1alpha1
|
|
|
2
|
+kind: AppProject
|
|
|
3
|
+metadata:
|
|
|
4
|
+ name: gitops-kaisers-info-int
|
|
|
5
|
+ namespace: argocd
|
|
|
6
|
+ # Finalizer that ensures that project is not deleted until it is not referenced by any application
|
|
|
7
|
+ finalizers:
|
|
|
8
|
+ - resources-finalizer.argocd.argoproj.io
|
|
|
9
|
+spec:
|
|
|
10
|
+ # Project description
|
|
|
11
|
+ description: The app bundle POC project
|
|
|
12
|
+
|
|
|
13
|
+ # Allow manifests to deploy from any Git repos
|
|
|
14
|
+ sourceRepos:
|
|
|
15
|
+ - '*'
|
|
|
16
|
+
|
|
|
17
|
+ # Only permit applications to deploy to the guestbook namespace in the same cluster
|
|
|
18
|
+ destinations:
|
|
|
19
|
+ - namespace: '*'
|
|
|
20
|
+ server: '*'
|
|
|
21
|
+
|
|
|
22
|
+ # Deny all cluster-scoped resources from being created, except for Namespace
|
|
|
23
|
+ clusterResourceWhitelist:
|
|
|
24
|
+ - group: '*'
|
|
|
25
|
+ kind: '*'
|