Skip to content

feat(events): raise k8s events with fake provider#5659

Merged
k8s-ci-robot merged 17 commits intokubernetes-sigs:masterfrom
gofogo:feat-emit-events-for-changes
Aug 20, 2025
Merged

feat(events): raise k8s events with fake provider#5659
k8s-ci-robot merged 17 commits intokubernetes-sigs:masterfrom
gofogo:feat-emit-events-for-changes

Conversation

@ivankatliarchuk
Copy link
Copy Markdown
Member

@ivankatliarchuk ivankatliarchuk commented Jul 17, 2025

What does it do ?

Note: safe to merge as it does not break any current functionality, and only supported with fake source

  • Publish k8s events. Scoped to fake source, to keep change size relatively small.
    • fake events do not have any object reference
  • currently only supported successful events, as to support failed cases need more effort
  • emit only specific events, similar to --service-type-filter logic
  • events emit relevant docs

I'm slicing this feature into multiple PRs, as there is a lot to add + tests are usually 3x lines vs actual logic + docs + smoke testing is simpler when delivered in chunks

High Level Diagram

sequenceDiagram
  participant Source
  participant ReferenceObject
  participant Endpoint
  participant Plan
  participant Event
  participant Provider
  participant EventEmitter


  loop Process each Endpoint
    Source->>Endpoint: Add Endpoint with Reference
  end

  Endpoint-->>ReferenceObject: Contains
  Plan-->>Endpoint: Contains multiple

  loop Apply Changes
    Plan->>Provider: Apply Endpoint Changes
    Provider-->>Endpoint: Label with Skip/Success/Failed
    Provider-->>Plan: Return Result
  end


  loop Process each Event
    Provider->>Plan: Label with Skip/Success/Failed
    Plan-->>Event: Construct Event
    Event-->>ReferenceObject: Contains
    Event->>EventEmitter: Emit
  end
Loading

Follow-up:

  • Provider a reliable way to label each endpoint with Success, Skip, Failed so that we could emit correct event per endpiont. This may take time.
  • improved unit-test coverage
  • metrics
  • helm changes
  • support CRD DNSEndpoint as source
  • support all other sources
  • externalise method func (ec *Controller) run(ctx context.Context) with metrics instrumentation
  • instrument kubeclient with metrics centrally

Motivation

Fixes #646
Relates #5243. The change will enable us to raise events for CRD changes

More

  • Yes, this PR title follows Conventional Commits
  • Yes, I added unit tests
  • Yes, I updated end user documentation accordingly
  • Smoke tests results
  • Update what does it do with references if any

Example Fake event initiated for core-dns pod.
Screenshot 2025-07-20 at 16 43 03

At the moment plan is not aware where or not changes applied or skipped, or failed for certain Endpoints. This will be added in follow-up PR

example, skipped endpoint creation due to domain is not supported
Screenshot 2025-07-20 at 16 30 50

Example Event in Json format

{
            "action": "Created",
            "apiVersion": "v1",
            "eventTime": "2025-07-20T15:29:02.768054Z",
            "firstTimestamp": null,
            "involvedObject": {
                "apiVersion": "v1",
                "kind": "Pod",
                "name": "coredns-668d6bf9bc-2d2ds",
                "namespace": "kube-system",
                "uid": "558f5d67-f678-4581-b0bd-0f8c031aec75"
            },
            "kind": "Event",
            "lastTimestamp": null,
            "message": "record:buzd.example.com, owner:fake, type:A, targets:192.0.2.190",
            "metadata": {
                "creationTimestamp": "2025-07-20T15:29:01Z",
                "name": "coredns-668d6bf9bc-2d2ds.1853ff42e5f27ef0",
                "namespace": "kube-system",
                "resourceVersion": "3792",
                "uid": "3e9fe0e3-b5b1-4381-8dca-24fc00a06357"
            },
            "reason": "RecordReady",
            "related": {
                "apiVersion": "v1",
                "kind": "Pod",
                "name": "coredns-668d6bf9bc-2d2ds",
                "namespace": "kube-system",
                "uid": "558f5d67-f678-4581-b0bd-0f8c031aec75"
            },
            "reportingComponent": "external-dns-Ivans-MacBook-Pro.local",
            "reportingInstance": "external-dns",
            "source": {},
            "type": "Normal"
        },

