Skip to content

Commit

Permalink
Add context on IngressController
Browse files Browse the repository at this point in the history
Co-authored-by: Maël Valais <[email protected]>
Signed-off-by: Ashley Davis <[email protected]>
  • Loading branch information
SgtCoDFish and maelvls authored Oct 3, 2024
1 parent 4cde849 commit 128c291
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/controller/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,9 @@ SOME GARBAGE
}
}

// trivial logic that re-implements OpenShift's IngressController behavior
// Trivial logic that re-implements OpenShift's IngressController behavior. For context,
// the OpenShift IngressController code that deals with this is visible at:
// https://github.com/openshift/router/blob/72114ea/pkg/router/controller/status.go
func generateRouteStatus(route *routev1.Route, admitted bool) *routev1.Route {
var host string
if route.Spec.Host != "" {
Expand Down

0 comments on commit 128c291

Please sign in to comment.