Skip to content

Commit

Permalink
Execute validation resource first (#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
rossf7 committed Sep 7, 2020
1 parent 1a756eb commit 1dc6542
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion service/controller/app/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,13 +262,15 @@ func newAppResources(config appResourcesConfig) ([]resource.Interface, error) {
}

resources := []resource.Interface{
// validationResource checks CRs for validation errors and sets the CR status.
validationResource,

// Following resources manage controller context information.
appNamespaceResource,
appcatalogResource,
clientsResource,

// Following resources bootstrap chart-operator in tenant clusters.
validationResource,
tcNamespaceResource,
chartCRDResource,
chartOperatorResource,
Expand Down

0 comments on commit 1dc6542

Please sign in to comment.