mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-04 11:52:53 +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
|
@ -139,6 +139,11 @@ func buildPolicyRoutes(options *config.Options, domain string) []*envoy_config_r
|
|||
BoolValue: true,
|
||||
},
|
||||
},
|
||||
"remove_impersonate_headers": {
|
||||
Kind: &structpb.Value_BoolValue{
|
||||
BoolValue: policy.KubernetesServiceAccountTokenFile != "" || policy.KubernetesServiceAccountToken != "",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue