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

Commit

Permalink
Merge pull request #2293 from ibuildthecloud/main
Browse files Browse the repository at this point in the history
Always update ready status/conditions
  • Loading branch information
ibuildthecloud authored Oct 25, 2023
2 parents 77f8432 + fbee781 commit ff76446
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 ff76446

Please sign in to comment.