mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-30 06:51:30 +02:00
proxy: remove impersonate headers for kubernetes (#1394)
* proxy: remove impersonate headers for kubernetes * master on frontend/statik
This commit is contained in:
parent
05d9fbb4b3
commit
a19e45334b
9 changed files with 69 additions and 9 deletions
|
@ -253,6 +253,7 @@ func Test_buildPolicyRoutes(t *testing.T) {
|
|||
"metadata": {
|
||||
"filterMetadata": {
|
||||
"envoy.filters.http.lua": {
|
||||
"remove_impersonate_headers": false,
|
||||
"remove_pomerium_authorization": true,
|
||||
"remove_pomerium_cookie": "pomerium"
|
||||
}
|
||||
|
@ -276,6 +277,7 @@ func Test_buildPolicyRoutes(t *testing.T) {
|
|||
"metadata": {
|
||||
"filterMetadata": {
|
||||
"envoy.filters.http.lua": {
|
||||
"remove_impersonate_headers": false,
|
||||
"remove_pomerium_authorization": true,
|
||||
"remove_pomerium_cookie": "pomerium"
|
||||
}
|
||||
|
@ -299,6 +301,7 @@ func Test_buildPolicyRoutes(t *testing.T) {
|
|||
"metadata": {
|
||||
"filterMetadata": {
|
||||
"envoy.filters.http.lua": {
|
||||
"remove_impersonate_headers": false,
|
||||
"remove_pomerium_authorization": true,
|
||||
"remove_pomerium_cookie": "pomerium"
|
||||
}
|
||||
|
@ -332,6 +335,7 @@ func Test_buildPolicyRoutes(t *testing.T) {
|
|||
"metadata": {
|
||||
"filterMetadata": {
|
||||
"envoy.filters.http.lua": {
|
||||
"remove_impersonate_headers": false,
|
||||
"remove_pomerium_authorization": true,
|
||||
"remove_pomerium_cookie": "pomerium"
|
||||
}
|
||||
|
@ -355,6 +359,7 @@ func Test_buildPolicyRoutes(t *testing.T) {
|
|||
"metadata": {
|
||||
"filterMetadata": {
|
||||
"envoy.filters.http.lua": {
|
||||
"remove_impersonate_headers": false,
|
||||
"remove_pomerium_authorization": true,
|
||||
"remove_pomerium_cookie": "pomerium"
|
||||
}
|
||||
|
@ -379,6 +384,7 @@ func Test_buildPolicyRoutes(t *testing.T) {
|
|||
"metadata": {
|
||||
"filterMetadata": {
|
||||
"envoy.filters.http.lua": {
|
||||
"remove_impersonate_headers": false,
|
||||
"remove_pomerium_authorization": true,
|
||||
"remove_pomerium_cookie": "pomerium"
|
||||
}
|
||||
|
@ -402,6 +408,7 @@ func Test_buildPolicyRoutes(t *testing.T) {
|
|||
"metadata": {
|
||||
"filterMetadata": {
|
||||
"envoy.filters.http.lua": {
|
||||
"remove_impersonate_headers": false,
|
||||
"remove_pomerium_authorization": true,
|
||||
"remove_pomerium_cookie": "pomerium"
|
||||
}
|
||||
|
@ -425,6 +432,7 @@ func Test_buildPolicyRoutes(t *testing.T) {
|
|||
"metadata": {
|
||||
"filterMetadata": {
|
||||
"envoy.filters.http.lua": {
|
||||
"remove_impersonate_headers": false,
|
||||
"remove_pomerium_authorization": true,
|
||||
"remove_pomerium_cookie": "pomerium"
|
||||
}
|
||||
|
@ -473,6 +481,7 @@ func TestAddOptionsHeadersToResponse(t *testing.T) {
|
|||
"metadata": {
|
||||
"filterMetadata": {
|
||||
"envoy.filters.http.lua": {
|
||||
"remove_impersonate_headers": false,
|
||||
"remove_pomerium_authorization": true,
|
||||
"remove_pomerium_cookie": "pomerium"
|
||||
}
|
||||
|
@ -539,6 +548,7 @@ func Test_buildPolicyRoutesRewrite(t *testing.T) {
|
|||
"metadata": {
|
||||
"filterMetadata": {
|
||||
"envoy.filters.http.lua": {
|
||||
"remove_impersonate_headers": false,
|
||||
"remove_pomerium_authorization": true,
|
||||
"remove_pomerium_cookie": "pomerium"
|
||||
}
|
||||
|
@ -563,6 +573,7 @@ func Test_buildPolicyRoutesRewrite(t *testing.T) {
|
|||
"metadata": {
|
||||
"filterMetadata": {
|
||||
"envoy.filters.http.lua": {
|
||||
"remove_impersonate_headers": false,
|
||||
"remove_pomerium_authorization": true,
|
||||
"remove_pomerium_cookie": "pomerium"
|
||||
}
|
||||
|
@ -587,6 +598,7 @@ func Test_buildPolicyRoutesRewrite(t *testing.T) {
|
|||
"metadata": {
|
||||
"filterMetadata": {
|
||||
"envoy.filters.http.lua": {
|
||||
"remove_impersonate_headers": false,
|
||||
"remove_pomerium_authorization": true,
|
||||
"remove_pomerium_cookie": "pomerium"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue