Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pkg/router/template/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,10 @@ func (r *templateRouter) dynamicallyAddRoute(backendKey ServiceAliasConfigKey, r
log.V(4).Info("dynamically adding route backend", "backendKey", backendKey)
r.dynamicConfigManager.Register(backendKey, route)

// Fully skipping DCM for now when adding or changing routes,
// should be reincluded along with the fix for https://issues.redhat.com/browse/OCPBUGS-77344
return false

// If no initial sync was done, don't try to dynamically add the
// route as we will need a reload anyway.
if !r.synced {
Expand Down Expand Up @@ -830,6 +834,10 @@ func (r *templateRouter) dynamicallyAddRoute(backendKey ServiceAliasConfigKey, r
// Note: The config should have been synced at least once initially and
// the caller needs to acquire a lock [and release it].
func (r *templateRouter) dynamicallyRemoveRoute(backendKey ServiceAliasConfigKey, route *routev1.Route) bool {
// Fully skipping DCM for now when adding or changing routes,
// should be reincluded along with the fix for https://issues.redhat.com/browse/OCPBUGS-77344
return false

if r.dynamicConfigManager == nil || !r.synced {
return false
}
Expand Down