From 8b5999b56609d1f1832e28de6fa0645d528e6e24 Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Tue, 22 Oct 2024 21:11:02 +0200 Subject: [PATCH] moved relative redirects to group redirect --- pkg/apis/ingress/types.go | 3 --- pkg/apis/ingress/types_equals.go | 4 ---- 2 files changed, 7 deletions(-) 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 }