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

Remove content type header for /prediction/speccost API calls #161

Merged
merged 1 commit into from
Nov 20, 2023

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
2 checks passed
@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