12062024.md
... ...
@@ -42,4 +42,45 @@ subjects:
42 42
- kind: ServiceAccount
43 43
name: openshift-gitops-argocd-application-controller
44 44
namespace: openshift-gitops
45
+```
46
+
47
+```
48
+---
49
+apiVersion: argoproj.io/v1alpha1
50
+kind: AppProject
51
+metadata:
52
+ name: policy-app-project
53
+ namespace: openshift-gitops
54
+spec:
55
+ clusterResourceWhitelist:
56
+ - group: ''
57
+ kind: Namespace
58
+ destinations:
59
+ - namespace: 'ztp*'
60
+ server: '*'
61
+ - namespace: 'policies-sub'
62
+ server: '*'
63
+ namespaceResourceWhitelist:
64
+ - group: ''
65
+ kind: ConfigMap
66
+ - group: ''
67
+ kind: Namespace
68
+ - group: 'apps.open-cluster-management.io'
69
+ kind: PlacementRule
70
+ - group: 'policy.open-cluster-management.io'
71
+ kind: Policy
72
+ - group: 'policy.open-cluster-management.io'
73
+ kind: PlacementBinding
74
+ - group: 'ran.openshift.io'
75
+ kind: PolicyGenTemplate
76
+ - group: cluster.open-cluster-management.io
77
+ kind: Placement
78
+ - group: policy.open-cluster-management.io
79
+ kind: PolicyGenerator
80
+ - group: policy.open-cluster-management.io
81
+ kind: PolicySet
82
+ - group: cluster.open-cluster-management.io
83
+ kind: ManagedClusterSetBinding
84
+ sourceRepos:
85
+ - '*'
45 86
```
... ...
\ No newline at end of file