Skip to content

Commit

Permalink
[ENG-2674] Add routes for savings recommendations allow list validati…
Browse files Browse the repository at this point in the history
…on API (#3635)

* [ENG-2674] Add routes

* Drop location from kubecost.yaml
  • Loading branch information
biancaburtoiu committed Sep 6, 2024
1 parent 412c20f commit f0791cf
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,14 @@ data:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location = /model/savings/recommendations/allowLists {
proxy_read_timeout {{ .Values.kubecostFrontend.timeoutSeconds | default 300 }};
proxy_pass http://aggregator/savings/recommendations/allowLists;
proxy_redirect off;
proxy_set_header Connection "";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location = /model/cloudCost {
proxy_read_timeout {{ .Values.kubecostFrontend.timeoutSeconds | default 300 }};
proxy_pass http://aggregator/cloudCost;
Expand Down

0 comments on commit f0791cf

Please sign in to comment.