@ivankatliarchuk ivankatliarchuk marked this pull request as draft July 17, 2025 10:49
@k8s-ci-robot k8s-ci-robot added the controller Issues or PRs related to the controller label Jul 17, 2025
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. plan Issues or PRs related to external-dns plan source do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jul 17, 2025
@ivankatliarchuk ivankatliarchuk force-pushed the feat-emit-events-for-changes branch 3 times, most recently from 80243c1 to 029c972 Compare July 17, 2025 11:11
@ivankatliarchuk ivankatliarchuk force-pushed the feat-emit-events-for-changes branch 2 times, most recently from 42071de to 3f6008f Compare July 18, 2025 17:46
@k8s-ci-robot k8s-ci-robot added the apis Issues or PRs related to API change label Jul 18, 2025
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
@ivankatliarchuk ivankatliarchuk force-pushed the feat-emit-events-for-changes branch from 3f6008f to dcbcf99 Compare July 18, 2025 17:51
@ivankatliarchuk ivankatliarchuk force-pushed the feat-emit-events-for-changes branch from 4942eb4 to 772e5de Compare July 19, 2025 07:13
@ivankatliarchuk ivankatliarchuk force-pushed the feat-emit-events-for-changes branch 4 times, most recently from fa0af46 to 9973da2 Compare July 20, 2025 13:45
@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jul 20, 2025
@ivankatliarchuk ivankatliarchuk force-pushed the feat-emit-events-for-changes branch from 9973da2 to 7eab91c Compare July 20, 2025 14:00
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
@ivankatliarchuk ivankatliarchuk force-pushed the feat-emit-events-for-changes branch from 7eab91c to f57baa4 Compare July 20, 2025 14:46
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
@ivankatliarchuk
Copy link
Copy Markdown
Member Author

Heh silly things missed ;-)

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
Copy link
Copy Markdown
Collaborator

@mloiseleur mloiseleur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 16, 2025
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 16, 2025
@ivankatliarchuk
Copy link
Copy Markdown
Member Author

rebase and resolved merge conflicts

Copy link
Copy Markdown
Collaborator

@mloiseleur mloiseleur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 20, 2025
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mloiseleur

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 20, 2025
@k8s-ci-robot k8s-ci-robot merged commit e9983a5 into kubernetes-sigs:master Aug 20, 2025
14 checks passed
@ivankatliarchuk ivankatliarchuk deleted the feat-emit-events-for-changes branch August 20, 2025 11:13
@vflaux
Copy link
Copy Markdown
Contributor

vflaux commented Aug 24, 2025

This PR cause a panic at:

