Skip to content

Commit ea86daa

Browse files
authored
Annotations: Respect changes to auth-proxy-set-headers. (#14103)
1 parent 5119318 commit ea86daa

File tree

1 file changed

+5
-0
lines changed
  • internal/ingress/annotations/authreq

1 file changed

+5
-0
lines changed

internal/ingress/annotations/authreq/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package authreq
1818

1919
import (
2020
"fmt"
21+
"reflect"
2122
"regexp"
2223
"strings"
2324

@@ -243,6 +244,10 @@ func (e1 *Config) Equal(e2 *Config) bool {
243244
return false
244245
}
245246

247+
if !reflect.DeepEqual(e1.ProxySetHeaders, e2.ProxySetHeaders) {
248+
return false
249+
}
250+
246251
return sets.StringElementsMatch(e1.AuthCacheDuration, e2.AuthCacheDuration)
247252
}
248253

0 commit comments

Comments
 (0)