-
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
Add dnsendpoint
CRD to Helm chart
#4322
Conversation
Welcome @onedr0p! |
Hi @onedr0p. 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/test-infra repository. |
@stevehipwell as discussed in #2640 I have put this in the
If the maintainers or community decide to remove support or change the CRD, it can be updated as such from the Helm chart moving forward but I see no blockers for adding this right now. |
/ok-to-test |
It makes sense to me. |
@mloiseleur should I update the chart version? If so to what version? |
Nope. Release of the chart are done in a dedicated PR. See for instance this one. |
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.
@onedr0p I've added some review comments and you also need to add an entry to the CHANGELOG for each chart PR.
That said I'm not convinced that adding the CRD to the Helm chart is the right move. Firstly adding a CRD to a _Helm_chart means that by default everyone who installs the chart will also install the CRD; this makes sense where the CRD is required or likely to be required (given the constraints below), but in this case I suspect users of the CRD are in the minority. Secondly as Helm shouldn't be used for managing CRDs (it will only install them and never modify them) adding the CRD would only help the small subset of users who want to use the CRD and are putting together a quick POC (for a non-GA CRD this is even worse). On balance I think adding the CRD makes the chart experience worse for more users than better.
/hold
Co-authored-by: Steve Hipwell <[email protected]>
Co-authored-by: Steve Hipwell <[email protected]>
Co-authored-by: Steve Hipwell <[email protected]>
@stevehipwell changes made. For me, adding the DNSEndpoint CR actually improves the experience since I am using Flux and it can upgrade the CRDs (I suspect this is the same for Argo users). Having the CRD in the chart means I don't need to apply it manually or install it out-of-band of the chart itself. |
@onedr0p I'm not saying I wont budge; what I'm saying is that adding a CRD to each cluster with ExternalDNS installed where the end user isn't aware of the Given the current state of play I think the next step would be to figure out if there is a requirement from enough people to have a Helm style CRD installation method (e.g. CRD chart or For me the following scenarios would warrant a reevaluation.
|
It feels like your reason not to include the CRD, are assuming that:
I personally find As @onedr0p already stated, other If a chart installs a CRD, and they try to manually manage it externally anyways, they'll find out pretty quickly. Either way, count me as an End user using the method that would implemented by this PR |
I've read you concerns but I still really don't know what we're trying to protect against here by not merging this PR. It seems we're at a conflict at how managing Charts that contain CRDs should be handled. I and others would like the chart to handle CRDs either by the That other idea to template the CRDs and have a I really feel like having a Job or a separate helm chart for just the CRDs is not the right way to go and this is evident by how many application and Helm Chart developers do not actually handle the CRDs this way. Here's a list of some kubernetes-sigs applications that have Helm charts with crds included by either templated or
From my experience most applications that have CRDs and implement a Helm chart are doing it one of those two ways and not the ways you have described. Please reconsider ❤️ |
I think in this case, one should have a precise and non-general reason to deviate from the standards set by nearly every other project catering a helm-chart. TLDR, unless there is a good reason against it, +1 on including the CRD as-well. |
I agree that current status of CRD with Helm CLI is not convenient. CLI of Helm v3 is out there since a long time, and so, CRDs limitations are known by many Helm CLI users. At least, (other) IaC tools handle CRDs of a Chart in a more convenient way. => As an Considering that this CRD has not been modified in the last 3 years, it makes sense to me to put it in |
I agree; it makes sense to include the CRD in the chart. So many others do it this way, and it seems it's the preferred way going forward. |
Thanks for your feedback @mloiseleur, if the CRD is effectively a core part of ExternalDNS I see no reason not to include it. Let's get this merged so it can be included in #4357. @onedr0p @joryirving @Ornias1993 @buroa; I'd like to point out that the argument that "other charts do something, so we should too" isn't a valid one. A lot of Helm charts lack curation and as such often implement functionality before considering the wider context and then are unable to revert the changes. Functionality should be evaluated by merit within the specific context where it's being applied. |
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.
Thanks for the PR @onedr0p.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: stevehipwell 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 |
/unhold |
/label tide/merge-method-squash |
It's great to finally see this in the helm chart. I'm finally able to use this "new" CR now. Maybe it would make sense to enable the Custom Resource service by default? external-dns/charts/external-dns/values.yaml Lines 199 to 203 in f5545b1
Currently, the ClusterRole is not allowed to monitor the Custom Resource: external-dns/charts/external-dns/templates/clusterrole.yaml Lines 50 to 57 in f5545b1
(thanks for pushing it though @onedr0p) |
@Skaronator I am OK with it not being a default source in the chart as that is easy enough to override. |
I would like to point out thats essentially a strawman argument. There is a difference between informal standards set by the industry, by big names as cert-manager, traefik, bitnami, velero etcetcetc and random other helm charts. No one here pointed out to follow random other helm charts, but the standards set by big names including in the very same repo you're responding on. |
@Ornias1993 you realise I maintain this chart? The informal standards you refer to sound and awful lot like cargo culting. None of the charts you referenced would be in my list of "idiomatic" charts to base out of context decisions on. |
Thanks for adding the CRD to the chart! --
@onedr0p
cilium/cilium does their CRDs on the chart too and think it's pretty neat and well thought out. |
…rnal-dns to v0.14.2@3fcad62 by renovate (#22163) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [registry.k8s.io/external-dns/external-dns](https://togithub.com/kubernetes-sigs/external-dns) | patch | `v0.14.1` -> `v0.14.2` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>kubernetes-sigs/external-dns (registry.k8s.io/external-dns/external-dns)</summary> ### [`v0.14.2`](https://togithub.com/kubernetes-sigs/external-dns/releases/tag/v0.14.2) [Compare Source](https://togithub.com/kubernetes-sigs/external-dns/compare/v0.14.1...v0.14.2) #### What's Changed - kustomize-v0.14.1 by [@​Raffo](https://togithub.com/Raffo) in [https://github.com/kubernetes-sigs/external-dns/pull/4331](https://togithub.com/kubernetes-sigs/external-dns/pull/4331) - replace all links in tutorials for v0.14.1 by [@​Raffo](https://togithub.com/Raffo) in [https://github.com/kubernetes-sigs/external-dns/pull/4332](https://togithub.com/kubernetes-sigs/external-dns/pull/4332) - chore: upgrade ExternalDNS to go 1.22 by [@​mloiseleur](https://togithub.com/mloiseleur) in [https://github.com/kubernetes-sigs/external-dns/pull/4318](https://togithub.com/kubernetes-sigs/external-dns/pull/4318) - build(deps): bump the dev-dependencies group with 13 updates by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4329](https://togithub.com/kubernetes-sigs/external-dns/pull/4329) - build(deps): bump the dev-dependencies group with 5 updates by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4334](https://togithub.com/kubernetes-sigs/external-dns/pull/4334) - build(deps): bump the dev-dependencies group with 9 updates by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4349](https://togithub.com/kubernetes-sigs/external-dns/pull/4349) - build(deps): bump the dev-dependencies group with 1 update by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4341](https://togithub.com/kubernetes-sigs/external-dns/pull/4341) - Add `dnsendpoint` CRD to Helm chart by [@​onedr0p](https://togithub.com/onedr0p) in [https://github.com/kubernetes-sigs/external-dns/pull/4322](https://togithub.com/kubernetes-sigs/external-dns/pull/4322) - build(deps): bump the dev-dependencies group with 13 updates by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4361](https://togithub.com/kubernetes-sigs/external-dns/pull/4361) - build(deps): bump GrantBirki/json-yaml-validate from 2.6.1 to 2.6.2 in the dev-dependencies group by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4364](https://togithub.com/kubernetes-sigs/external-dns/pull/4364) - chore(chart): Released chart for v0.14.1 by [@​stevehipwell](https://togithub.com/stevehipwell) in [https://github.com/kubernetes-sigs/external-dns/pull/4357](https://togithub.com/kubernetes-sigs/external-dns/pull/4357) - chore: alphabetical order on providers by [@​mloiseleur](https://togithub.com/mloiseleur) in [https://github.com/kubernetes-sigs/external-dns/pull/4350](https://togithub.com/kubernetes-sigs/external-dns/pull/4350) - doc: advertise current plan on providers by [@​mloiseleur](https://togithub.com/mloiseleur) in [https://github.com/kubernetes-sigs/external-dns/pull/4365](https://togithub.com/kubernetes-sigs/external-dns/pull/4365) - Fix(ipv6): support ipv6 shortener and expander equal by [@​dongjiang1989](https://togithub.com/dongjiang1989) in [https://github.com/kubernetes-sigs/external-dns/pull/4351](https://togithub.com/kubernetes-sigs/external-dns/pull/4351) - feat(WebhookProvider): Let WebhookProvider return `SoftError` on response status codes >= 500 by [@​SimonKienzler](https://togithub.com/SimonKienzler) in [https://github.com/kubernetes-sigs/external-dns/pull/4319](https://togithub.com/kubernetes-sigs/external-dns/pull/4319) - Webhook provider: Use correct error gauge in `AdjustEndpoints()` func by [@​SimonKienzler](https://togithub.com/SimonKienzler) in [https://github.com/kubernetes-sigs/external-dns/pull/4374](https://togithub.com/kubernetes-sigs/external-dns/pull/4374) - build(deps): bump the dev-dependencies group with 18 updates by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4381](https://togithub.com/kubernetes-sigs/external-dns/pull/4381) - Add exclude domains value in Chart by [@​bford-evs](https://togithub.com/bford-evs) in [https://github.com/kubernetes-sigs/external-dns/pull/4380](https://togithub.com/kubernetes-sigs/external-dns/pull/4380) - docs(aws): fix typo and upgrade cleanup flow by [@​franzudev](https://togithub.com/franzudev) in [https://github.com/kubernetes-sigs/external-dns/pull/4389](https://togithub.com/kubernetes-sigs/external-dns/pull/4389) - docs(gke): detail how to configure workload identity by [@​userbradley](https://togithub.com/userbradley) in [https://github.com/kubernetes-sigs/external-dns/pull/4373](https://togithub.com/kubernetes-sigs/external-dns/pull/4373) - chore(ci): fix failing test by [@​mloiseleur](https://togithub.com/mloiseleur) in [https://github.com/kubernetes-sigs/external-dns/pull/4397](https://togithub.com/kubernetes-sigs/external-dns/pull/4397) - chore: Update controller-tools version to v0.14.0 by [@​dongjiang1989](https://togithub.com/dongjiang1989) in [https://github.com/kubernetes-sigs/external-dns/pull/4400](https://togithub.com/kubernetes-sigs/external-dns/pull/4400) - chore(ci): update golangci-lint to v1.57.2 by [@​dongjiang1989](https://togithub.com/dongjiang1989) in [https://github.com/kubernetes-sigs/external-dns/pull/4406](https://togithub.com/kubernetes-sigs/external-dns/pull/4406) - chore: upgrade ExternalDNS to go 1.22.2 by [@​mloiseleur](https://togithub.com/mloiseleur) in [https://github.com/kubernetes-sigs/external-dns/pull/4414](https://togithub.com/kubernetes-sigs/external-dns/pull/4414) - build(deps): bump the dev-dependencies group across 1 directory with 4 updates by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4412](https://togithub.com/kubernetes-sigs/external-dns/pull/4412) - build(deps): bump the dev-dependencies group across 1 directory with 24 updates by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4416](https://togithub.com/kubernetes-sigs/external-dns/pull/4416) - custom Azure Active Directory Authority Host by [@​Jeremy-Boyle](https://togithub.com/Jeremy-Boyle) in [https://github.com/kubernetes-sigs/external-dns/pull/4210](https://togithub.com/kubernetes-sigs/external-dns/pull/4210) - feat(DNSimple): User API tokens by [@​IntegralProgrammer](https://togithub.com/IntegralProgrammer) in [https://github.com/kubernetes-sigs/external-dns/pull/4274](https://togithub.com/kubernetes-sigs/external-dns/pull/4274) - docs: annotation placement for azuredns tutorial by [@​jonas-budde](https://togithub.com/jonas-budde) in [https://github.com/kubernetes-sigs/external-dns/pull/4415](https://togithub.com/kubernetes-sigs/external-dns/pull/4415) - feat(azure): add zone name filter for Azure Private DNS by [@​khuedoan](https://togithub.com/khuedoan) in [https://github.com/kubernetes-sigs/external-dns/pull/4346](https://togithub.com/kubernetes-sigs/external-dns/pull/4346) - test: detect no change necessary with provider specific config by [@​szuecs](https://togithub.com/szuecs) in [https://github.com/kubernetes-sigs/external-dns/pull/4189](https://togithub.com/kubernetes-sigs/external-dns/pull/4189) - docs: add setup example with helm chart on some providers by [@​omerap12](https://togithub.com/omerap12) in [https://github.com/kubernetes-sigs/external-dns/pull/4405](https://togithub.com/kubernetes-sigs/external-dns/pull/4405) - test: controller run() and successfully shutdown by [@​szuecs](https://togithub.com/szuecs) in [https://github.com/kubernetes-sigs/external-dns/pull/3639](https://togithub.com/kubernetes-sigs/external-dns/pull/3639) - fix syntax on cloudflare externalDNS by [@​ilyesAj](https://togithub.com/ilyesAj) in [https://github.com/kubernetes-sigs/external-dns/pull/4436](https://togithub.com/kubernetes-sigs/external-dns/pull/4436) - build(deps): bump the dev-dependencies group across 1 directory with 11 updates by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4440](https://togithub.com/kubernetes-sigs/external-dns/pull/4440) - chore(chart): Adding extra containers by [@​omerap12](https://togithub.com/omerap12) in [https://github.com/kubernetes-sigs/external-dns/pull/4432](https://togithub.com/kubernetes-sigs/external-dns/pull/4432) - aws: add ca-west-1 region by [@​jeremy-albuixech](https://togithub.com/jeremy-albuixech) in [https://github.com/kubernetes-sigs/external-dns/pull/4444](https://togithub.com/kubernetes-sigs/external-dns/pull/4444) - fix: duplicated endpoint per hosted zone by [@​leonardocaylent](https://togithub.com/leonardocaylent) in [https://github.com/kubernetes-sigs/external-dns/pull/4296](https://togithub.com/kubernetes-sigs/external-dns/pull/4296) - build(deps): bump actions/checkout from 4.1.4 to 4.1.5 in the dev-dependencies group by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4438](https://togithub.com/kubernetes-sigs/external-dns/pull/4438) - Add IPv6 AAAA record support to PiHole provider by [@​PseudoResonance](https://togithub.com/PseudoResonance) in [https://github.com/kubernetes-sigs/external-dns/pull/4324](https://togithub.com/kubernetes-sigs/external-dns/pull/4324) - fix: soft error on cloudflare rate limits by [@​ebachle](https://togithub.com/ebachle) in [https://github.com/kubernetes-sigs/external-dns/pull/4437](https://togithub.com/kubernetes-sigs/external-dns/pull/4437) - Update cloudflare.md by [@​mfreeman451](https://togithub.com/mfreeman451) in [https://github.com/kubernetes-sigs/external-dns/pull/4449](https://togithub.com/kubernetes-sigs/external-dns/pull/4449) - Fix headings, whitespace by [@​stefanlasiewski](https://togithub.com/stefanlasiewski) in [https://github.com/kubernetes-sigs/external-dns/pull/4457](https://togithub.com/kubernetes-sigs/external-dns/pull/4457) - docs: add reference to anexia webhook provider by [@​ProbstenHias](https://togithub.com/ProbstenHias) in [https://github.com/kubernetes-sigs/external-dns/pull/4441](https://togithub.com/kubernetes-sigs/external-dns/pull/4441) - fix logline mentioning plugin api by [@​Raffo](https://togithub.com/Raffo) in [https://github.com/kubernetes-sigs/external-dns/pull/4459](https://togithub.com/kubernetes-sigs/external-dns/pull/4459) - docs: lint gke docs + make terraform config more secure by [@​DrFaust92](https://togithub.com/DrFaust92) in [https://github.com/kubernetes-sigs/external-dns/pull/4456](https://togithub.com/kubernetes-sigs/external-dns/pull/4456) - build(deps): bump action-stars/install-tool-from-github-release from 0.2.2 to 0.2.3 in the dev-dependencies group by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4464](https://togithub.com/kubernetes-sigs/external-dns/pull/4464) - changed documentation to include more details description when using API Tokens by [@​rhjensen79](https://togithub.com/rhjensen79) in [https://github.com/kubernetes-sigs/external-dns/pull/4474](https://togithub.com/kubernetes-sigs/external-dns/pull/4474) - fix: add clarification to endpoint unit tests by [@​leonardocaylent](https://togithub.com/leonardocaylent) in [https://github.com/kubernetes-sigs/external-dns/pull/4462](https://togithub.com/kubernetes-sigs/external-dns/pull/4462) - build(deps): bump the dev-dependencies group across 1 directory with 19 updates by [@​mloiseleur](https://togithub.com/mloiseleur) in [https://github.com/kubernetes-sigs/external-dns/pull/4476](https://togithub.com/kubernetes-sigs/external-dns/pull/4476) - build(deps): bump the dev-dependencies group across 1 directory with 19 updates by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4475](https://togithub.com/kubernetes-sigs/external-dns/pull/4475) #### New Contributors - [@​onedr0p](https://togithub.com/onedr0p) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4322](https://togithub.com/kubernetes-sigs/external-dns/pull/4322) - [@​SimonKienzler](https://togithub.com/SimonKienzler) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4319](https://togithub.com/kubernetes-sigs/external-dns/pull/4319) - [@​bford-evs](https://togithub.com/bford-evs) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4380](https://togithub.com/kubernetes-sigs/external-dns/pull/4380) - [@​franzudev](https://togithub.com/franzudev) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4389](https://togithub.com/kubernetes-sigs/external-dns/pull/4389) - [@​userbradley](https://togithub.com/userbradley) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4373](https://togithub.com/kubernetes-sigs/external-dns/pull/4373) - [@​Jeremy-Boyle](https://togithub.com/Jeremy-Boyle) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4210](https://togithub.com/kubernetes-sigs/external-dns/pull/4210) - [@​IntegralProgrammer](https://togithub.com/IntegralProgrammer) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4274](https://togithub.com/kubernetes-sigs/external-dns/pull/4274) - [@​jonas-budde](https://togithub.com/jonas-budde) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4415](https://togithub.com/kubernetes-sigs/external-dns/pull/4415) - [@​khuedoan](https://togithub.com/khuedoan) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4346](https://togithub.com/kubernetes-sigs/external-dns/pull/4346) - [@​omerap12](https://togithub.com/omerap12) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4405](https://togithub.com/kubernetes-sigs/external-dns/pull/4405) - [@​ilyesAj](https://togithub.com/ilyesAj) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4436](https://togithub.com/kubernetes-sigs/external-dns/pull/4436) - [@​jeremy-albuixech](https://togithub.com/jeremy-albuixech) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4444](https://togithub.com/kubernetes-sigs/external-dns/pull/4444) - [@​leonardocaylent](https://togithub.com/leonardocaylent) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4296](https://togithub.com/kubernetes-sigs/external-dns/pull/4296) - [@​PseudoResonance](https://togithub.com/PseudoResonance) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4324](https://togithub.com/kubernetes-sigs/external-dns/pull/4324) - [@​ebachle](https://togithub.com/ebachle) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4437](https://togithub.com/kubernetes-sigs/external-dns/pull/4437) - [@​mfreeman451](https://togithub.com/mfreeman451) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4449](https://togithub.com/kubernetes-sigs/external-dns/pull/4449) - [@​ProbstenHias](https://togithub.com/ProbstenHias) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4441](https://togithub.com/kubernetes-sigs/external-dns/pull/4441) - [@​DrFaust92](https://togithub.com/DrFaust92) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4456](https://togithub.com/kubernetes-sigs/external-dns/pull/4456) - [@​rhjensen79](https://togithub.com/rhjensen79) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4474](https://togithub.com/kubernetes-sigs/external-dns/pull/4474) **Full Changelog**: kubernetes-sigs/external-dns@v0.14.1...v0.14.2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMSIsInVwZGF0ZWRJblZlciI6IjM3LjM2OC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInVwZGF0ZS9kb2NrZXIvZ2VuZXJhbC9ub24tbWFqb3IiXX0=-->
@stevehipwell @onedr0p we just updated to a this version of the chart, and we're now seeing a Warning in ArgoCD. It would be great to have a mechanism to only install the CRD once - either a "CRD chart" like others do, or a flag through values to enable/disable installation of this. Note - we've been using this CRD for quite awhile, we've simply included it in our parent chart. Thanks! |
You can disabled installing CRD in Helm. https://argo-cd.readthedocs.io/en/latest/user-guide/helm/#helm-skip-crds This also Work in kustomize as you can see here https://github.com/Skaronator/homelab/blob/7f43abef873cd5e0913ee2946a54eaddb91b1b19/network/external-dns-public/kustomization.yaml#L14 |
That is exactly what I do too, I have a couple external-dns instances deployed doing different things but only one installs / manages the CRDs with Flux. |
Description
Taken from https://github.com/kubernetes-sigs/external-dns/tree/master/docs/contributing/crd-source
Fixes: #2640
Checklist