external-dns icon indicating copy to clipboard operation
external-dns copied to clipboard

--namespace should accept a list of values

Open shapirus opened this issue 8 months ago • 5 comments

What would you like to be added:

Currently, as specified in the docs, the --namespace command line argument can either be empty, to mean all namespaces, or contain a single value to mean exactly one namespace.

It should be extended to support taking a list of values, either comma-separated or space-separated, or by specifying the option multiple times. Neither will break existing configurations, so the code modification should be trivial.

Why is this needed:

To avoid having to create multiple deployments of external-dns when it has to operate on more than one namespace, but less than all.

shapirus avatar Apr 08 '25 13:04 shapirus

I'll assign it to myself.

This is quite a lot of work so not sure when going to have time

/assign

ivankatliarchuk avatar Jun 17 '25 09:06 ivankatliarchuk

Found this PR https://github.com/kubernetes-sigs/external-dns/pull/3533, looks like someone already tried

ivankatliarchuk avatar Jun 28 '25 16:06 ivankatliarchuk

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Sep 26 '25 17:09 k8s-triage-robot

/remove-lifecycle stale

shapirus avatar Sep 26 '25 17:09 shapirus

the previous PR wasn't merged, @ivankatliarchuk , do you think we can have that. It'd be really cool to have this.

diwakar-dubey avatar Nov 24 '25 17:11 diwakar-dubey