Skip to content

Conversation

@michaelmdresser
Copy link
Contributor

What does this PR change?

Remove content type header for /prediction/speccost calls

Backend no longer requires it, makes us flexible
for yaml and json

Does this PR rely on any other PRs?

How does this PR impact users? (This is the kind of thing that goes in release notes!)

Added JSON manifest support to kubectl cost predict

How was this PR tested?

Have you made an update to documentation?

@chipzoller
Copy link

Tested the server-side change in https://github.com/kubecost/kubecost-cost-model/pull/1916 with kubectl-cost and predictions with an input YAML file are unaffected.

@michaelmdresser michaelmdresser marked this pull request as ready for review November 20, 2023 20:01
Backend no longer requires it, makes us flexible
for yaml and json
@michaelmdresser michaelmdresser merged commit f32996c into main Nov 20, 2023
@michaelmdresser michaelmdresser deleted the mmd/remove-content-type branch November 20, 2023 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants