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

#1883 return pre-authenticated configuration to location-snippet #1834

Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion deployment/helm/ditto/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ description: |
A digital twin is a virtual, cloud based, representation of his real world counterpart
(real world “Things”, e.g. devices like sensors, smart heating, connected cars, smart grids, EV charging stations etc).
type: application
version: 3.4.2 # chart version is effectively set by release-job
version: 3.4.3-0 # chart version is effectively set by release-job
appVersion: 3.4.2
keywords:
- iot-chart
Expand Down
5 changes: 5 additions & 0 deletions deployment/helm/ditto/templates/nginx-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ data:
# ignore X-Original-URI in the request
proxy_hide_header X-Original-URI;


# set ditto-specific forwarded headers - needed in the location for registry.k8s.io/ingress-nginx/controller
proxy_set_header X-Forwarded-User $remote_user;
proxy_set_header x-ditto-pre-authenticated "nginx:$remote_user";

proxy-connect-timeout: "10" # seconds, default: 60
# timeouts are configured slightly higher than gateway read-timeout of 60 seconds
proxy-send-timeout: "70" # seconds, default: 60
Expand Down
Loading