func (ec *Controller) Add(events ...Event) {
if ec.queue.Len() >= ec.maxQueuedEvents {

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1f3cb3d]

goroutine 1 [running]:
sigs.k8s.io/external-dns/pkg/events.(*Controller).Add(0x0, {0xc0008756b0, 0x1, 0x1})
	/external-dns/pkg/events/controller.go:137 +0x3d
sigs.k8s.io/external-dns/controller.emitChangeEvent({0x79f0500, 0x0}, {{0xc0005b4438, 0x1, 0x1}, {0xa7370e0, 0x0, 0x0}, {0xa7370e0, 0x0, ...}, ...}, ...)
	/external-dns/controller/events.go:32 +0x207
sigs.k8s.io/external-dns/controller.(*Controller).RunOnce(0xc0006fd110, {0x7a3fe78, 0xc00094a990})
	/external-dns/controller/controller.go:250 +0xdc5
sigs.k8s.io/external-dns/controller.(*Controller).Run(0xc0006fd110, {0x7a3feb0, 0xc000357630})
	/external-dns/controller/controller.go:347 +0x113
sigs.k8s.io/external-dns/controller.Execute()
	/external-dns/controller/execute.go:144 +0xe7a
main.main()
	/external-dns/main.go:26 +0xf

ec is actually nil.
There is a check for nil here:

func emitChangeEvent(e events.EventEmitter, ch plan.Changes, reason events.Reason) {
if e == nil {
return
}

But we receive a typed pointer to nil, not nil directly.

This value come from here:

eventsCfg := events.NewConfig(
events.WithKubeConfig(cfg.KubeConfig, cfg.APIServerURL, cfg.RequestTimeout),
events.WithEmitEvents(cfg.EmitEvents),
events.WithDryRun(cfg.DryRun))
var eventsCtrl *events.Controller
if eventsCfg.IsEnabled() {
eventsCtrl, err = events.NewEventController(eventsCfg)
if err != nil {
log.Fatal(err)
}
eventsCtrl.Run(ctx)
}
return &Controller{
Source: src,
Registry: reg,
Policy: policy,
Interval: cfg.Interval,
DomainFilter: filter,
ManagedRecordTypes: cfg.ManagedDNSRecordTypes,
ExcludeRecordTypes: cfg.ExcludeDNSRecordTypes,
MinEventSyncInterval: cfg.MinEventSyncInterval,
EventController: eventsCtrl,
}, nil

Passing an nil *events.Controller to an interface field is not the same as passing nil to this field. Which is quite confusing.

This is shown in debugger:

  • Passing a nil *events.Controller: image
  • Not assigning any value: image

troll-os pushed a commit to FiligranHQ/external-dns that referenced this pull request Aug 28, 2025
* feat(events): publish k8s events

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

* feat(events): publish k8s events

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

* feat(events): publish k8s events

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

* feat(events): publish k8s events

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

* feat(events): publish k8s events

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

* feat(events): raise k8s events with fake provider

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

* feat(events): raise k8s events with fake provider

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

* feat(events): raise k8s events with fake provider

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

* feat(events): raise k8s events with fake provider

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

* feat(events): raise k8s events with fake provider

Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>

* feat(events): raise k8s events with fake provider

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

* feat(events): raise k8s events with fake provide

Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>

* feat(events): raise k8s events with fake provider

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

* feat(events): raise k8s events with fake provider

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

---------

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
JesusMtnez pushed a commit to JesusMtnez/homelab that referenced this pull request Dec 1, 2025
…o v0.19.0 (#805)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [registry.k8s.io/external-dns/external-dns](https://github.com/kubernetes-sigs/external-dns) | minor | `v0.18.0` -> `v0.19.0` |

---

### Release Notes

<details>
<summary>kubernetes-sigs/external-dns (registry.k8s.io/external-dns/external-dns)</summary>

### [`v0.19.0`](https://github.com/kubernetes-sigs/external-dns/releases/tag/v0.19.0)

[Compare Source](kubernetes-sigs/external-dns@v0.18.0...v0.19.0)

#### General information

- :information\_source: CLI flags allows to set behavior of previous version on the two breaking changes included in this release, if needed.
- :information\_source: Thanks to [@&#8203;valerian-roche](https://github.com/valerian-roche), this version can reduce the *average* memory usage by \~10 times, see [#&#8203;5596](kubernetes-sigs/external-dns#5596)

#### ⚠️ Breaking Changes

- feat(nodes)!: expose external ipv6 by default by [@&#8203;mloiseleur](https://github.com/mloiseleur) in [#&#8203;5575](kubernetes-sigs/external-dns#5575)
- feat(traefik)!: disable legacy listeners on traefik.containo.us API Group by [@&#8203;mloiseleur](https://github.com/mloiseleur) in [#&#8203;5565](kubernetes-sigs/external-dns#5565)

#### 🚀 Features

- feat(aws): add support for ap-east-2 by [@&#8203;chemi0213](https://github.com/chemi0213) in [#&#8203;5638](kubernetes-sigs/external-dns#5638)
- feat(aws): add support for geoproximity routing by [@&#8203;prasadkatti](https://github.com/prasadkatti) in [#&#8203;5347](kubernetes-sigs/external-dns#5347)
- feat(azure): update Azure provider configuration and documentation by [@&#8203;antchand](https://github.com/antchand) in [#&#8203;5648](kubernetes-sigs/external-dns#5648)
- feat(chart): add option to configure annotationFilter via dedicated helm value by [@&#8203;dshatokhin](https://github.com/dshatokhin) in [#&#8203;5737](kubernetes-sigs/external-dns#5737)
- feat(events): raise k8s events with fake provider by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5659](kubernetes-sigs/external-dns#5659)
- feat(metrics): publish build\_info metric by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5643](kubernetes-sigs/external-dns#5643)
- feat(nodes)!: expose external ipv6 by default by [@&#8203;mloiseleur](https://github.com/mloiseleur) in [#&#8203;5575](kubernetes-sigs/external-dns#5575)
- feat(source/istio): support version 1.25+ by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5611](kubernetes-sigs/external-dns#5611)
- feat(source/pods): support for annotation and label filter by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5583](kubernetes-sigs/external-dns#5583)
- feat(source): support --event flags with sources pod and node by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5642](kubernetes-sigs/external-dns#5642)
- feat(source): use transformers in pod informers to reduce memory footprint by [@&#8203;valerian-roche](https://github.com/valerian-roche) in [#&#8203;5596](kubernetes-sigs/external-dns#5596)
- feat(traefik)!: disable legacy listeners on traefik.containo.us API Group by [@&#8203;mloiseleur](https://github.com/mloiseleur) in [#&#8203;5565](kubernetes-sigs/external-dns#5565)

#### 🐛 Bug fixes

- fix(api): rollback oas and update linter by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5723](kubernetes-sigs/external-dns#5723)
- fix(aws): support aws\_ca\_bundle by [@&#8203;mwmix](https://github.com/mwmix) in [#&#8203;5665](kubernetes-sigs/external-dns#5665)
- fix(chart): Change .extraContainers type to array by [@&#8203;svengreb](https://github.com/svengreb) in [#&#8203;5564](kubernetes-sigs/external-dns#5564)
- fix(cloudflare): display of action in logs by [@&#8203;vflaux](https://github.com/vflaux) in [#&#8203;5550](kubernetes-sigs/external-dns#5550)
- fix(cloudflare): set comments properly by [@&#8203;7onn](https://github.com/7onn) in [#&#8203;5582](kubernetes-sigs/external-dns#5582)
- fix(cloudflare): unnecessary record updates by [@&#8203;vflaux](https://github.com/vflaux) in [#&#8203;5770](kubernetes-sigs/external-dns#5770)
- fix(controller): panic in events.Controller.Add() by [@&#8203;vflaux](https://github.com/vflaux) in [#&#8203;5766](kubernetes-sigs/external-dns#5766)
- fix(docs): Fixing some errors in the dev-guide example. by [@&#8203;mwmix](https://github.com/mwmix) in [#&#8203;5662](kubernetes-sigs/external-dns#5662)
- fix(endpoint): domains handling with idna by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5685](kubernetes-sigs/external-dns#5685)
- fix(helm): resolve RBAC permissions for namespaced gateway sources by [@&#8203;u-kai](https://github.com/u-kai) in [#&#8203;5578](kubernetes-sigs/external-dns#5578)
- fix(helm): Update helm value schema to allow `create-only` policy type by [@&#8203;coltonhughes](https://github.com/coltonhughes) in [#&#8203;5627](kubernetes-sigs/external-dns#5627)
- fix(http): concurrent map read/write by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5753](kubernetes-sigs/external-dns#5753)
- fix(instrumented\_http): migrate to own http instrumenter by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5650](kubernetes-sigs/external-dns#5650)
- fix(metrics): make prometheus labels more type safe by [@&#8203;mwmix](https://github.com/mwmix) in [#&#8203;5717](kubernetes-sigs/external-dns#5717)
- fix(oas): add required properties to api components by [@&#8203;evilhamsterman](https://github.com/evilhamsterman) in [#&#8203;5696](kubernetes-sigs/external-dns#5696)
- fix(pihole): create record for all targets by [@&#8203;vkolobara](https://github.com/vkolobara) in [#&#8203;5584](kubernetes-sigs/external-dns#5584)
- fix(provider/aws): null pointer when records mailformed by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5639](kubernetes-sigs/external-dns#5639)
- fix(provider/aws-sd): fix namespace type filtering by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5682](kubernetes-sigs/external-dns#5682)
- fix(provider): IDNA awareness in the zone finder by [@&#8203;hanapedia](https://github.com/hanapedia) in [#&#8203;5705](kubernetes-sigs/external-dns#5705)
- fix(rbac): conditional endpointslices perms by [@&#8203;vflaux](https://github.com/vflaux) in [#&#8203;5746](kubernetes-sigs/external-dns#5746)
- fix: reduce warning by using idna profile by [@&#8203;szuecs](https://github.com/szuecs) in [#&#8203;5587](kubernetes-sigs/external-dns#5587)
- fix(rfc2136): Use correct index for accessing UpdateOld if there are multiple chunks by [@&#8203;schwajo](https://github.com/schwajo) in [#&#8203;5542](kubernetes-sigs/external-dns#5542)
- fix(source): respect --expose-internal-ipv6 flag on NodePort services by [@&#8203;jonasbadstuebner](https://github.com/jonasbadstuebner) in [#&#8203;5652](kubernetes-sigs/external-dns#5652)
- fix(source/service): disable node informer when not required by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5613](kubernetes-sigs/external-dns#5613)
- fix(source/service): disable pod and endpointSlices informers when they are not needed by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5646](kubernetes-sigs/external-dns#5646)
- fix(source/service): make sure only unique targets available for futher processing by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5614](kubernetes-sigs/external-dns#5614)
- fix(txt-registry): skip creation of already-existing TXT records ([#&#8203;4914](kubernetes-sigs/external-dns#4914)) by [@&#8203;u-kai](https://github.com/u-kai) in [#&#8203;5459](kubernetes-sigs/external-dns#5459)
- fix: zonefinder used wrong quotation style by [@&#8203;szuecs](https://github.com/szuecs) in [#&#8203;5588](kubernetes-sigs/external-dns#5588)

#### 📝 Documentation

- docs: add information on external webhook usage by [@&#8203;Raffo](https://github.com/Raffo) in [#&#8203;5606](kubernetes-sigs/external-dns#5606)
- docs: add new webhook provider SAKURA Cloud into README by [@&#8203;ippanpeople](https://github.com/ippanpeople) in [#&#8203;5784](kubernetes-sigs/external-dns#5784)
- docs(aws): add helm repo command to the tutorial by [@&#8203;raghu-manne](https://github.com/raghu-manne) in [#&#8203;5618](kubernetes-sigs/external-dns#5618)
- docs: fix typo in compatibility table by [@&#8203;vflaux](https://github.com/vflaux) in [#&#8203;5769](kubernetes-sigs/external-dns#5769)
- docs(istio): document ingress annotation by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5756](kubernetes-sigs/external-dns#5756)
- docs(providers): add Myra Security DNS to the list by [@&#8203;armaaar](https://github.com/armaaar) in [#&#8203;5671](kubernetes-sigs/external-dns#5671)
- docs(readme): update k8s compatiblity table by [@&#8203;vflaux](https://github.com/vflaux) in [#&#8203;5747](kubernetes-sigs/external-dns#5747)
- docs: remove substitution in AES keygen examples by [@&#8203;super-octo-spoon](https://github.com/super-octo-spoon) in [#&#8203;5686](kubernetes-sigs/external-dns#5686)
- docs(source/service): headless records and root/base domain by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5624](kubernetes-sigs/external-dns#5624)

#### 📦 Others

- chore(ci): improve releaser script by [@&#8203;mloiseleur](https://github.com/mloiseleur) in [#&#8203;5571](kubernetes-sigs/external-dns#5571)
- chore(ci): update labels automation by [@&#8203;mloiseleur](https://github.com/mloiseleur) in [#&#8203;5580](kubernetes-sigs/external-dns#5580)
- chore(cloudflare): migrate CreateDNSRecord() to new lib by [@&#8203;vflaux](https://github.com/vflaux) in [#&#8203;5779](kubernetes-sigs/external-dns#5779)
- chore(cloudflare): migrate DNSRecord to new lib struct by [@&#8203;vflaux](https://github.com/vflaux) in [#&#8203;5762](kubernetes-sigs/external-dns#5762)
- chore(cloudflare): rename zoneService fields by [@&#8203;vflaux](https://github.com/vflaux) in [#&#8203;5761](kubernetes-sigs/external-dns#5761)
- chore(cloudflare): upgrade library to v5 by [@&#8203;vflaux](https://github.com/vflaux) in [#&#8203;5734](kubernetes-sigs/external-dns#5734)
- chore(cloudflare): use lib v4 for regional services by [@&#8203;vflaux](https://github.com/vflaux) in [#&#8203;5609](kubernetes-sigs/external-dns#5609)
- chore(codebase): code reuse by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5607](kubernetes-sigs/external-dns#5607)
- chore(codebase): enable linter nonamedreturns by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5594](kubernetes-sigs/external-dns#5594)
- chore(codebase): remove pointer to an interface by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5625](kubernetes-sigs/external-dns#5625)
- chore(deps): bump github.com/cloudflare/cloudflare-go/v4 from 4.5.1 to 4.6.0 in the dev-dependencies group by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5645](kubernetes-sigs/external-dns#5645)
- chore(deps): bump github.com/digitalocean/godo from 1.155.0 to 1.156.0 in the dev-dependencies group by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5623](kubernetes-sigs/external-dns#5623)
- chore(deps): bump github.com/oracle/oci-go-sdk/v65 from 65.94.0 to 65.95.0 in the dev-dependencies group by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5597](kubernetes-sigs/external-dns#5597)
- chore(deps): bump google.golang.org/api from 0.239.0 to 0.240.0 in the dev-dependencies group by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5605](kubernetes-sigs/external-dns#5605)
- chore(deps): bump renovatebot/github-action from 43.0.1 to 43.0.2 in the dev-dependencies group by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5592](kubernetes-sigs/external-dns#5592)
- chore(deps): bump renovatebot/github-action from 43.0.2 to 43.0.3 in the dev-dependencies group by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5644](kubernetes-sigs/external-dns#5644)
- chore(deps): bump renovatebot/github-action from 43.0.4 to 43.0.5 in the dev-dependencies group by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5691](kubernetes-sigs/external-dns#5691)
- chore(deps): bump the dev-dependencies group across 1 directory with 10 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5760](kubernetes-sigs/external-dns#5760)
- chore(deps): bump the dev-dependencies group across 1 directory with 17 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5704](kubernetes-sigs/external-dns#5704)
- chore(deps): bump the dev-dependencies group across 1 directory with 17 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5726](kubernetes-sigs/external-dns#5726)
- chore(deps): bump the dev-dependencies group across 1 directory with 18 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5739](kubernetes-sigs/external-dns#5739)
- chore(deps): bump the dev-dependencies group across 1 directory with 2 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5667](kubernetes-sigs/external-dns#5667)
- chore(deps): bump the dev-dependencies group across 1 directory with 2 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5732](kubernetes-sigs/external-dns#5732)
- chore(deps): bump the dev-dependencies group across 1 directory with 2 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5759](kubernetes-sigs/external-dns#5759)
- chore(deps): bump the dev-dependencies group across 1 directory with 3 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5579](kubernetes-sigs/external-dns#5579)
- chore(deps): bump the dev-dependencies group across 1 directory with 5 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5690](kubernetes-sigs/external-dns#5690)
- chore(deps): bump the dev-dependencies group across 1 directory with 8 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5637](kubernetes-sigs/external-dns#5637)
- chore(deps): bump the dev-dependencies group across 1 directory with 8 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5658](kubernetes-sigs/external-dns#5658)
- chore(deps): bump the dev-dependencies group with 10 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5668](kubernetes-sigs/external-dns#5668)
- chore(deps): bump the dev-dependencies group with 2 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5610](kubernetes-sigs/external-dns#5610)
- chore(deps): bump the dev-dependencies group with 3 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5628](kubernetes-sigs/external-dns#5628)
- chore(deps): bump the dev-dependencies group with 4 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5593](kubernetes-sigs/external-dns#5593)
- chore(deps): bump the dev-dependencies group with 4 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5673](kubernetes-sigs/external-dns#5673)
- chore(deps): bump the dev-dependencies group with 9 updates by [@&#8203;app/dependabot](https://github.com/app/dependabot) in [#&#8203;5763](kubernetes-sigs/external-dns#5763)
- chore(deps): update golangci-lint version to v2.2.2 by [@&#8203;dongjiang1989](https://github.com/dongjiang1989) in [#&#8203;5670](kubernetes-sigs/external-dns#5670)
- chore(endpoint): fix typo by [@&#8203;bachorp](https://github.com/bachorp) in [#&#8203;5787](kubernetes-sigs/external-dns#5787)
- chore(github-actions): test execution with low resources by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5729](kubernetes-sigs/external-dns#5729)
- chore(github): enchance issue-template for bug-report by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5692](kubernetes-sigs/external-dns#5692)
- chore(helm): add rbac unit-tests for istio sources by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5752](kubernetes-sigs/external-dns#5752)
- chore(metrics): refactor metrics to use common registry by [@&#8203;mwmix](https://github.com/mwmix) in [#&#8203;5677](kubernetes-sigs/external-dns#5677)
- chore(plan): added tests for cases with asterisks by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5640](kubernetes-sigs/external-dns#5640)
- chore(provider/aws): reduce if-nesting for dryRun condition by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5688](kubernetes-sigs/external-dns#5688)
- chore: release chart for v0.18.0 by [@&#8203;elafarge](https://github.com/elafarge) in [#&#8203;5633](kubernetes-sigs/external-dns#5633)
- chore(release): updates kustomize & docs with v0.18.0 by [@&#8203;mloiseleur](https://github.com/mloiseleur) in [#&#8203;5573](kubernetes-sigs/external-dns#5573)
- chore(source/istio): replace kube API calls with caching and ingress informers by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5743](kubernetes-sigs/external-dns#5743)
- chore(source/net-filter): improve flow logic and add more tests by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5629](kubernetes-sigs/external-dns#5629)
- chore(source): reorganise sources and wrappers by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5598](kubernetes-sigs/external-dns#5598)
- chore(source): use types instead of strings by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5699](kubernetes-sigs/external-dns#5699)
- chore(store\*): add reduce complexity and improve code coverage by [@&#8203;AndrewCharlesHay](https://github.com/AndrewCharlesHay) in [#&#8203;5568](kubernetes-sigs/external-dns#5568)
- refactor(annotations): use common prefix to simplify filtering in informer transformers by [@&#8203;valerian-roche](https://github.com/valerian-roche) in [#&#8203;5621](kubernetes-sigs/external-dns#5621)
- refactor(cloudflare): use lib v4 for zone services by [@&#8203;AndrewCharlesHay](https://github.com/AndrewCharlesHay) in [#&#8203;5654](kubernetes-sigs/external-dns#5654)
- refactor(provider/cloudflare): use local regionalHostname struct by [@&#8203;vflaux](https://github.com/vflaux) in [#&#8203;5615](kubernetes-sigs/external-dns#5615)
- refactor(source): document and add debug information on wrappers by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5687](kubernetes-sigs/external-dns#5687)
- refactor(source/istio): add transformers by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5728](kubernetes-sigs/external-dns#5728)
- refactor: use slices.Contains instead of handrolled for loop by [@&#8203;szuecs](https://github.com/szuecs) in [#&#8203;5589](kubernetes-sigs/external-dns#5589)
- test: improve coverage on http and metrics by [@&#8203;mwmix](https://github.com/mwmix) in [#&#8203;5712](kubernetes-sigs/external-dns#5712)
- test(source/istio): add missing edge cases with tests by [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk) in [#&#8203;5715](kubernetes-sigs/external-dns#5715)
- tests(source/crd): increase timeouts when it can randomly fails by [@&#8203;vflaux](https://github.com/vflaux) in [#&#8203;5785](kubernetes-sigs/external-dns#5785)

#### 📦 Docker Image

```
docker pull registry.k8s.io/external-dns/external-dns:v0.19.0
```

#### New Contributors

- [@&#8203;svengreb](https://github.com/svengreb) made their first contribution in [#&#8203;5564](kubernetes-sigs/external-dns#5564)
- [@&#8203;schwajo](https://github.com/schwajo) made their first contribution in [#&#8203;5542](kubernetes-sigs/external-dns#5542)
- [@&#8203;valerian-roche](https://github.com/valerian-roche) made their first contribution in [#&#8203;5621](kubernetes-sigs/external-dns#5621)
- [@&#8203;chemi0213](https://github.com/chemi0213) made their first contribution in [#&#8203;5638](kubernetes-sigs/external-dns#5638)
- [@&#8203;vkolobara](https://github.com/vkolobara) made their first contribution in [#&#8203;5584](kubernetes-sigs/external-dns#5584)
- [@&#8203;raghu-manne](https://github.com/raghu-manne) made their first contribution in [#&#8203;5618](kubernetes-sigs/external-dns#5618)
- [@&#8203;coltonhughes](https://github.com/coltonhughes) made their first contribution in [#&#8203;5627](kubernetes-sigs/external-dns#5627)
- [@&#8203;elafarge](https://github.com/elafarge) made their first contribution in [#&#8203;5633](kubernetes-sigs/external-dns#5633)
- [@&#8203;mwmix](https://github.com/mwmix) made their first contribution in [#&#8203;5662](kubernetes-sigs/external-dns#5662)
- [@&#8203;super-octo-spoon](https://github.com/super-octo-spoon) made their first contribution in [#&#8203;5686](kubernetes-sigs/external-dns#5686)
- [@&#8203;armaaar](https://github.com/armaaar) made their first contribution in [#&#8203;5671](kubernetes-sigs/external-dns#5671)
- [@&#8203;hanapedia](https://github.com/hanapedia) made their first contribution in [#&#8203;5705](kubernetes-sigs/external-dns#5705)
- [@&#8203;evilhamsterman](https://github.com/evilhamsterman) made their first contribution in [#&#8203;5696](kubernetes-sigs/external-dns#5696)
- [@&#8203;dshatokhin](https://github.com/dshatokhin) made their first contribution in [#&#8203;5737](kubernetes-sigs/external-dns#5737)
- [@&#8203;antchand](https://github.com/antchand) made their first contribution in [#&#8203;5648](kubernetes-sigs/external-dns#5648)
- [@&#8203;ippanpeople](https://github.com/ippanpeople) made their first contribution in [#&#8203;5784](kubernetes-sigs/external-dns#5784)
- [@&#8203;bachorp](https://github.com/bachorp) made their first contribution in [#&#8203;5787](kubernetes-sigs/external-dns#5787)

**Full Changelog**: <kubernetes-sigs/external-dns@v0.18.0...v0.19.0>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45My4yIiwidXBkYXRlZEluVmVyIjoiNDEuOTMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwL21pbm9yIl19-->

Reviewed-on: https://codeberg.org/JesusMtnez/homelab/pulls/805
Co-authored-by: JesusMtnez-bot <jesusmartinez93+bot@gmail.com>
Co-committed-by: JesusMtnez-bot <jesusmartinez93+bot@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

apis Issues or PRs related to API change approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. controller Issues or PRs related to the controller docs lgtm "Looks good to me", indicates that a PR is ready to be merged. plan Issues or PRs related to external-dns plan provider Issues or PRs related to a provider size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Emit Kubernetes events for changes

4 participants