diff --git a/pkg/apis/ingress/types.go b/pkg/apis/ingress/types.go index 94d7efece4..ccdd49fe92 100644 --- a/pkg/apis/ingress/types.go +++ b/pkg/apis/ingress/types.go @@ -309,9 +309,6 @@ type Location struct { // UsePortInRedirects indicates if redirects must specify the port // +optional UsePortInRedirects bool `json:"usePortInRedirects"` - // RelativeRedirects indicates if redirects are relative and NOT absolute - // +optional - RelativeRedirects bool `json:"relativeRedirects"` // ConfigurationSnippet contains additional configuration for the backend // to be considered in the configuration of the location ConfigurationSnippet string `json:"configurationSnippet"` diff --git a/pkg/apis/ingress/types_equals.go b/pkg/apis/ingress/types_equals.go index 4f5be35c1f..aa6c3efa76 100644 --- a/pkg/apis/ingress/types_equals.go +++ b/pkg/apis/ingress/types_equals.go @@ -467,10 +467,6 @@ func (l1 *Location) Equal(l2 *Location) bool { return false } - if l1.RelativeRedirects != l2.RelativeRedirects { - return false - } - return true }