-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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!: update Helm chart values and schema #5195
Conversation
- Update version from `1.15.2` to `2.0.0` in `Chart.yaml` - Add `externalDns` section and move external-dns specific properties in `values.schema.json` - Add `externalDns` section in `values.yaml`
The committers listed above are authorized under a signed CLA. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
Welcome @xakraz! |
Hi @xakraz. 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. |
@xakraz sorry I'm unsure as to the context of this PR as I can't see an issue or discussion about why the chart needs a breaking change? |
Hi @stevehipwell , We use Helmper to cache public Helm charts and related container images. Helmper is able to "patch" the default values file before pushing the chart to the private registry. Among the properties it updates is the one named We thought it would be easier to submit a PR for updating this chart and make it like many other popular charts rather than updating Helmper 😇 The change suggested is to introduce a top-level key for external-dns specific configuration and move every existing ones in the P.S. we suggested such kinds of changes in other projects like stakater/Reloader#849 😇 |
@xakraz I don't think that heavily modifying an extensively used community chart that is based on an idiomatic Helm pattern is an appropriate solution to a problem with a niche consumer that is still in beta. The fact that the Helmer implementation collides with existing chart values sounds like something that needs fixing on their side, not in every Helm chart. It sounds like simple case of name spacing would solve this (e.g. |
I do understand your consideration about making a breaking change on a popular Helm chart. However, I would like to highlight some things:
Considering these 4 items in total, I think it is a shame to avoid such a change, especially on a Helm chart, because it is "breaking". Otherwise, from then on, we won't make any breaking changes. And making changes to the packaging system |
The external-dns Helm chart is designed to work flawlessly with standard deployment tools like Helm, ArgoCD, Flux, and testing frameworks like helm-unittest, without any modifications. If you're finding modifications necessary, it suggests a potential incompatibility or misconfiguration with the tool you're referencing. In such cases, exploring alternative Helm charts, like the one from Bitnami, or creating a custom chart might be what you are looking for. If you're referring to 'idiomatic conventions' that make sense, please propose them as additions to the Helm best practices documentation first, at At the moment, how this pr looks like;
|
@xakraz Helm has zero constraints on what can be used as a value key as the values are accessed via the Have you engaged with the Helmer maintainers on your issue? You're going to have far more chance of success fixing the singular source of the incompatibility rather than attempting to modify the many unrelated projects that you want to consume. |
PR needs rebase. 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. |
I agree with both of you regarding your statements about this Helm chart design and Helm's pros and flaws. @ivankatliarchuk you say
Regarding the alternative you suggest, the long-term impact of having a "forked" version or using a chart other than the one from the upstream project seems far greater. Still, thanks for the suggestions 😄
I don't get this one ^^
Yes, I have 😁 The thing is, Helmper tries to extract container image references from Helm Charts And as you said, Helm has zero constraints on what can be used as a value key, so it will always be a story of conventions 🤷🏻 Regarding us attempting to modify many unrelated projects that we want to consume wiht Helmper, mots of the charts we use don't have any issues. Here, the issue comes from Beside being a breaking change, that semver helps us to deal with, and not providing direct value to the chart itself, I am wondering what makes it a blocker to "group" external-dns's configuration properties under one key in the As I said, at least for new commers, it will be far easier to understand. It is already done that way in many charts
In the end, I understand that you are not fond of this idea, so I will try to find another way. Feel free to close the issue if that is your final thought. |
/close |
@ivankatliarchuk: Closed this PR. 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. |
1.15.2
to2.0.0
inChart.yaml
externalDns
section and move external-dns specific properties invalues.schema.json
externalDns
section invalues.yaml