-
Notifications
You must be signed in to change notification settings - Fork 760
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
Feat: add kompose client PoC #1593
Feat: add kompose client PoC #1593
Conversation
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AhmedGrati The work you've done is absolutely excellent. I'm super excited to get this merged in one day because we've been missing a library / client for ages and it'd be wonderful to have.
One question though is why there are changes to the tests? Since we're just adding the client, I don't think anything should be changing in script/test/fixtures
?
We may need to rebase I believe.
I did test this out and it worked wonderfully :) I would like to go through this a bit more and create some documentation though, as well as a new section of the site so that people can use the library like so.
@cdrage thanks a lot 🙏, I will go through another iteration in the upcoming days to remove these changes in the test files, rebase and add other missing options in the convert command. |
ba14a82
to
6d7d167
Compare
90c537d
to
85ce367
Compare
/remove-lifecycle rotten |
@cdrage it should be good now. Can you take a look at it, please? |
Got it! I'll take a review this week. Thank you 🙏 |
Your code always surprises me! I honestly have no input.. the way that you structured the input parameters and the conversion method makes A LOT of sense and how you return the data as well. All of this LGTM and thank you for this amazing (and big!) task. We should open an issue to create documentation on how to actually use this. You good if I make a release this week so people can use the library? |
return nil, err | ||
} | ||
objects, err := app.Convert(kobjectConvertOptions) | ||
return objects, err |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the fact you return the object and then the user can convert that to yaml / json with their own library, as well as the error output. Good job!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AhmedGrati, cdrage The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@cdrage thanks a lot 😊😊 Yeah We can make a release this week. Should we merge this PR? |
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
85ce367
to
fc71870
Compare
Yup! If you can rebase + make sure tests pass (since other PR's got merged in) as soon as it's green, merge it in! |
That's an amazing PR! |
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
What type of PR is this?
/kind feature
What this PR does / why we need it:
Implement a PoC that adds a Kompose client.
Note: For now it's just a PoC. @cdrage and @hangyan your input is really valuable here.
Which issue(s) this PR fixes:
Fixes #464.
Special notes for your reviewer: