WIP ✨ (helm/v2-alpha): Add --input-dir flag to helm/v2-alpha plugin to allow operating on projects in different directories#5573
Closed
camilamacedo86 wants to merge 1 commit into
Conversation
|
|
d991c2a to
6b90fda
Compare
Member
Author
|
WDYT? Could you please review this one? |
There was a problem hiding this comment.
Pull request overview
Adds an --input-dir flag to the helm/v2-alpha edit subcommand to better support non-standard project layouts (e.g., monorepos) and align UX with other alpha commands by resolving manifests paths relative to a selected project directory.
Changes:
- Add
--input-dirflag tokubebuilder edit --plugins=helm/v2-alpha. - Resolve
--manifestsrelative to--input-dirwhen not absolute; runmakeininput-dirwhen generating default manifests. - Update docs and a unit test to include the new flag.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| pkg/plugins/optional/helm/v2alpha/edit.go | Adds inputDir flag + path resolution and uses it for manifests generation/parsing. |
| pkg/plugins/optional/helm/v2alpha/edit_test.go | Extends BindFlags test to assert the new flag exists. |
| docs/book/src/plugins/available/helm-v2-alpha.md | Documents --input-dir and adds CLI examples. |
6b90fda to
e9e5af1
Compare
e9e5af1 to
6ea1b11
Compare
0d106a4 to
8fbd052
Compare
8fbd052 to
f92ce4d
Compare
980b409 to
f7e03e2
Compare
7b79040 to
5fb5d73
Compare
69cbca3 to
4278153
Compare
4278153 to
2ae0264
Compare
2ae0264 to
45144d4
Compare
… allow operating on projects in different directories Generated-by: Claude
45144d4 to
612be49
Compare
Member
Author
|
We will not able to move with in this way, so I am closing this one. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes: #5549
Motivations
--project-fileCLI flag #5549Closes: #5548