-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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(helm): allow the use of devel alias for helmcharts #5865
base: master
Are you sure you want to change the base?
feat(helm): allow the use of devel alias for helmcharts #5865
Conversation
Welcome @milkshake308! |
Hi @milkshake308. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
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.
Hello there, @milkshake308! Thank you very much for your PR!
Could you please add a few test cases to this implementation, demonstrating that the new flag will be added only when your new option devel
is specified? I'm thinking something similar to how tests were implemented in #5751 for plugin/builtin/helmchartinflationgenerator/HelmChartInflationGenerator.go
and api/types/helmchartargs.go
.
Please let me know if you have any questions!
/test all |
fdc60f4
to
418f233
Compare
This PR has multiple commits, and the default merge method is: merge. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: milkshake308 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @stormqueen1990 |
Hi there, @milkshake308! The test cases you added make sense to me. Thanks for working on that! /test all |
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.
/lgtm
/assign @koba1t
for maintainer review
@milkshake308 it looks like one of the tests didn't pass in Prow (Helm couldn't find the development version You can check the logs from Prow through the /remove-lgtm |
Indeed I did not named the chart correctly, I assumed these were placeholder values. |
@milkshake308: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/retest |
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.
/lgtm
Hello,
This pull request adds support for an explicit devel option in helmCharts definitions within
kustomization.yaml
. This allows users to enable Helm's --devel flag directly, facilitating the use of development releases without relying on implicit version constraints.Previously, one had to work around this limitation by specifying a version constraint like ">0.0.0-0", which was functionally equivalent to --devel. For example:
With this PR, users can explicitly enable development releases using the devel field: