Skip to content

Commit

Permalink
Merge pull request #2336 from kubecost/v1.104-patch/ccolvin/disable-t…
Browse files Browse the repository at this point in the history
…rends

option to disable trends (#2331)
  • Loading branch information
cliffcolvin authored Jun 13, 2023
2 parents 3aad7a5 + 962e58c commit 9d2d324
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,5 +317,10 @@ data:
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
{{- end }}
{{- if .Values.kubecostFrontend.trendsDisabled }}
location /model/allocation/trends {
return 204 'endpoint disabled';
}
{{ end }}
}
{{- end }}

0 comments on commit 9d2d324

Please sign in to comment.