Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Always update ready status/conditions
Browse files Browse the repository at this point in the history
Signed-off-by: Darren Shepherd <[email protected]>
  • Loading branch information
ibuildthecloud committed Oct 25, 2023
1 parent 21ff0c8 commit 84d9ac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controller/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ func routes(router *router.Router, cfg *rest.Config, registryTransport http.Roun
appMeetsPreconditions.Middleware(appdefinition.ImagePulled).HandlerFunc(permissions.ConsumerPermissions)
appMeetsPreconditions.Middleware(appdefinition.ImagePulled).HandlerFunc(appdefinition.DeploySpec)
appMeetsPreconditions.Middleware(appdefinition.ImagePulled).HandlerFunc(secrets.CreateSecrets)
appMeetsPreconditions.HandlerFunc(appstatus.SetStatus)
appMeetsPreconditions.HandlerFunc(appstatus.ReadyStatus)
appMeetsPreconditions.HandlerFunc(networkpolicy.ForApp)
appMeetsPreconditions.HandlerFunc(appdefinition.AddAcornProjectLabel)
appMeetsPreconditions.HandlerFunc(appdefinition.UpdateObservedFields)

appRouter.HandlerFunc(appstatus.SetStatus)
appRouter.HandlerFunc(appstatus.ReadyStatus)
appRouter.HandlerFunc(appstatus.CLIStatus)

projectRouter := router.Type(&v1.ProjectInstance{})
Expand Down

0 comments on commit 84d9ac6

Please sign in to comment.