Skip to content

Commit e8b9441

Browse files
authored
Merge pull request #3900 from kubecost/nick/kcm-3288
add category/chargeback nginx routes
2 parents d20f86b + 78c12c2 commit e8b9441

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cost-analyzer/templates/cost-analyzer-frontend-config-map-template.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -912,6 +912,14 @@ data:
912912
proxy_set_header X-Real-IP $remote_addr;
913913
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
914914
}
915+
location = /model/category/chargeback {
916+
proxy_read_timeout {{ .Values.kubecostFrontend.timeoutSeconds | default 300 }};
917+
proxy_pass http://aggregator/category/chargeback;
918+
proxy_redirect off;
919+
proxy_set_header Connection "";
920+
proxy_set_header X-Real-IP $remote_addr;
921+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
922+
}
915923
location = /model/kubernetes/containers/resources {
916924
proxy_read_timeout {{ .Values.kubecostFrontend.timeoutSeconds | default 300 }};
917925
proxy_pass http://aggregator/kubernetes/containers/resources;

0 commit comments

Comments
 (0)