Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove outdated comment and snippet. #468

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions src/app_charts/base/cloud/kubernetes-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,6 @@ metadata:
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
nginx.ingress.kubernetes.io/proxy-read-timeout: "600" # seconds
nginx.ingress.kubernetes.io/client-body-buffer-size: "50m"
# The web client will reach us through the oauth2-proxy and we need
# to copy the forwarded access token to an authorization header. Prefer
# X-Forwarded-Access-Token in case the browser sends a spurious Authorization.
nginx.ingress.kubernetes.io/configuration-snippet: |
set_by_lua_block $auth {
if ngx.var.http_x_forwarded_access_token then
return "Bearer " .. ngx.var.http_x_forwarded_access_token
end
if ngx.var.http_authorization then
return ngx.var.http_authorization
end
return ""
}
proxy_set_header Authorization $auth;
spec:
ingressClassName: nginx
tls:
Expand Down