diff --git a/server/server.go b/server/server.go index 00677fefd3..1df9533014 100644 --- a/server/server.go +++ b/server/server.go @@ -133,8 +133,9 @@ func initializeDefaultProject(opts ArgoCDServerOpts) error { defaultProj := &v1alpha1.AppProject{ ObjectMeta: metav1.ObjectMeta{Name: common.DefaultAppProjectName, Namespace: opts.Namespace}, Spec: v1alpha1.AppProjectSpec{ - SourceRepos: []string{"*"}, - Destinations: []v1alpha1.ApplicationDestination{{Server: "*", Namespace: "*"}}, + SourceRepos: []string{"*"}, + Destinations: []v1alpha1.ApplicationDestination{{Server: "*", Namespace: "*"}}, + ClusterResourceWhitelist: []metav1.GroupKind{{Group: "*", Kind: "*"}}, }, }