feat(chart): add TXT registry option values#6501
Conversation
|
[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. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
|
|
Hi @erdo-enes. 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 Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
Thanks @mloiseleur, I applied both suggestions in 76a38b3. |
|
/ok-to-test |
Coverage Report for CI Build 27532569394Coverage remained the same at 81.36%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
|
Why not to pass flags directly? I don't get that reason behind to have values for all arguments. This approach does not scale at all |
|
@ivankatliarchuk Yeah, fair point. I don't think we should add a value for every external-dns flag either. |
|
extraArgs already handles these flags today without any chart changes: The chart currently exposes ~22 named values out of ~163 total flags - the ones essentially every user needs (source, provider, registry identity, intervals, filters), some may need to be dropped or added. The remaining long tail is intentionally left to extraArgs to avoid chart bloat and maintenance overhead as the binary evolves. What's the use case that makes dedicated chart values necessary here rather than extraArgs? Without a concrete problem or use case that extraArgs can't already solve, this is hard to review |
Yeah, that makes sense.
|
What does it do ?
.txtWildcardReplacement.txtEncryptEnabled.txtEncryptAesKeycharts/external-dns/templates/deployment.yamlso the chart renders:--txt-wildcard-replacement--txt-encrypt-enabled--txt-encrypt-aes-keyMotivation
ExternalDNS supports these TXT registry flags, but the Helm chart only exposed
txtOwnerId,txtPrefix, andtxtSuffixas first-class TXT registry values. This adds the missing chart values next to the existing TXT registry options so users can configure them without falling back toextraArgs.More