1
+ apiVersion : argoproj.io/v1alpha1
2
+ kind : AppProject
3
+ metadata :
4
+ name : leaderboards
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 : leaderboards
12
+
13
+ # Allow manifests to deploy from any Git repos
14
+ sourceRepos :
15
+ - ' https://github.com/lunatech-labs/*'
16
+
17
+ # Only permit applications to deploy to the guestbook namespace in the same cluster
18
+ destinations :
19
+ - namespace : leaderboards
20
+ server : https://kubernetes.default.svc
21
+
22
+ # Allow all namespaced-scoped resources to be created, except for ResourceQuota, LimitRange, NetworkPolicy
23
+ namespaceResourceBlacklist :
24
+ - group : ' '
25
+ kind : ResourceQuota
26
+ - group : ' '
27
+ kind : LimitRange
28
+ - group : ' '
29
+ kind : NetworkPolicy
30
+
31
+ # Enables namespace orphaned resource monitoring.
32
+ orphanedResources :
33
+ warn : false
34
+
35
+ roles :
36
+ - name : full-access
37
+ description : Developer privileges to my-project
38
+ policies :
39
+ - p, role:leaderboards, applications, create, leaderboards/*, allow
40
+ - p, role:leaderboards, applications, delete, leaderboards/*, allow
41
+ - p, role:leaderboards, applications, get, leaderboards/*, allow
42
+ - p, role:leaderboards, applications, override, leaderboards/*, allow
43
+ - p, role:leaderboards, applications, sync, leaderboards/*, allow
44
+ - p, role:leaderboards, applications, update, leaderboards/*, allow
45
+ - p, role:leaderboards, logs, get, leaderboards/*, allow
46
+ - p, role:leaderboards, exec, create, leaderboards/*, allow
47
+ - p, role:leaderboards, projects, get, leaderboards, allow
48
+ groups :
49
+ - project-leaderboards
0 commit comments