Merge pull request #4596 from Shopify/fix-auth-proxy-header-order

sort auth proxy headers from configmap
This commit is contained in:
Kubernetes Prow Robot 2019-09-24 13:29:26 -07:00 committed by GitHub
commit 14f9b0d64e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -472,6 +472,7 @@ func buildAuthProxySetHeaders(headers map[string]string) []string {
for name, value := range headers {
res = append(res, fmt.Sprintf("proxy_set_header '%v' '%v';", name, value))
}
sort.Strings(res)
return res
}