File tree 1 file changed +0
-14
lines changed
src/app_charts/base/cloud
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -8,20 +8,6 @@ metadata:
8
8
nginx.ingress.kubernetes.io/backend-protocol : HTTPS
9
9
nginx.ingress.kubernetes.io/proxy-read-timeout : " 600" # seconds
10
10
nginx.ingress.kubernetes.io/client-body-buffer-size : " 50m"
11
- # The web client will reach us through the oauth2-proxy and we need
12
- # to copy the forwarded access token to an authorization header. Prefer
13
- # X-Forwarded-Access-Token in case the browser sends a spurious Authorization.
14
- nginx.ingress.kubernetes.io/configuration-snippet : |
15
- set_by_lua_block $auth {
16
- if ngx.var.http_x_forwarded_access_token then
17
- return "Bearer " .. ngx.var.http_x_forwarded_access_token
18
- end
19
- if ngx.var.http_authorization then
20
- return ngx.var.http_authorization
21
- end
22
- return ""
23
- }
24
- proxy_set_header Authorization $auth;
25
11
spec :
26
12
ingressClassName : nginx
27
13
tls :
You can’t perform that action at this time.
0 commit comments