mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-02 19:04:14 +02:00
* proxy: remove impersonate headers for kubernetes * master on frontend/statik Co-authored-by: Caleb Doxsey <cdoxsey@pomerium.com>
This commit is contained in:
parent
7d10b3ddd4
commit
2839dcf732
9 changed files with 66 additions and 9 deletions
|
@ -13,8 +13,9 @@ import (
|
|||
//go:generate go fmt ./luascripts/statik.go
|
||||
|
||||
var luascripts struct {
|
||||
ExtAuthzSetCookie string
|
||||
CleanUpstream string
|
||||
ExtAuthzSetCookie string
|
||||
CleanUpstream string
|
||||
RemoveImpersonateHeaders string
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
@ -24,8 +25,9 @@ func init() {
|
|||
}
|
||||
|
||||
fileToField := map[string]*string{
|
||||
"/clean-upstream.lua": &luascripts.CleanUpstream,
|
||||
"/ext-authz-set-cookie.lua": &luascripts.ExtAuthzSetCookie,
|
||||
"/clean-upstream.lua": &luascripts.CleanUpstream,
|
||||
"/ext-authz-set-cookie.lua": &luascripts.ExtAuthzSetCookie,
|
||||
"/remove-impersonate-headers.lua": &luascripts.RemoveImpersonateHeaders,
|
||||
}
|
||||
|
||||
err = fs.Walk(hfs, "/", func(p string, fi os.FileInfo, err error) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue