Ivan Ka
17fa4b4e7a
feat(source): support ttl
annotation on pod ( #5527 )
...
* feat(source/pod): add support ttl annotation
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* feat(source/pod): add support ttl annotation
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
---------
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-06-19 21:50:51 -07:00
Ivan Ka
36e3e53190
perf(source): benchmarks on EndpointTargetsFromServices ( #5536 )
...
* chore(benchmarking): added benchmarks to EndpointTargetsFromServices
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* chore(benchmarking): added benchmarks to EndpointTargetsFromServices
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* chore(benchmarking): added benchmarks to EndpointTargetsFromServices
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* chore(benchmarking): added benchmarks to EndpointTargetsFromServices
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
---------
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-06-19 15:31:00 -07:00
vflaux
ef6e0e5e1e
feat(source): use EndpointSlices instead of Endpoints for Service ( #5493 )
...
* feat(source): use EndpointSlice for Service source
* feat(source): use indexer for EndpointSlice listing
2025-06-19 03:06:52 -07:00
Mikael Johansson
6a04135cae
fix(f5): validate virtualservers and transportservers based on IP only ( #5532 )
2025-06-18 00:12:51 -07:00
Alen Zubic
28f9e9c06e
feat(source)!: introduce optional force-default-targets ( #5316 )
...
* BREAKING CHANGE: Improve default targets management
* fix: Remove old test case
* fix: Test confirming legacy mode allows empty CRD targets
* fix: Remove comments
* fix: Move flag definition closer to detault-targets
* fix: Initial merge adaptation
* fix: Improved legacy needs a chance to work with empty CRD list
* fix: Code coverage and dead code
* fix: Simpler Endpoints logic
* fix: Flag description
* feat: Add tutorial
* fix: Improve linting
* fix: Improve linting
* fix: Import linting
2025-06-17 23:48:51 -07:00
Ivan Ka
0aababa741
feat(source/node): fqdn support combineFQDNAnnotation ( #5526 )
...
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-06-15 15:36:59 -07:00
Ivan Ka
8ce0b3d609
chore(source/service): add tests for fqdn templating ( #5529 )
2025-06-15 14:29:05 -07:00
Ivan Ka
7aca4dc6a3
chore(source/service): add resource label without looping over ( #5528 )
...
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-06-15 14:28:58 -07:00
Ivan Ka
7792986483
feat(source/pod): add support for fqdn templating ( #5512 )
...
* feat(source/pod): add support for fqdn templating
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* feat(source/pod): add support for fqdn templating
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* feat(source/pod): add support for fqdn templating
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* feat(source/pod): add support for fqdn templating
Co-authored-by: vflaux <38909103+vflaux@users.noreply.github.com>
* feat(source/pod): add support for fqdn templating
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* feat(source/pod): add support for fqdn templating
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* feat(source/pod): add support for fqdn templating
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* feat(source/pod): add support for fqdn templating
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
---------
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
Co-authored-by: vflaux <38909103+vflaux@users.noreply.github.com>
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
2025-06-13 06:14:58 -07:00
kaikai
f5a366767d
test(source): remove flaky log assertions from pod tests ( #5517 )
...
* test(source): remove flaky log assertions from pod tests
* test(source): add comprehensive log testing for pod source
2025-06-13 00:38:56 -07:00
Ivan Ka
c6170cdace
chore(source/ingress): add fqdn specific tests for ingress source ( #5507 )
...
* chore(source/ingress): add fqdn specific tests for ingress source
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* chore(source/ingress): add fqdn specific tests for ingress source
Co-authored-by: vflaux <38909103+vflaux@users.noreply.github.com>
* chore(source/ingress): add fqdn specific tests for ingress source
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* chore(source/ingress): add fqdn specific tests for ingress source
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* chore(source/ingress): add fqdn specific tests for ingress source
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* chore(source/ingress): add fqdn specific tests for ingress source
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
---------
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
Co-authored-by: vflaux <38909103+vflaux@users.noreply.github.com>
2025-06-12 23:14:57 -07:00
Michel Loiseleur
fd214141d2
test(source): fix flaky test ( #5514 )
2025-06-09 07:14:24 -07:00
Ivan Ka
28cac12dbe
chore(source/node): added resouce labels for nodes ( #5509 )
...
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-06-09 04:12:23 -07:00
Ivan Ka
f55be38b45
chore(source/node): template expansion ( #5498 )
2025-06-06 11:28:39 -07:00
vflaux
0b3e40579b
chore(code-quality): reduce cyclomatic complexity of podSource.Endpoints() ( #5470 )
...
* fix(source): handle get node errors
fix nil pointer dereferences in podSource.Endpoints (#5405 )
* chore: reduce podSource.Endpoints() cyclop
2025-06-06 08:24:39 -07:00
Michel Loiseleur
7fb0ed0857
revert: fix on gateway-api that ensure to use only latest generation with HTTPRoutes ( #5490 )
2025-06-04 00:56:38 -07:00
dependabot[bot]
bcaf259533
chore(deps): bump the dev-dependencies group across 1 directory with 11 updates ( #5484 )
...
* chore(deps): bump the dev-dependencies group across 1 directory with 11 updates
Bumps the dev-dependencies group with 11 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [github.com/F5Networks/k8s-bigip-ctlr/v2](https://github.com/F5Networks/k8s-bigip-ctlr ) | `2.19.1` | `2.20.0` |
| [github.com/civo/civogo](https://github.com/civo/civogo ) | `0.5.1` | `0.5.3` |
| [github.com/digitalocean/godo](https://github.com/digitalocean/godo ) | `1.148.0` | `1.150.0` |
| [github.com/go-logr/logr](https://github.com/go-logr/logr ) | `1.4.2` | `1.4.3` |
| [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) | `1.17.1` | `1.18.0` |
| [github.com/linode/linodego](https://github.com/linode/linodego ) | `1.50.0` | `1.52.0` |
| [github.com/oracle/oci-go-sdk/v65](https://github.com/oracle/oci-go-sdk ) | `65.91.0` | `65.92.0` |
| [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) | `0.233.0` | `0.235.0` |
| [istio.io/api](https://github.com/istio/api ) | `1.26.0` | `1.26.1` |
| [istio.io/client-go](https://github.com/istio/client-go ) | `1.26.0` | `1.26.1` |
| [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime ) | `0.20.4` | `0.21.0` |
Updates `github.com/F5Networks/k8s-bigip-ctlr/v2` from 2.19.1 to 2.20.0
- [Release notes](https://github.com/F5Networks/k8s-bigip-ctlr/releases )
- [Changelog](https://github.com/F5Networks/k8s-bigip-ctlr/blob/master/docs/RELEASE-NOTES.rst )
- [Commits](https://github.com/F5Networks/k8s-bigip-ctlr/compare/v2.19.1...v2.20.0 )
Updates `github.com/civo/civogo` from 0.5.1 to 0.5.3
- [Release notes](https://github.com/civo/civogo/releases )
- [Changelog](https://github.com/civo/civogo/blob/master/changelog.yml )
- [Commits](https://github.com/civo/civogo/compare/v0.5.1...v0.5.3 )
Updates `github.com/digitalocean/godo` from 1.148.0 to 1.150.0
- [Release notes](https://github.com/digitalocean/godo/releases )
- [Changelog](https://github.com/digitalocean/godo/blob/main/CHANGELOG.md )
- [Commits](https://github.com/digitalocean/godo/compare/v1.148.0...v1.150.0 )
Updates `github.com/go-logr/logr` from 1.4.2 to 1.4.3
- [Release notes](https://github.com/go-logr/logr/releases )
- [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-logr/logr/compare/v1.4.2...v1.4.3 )
Updates `github.com/goccy/go-yaml` from 1.17.1 to 1.18.0
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.17.1...v1.18.0 )
Updates `github.com/linode/linodego` from 1.50.0 to 1.52.0
- [Release notes](https://github.com/linode/linodego/releases )
- [Commits](https://github.com/linode/linodego/compare/v1.50.0...v1.52.0 )
Updates `github.com/oracle/oci-go-sdk/v65` from 65.91.0 to 65.92.0
- [Release notes](https://github.com/oracle/oci-go-sdk/releases )
- [Changelog](https://github.com/oracle/oci-go-sdk/blob/master/CHANGELOG.md )
- [Commits](https://github.com/oracle/oci-go-sdk/compare/v65.91.0...v65.92.0 )
Updates `google.golang.org/api` from 0.233.0 to 0.235.0
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.233.0...v0.235.0 )
Updates `istio.io/api` from 1.26.0 to 1.26.1
- [Commits](https://github.com/istio/api/compare/1.26.0...1.26.1 )
Updates `istio.io/client-go` from 1.26.0 to 1.26.1
- [Commits](https://github.com/istio/client-go/compare/1.26.0...1.26.1 )
Updates `sigs.k8s.io/controller-runtime` from 0.20.4 to 0.21.0
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases )
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md )
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.20.4...v0.21.0 )
---
updated-dependencies:
- dependency-name: github.com/F5Networks/k8s-bigip-ctlr/v2
dependency-version: 2.20.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: github.com/civo/civogo
dependency-version: 0.5.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/digitalocean/godo
dependency-version: 1.150.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: github.com/go-logr/logr
dependency-version: 1.4.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/goccy/go-yaml
dependency-version: 1.18.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: github.com/linode/linodego
dependency-version: 1.52.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: github.com/oracle/oci-go-sdk/v65
dependency-version: 65.92.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: google.golang.org/api
dependency-version: 0.235.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: istio.io/api
dependency-version: 1.26.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: istio.io/client-go
dependency-version: 1.26.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: sigs.k8s.io/controller-runtime
dependency-version: 0.21.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dev-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix tests
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2025-06-03 12:42:39 -07:00
Ivan Ka
00fde1e510
chore(source/crd): add labels without looping over ( #5492 )
2025-06-03 00:02:38 -07:00
Ivan Ka
0d1108f5d7
chore(source/service): restructure code to make service type filters testable ( #5485 )
...
* chore(source/service): restructure code with filters are testable
* chore(source/service): restructure code with filters are testable
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
* chore(source/service): restructure code with filters are testable
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>
2025-06-01 12:00:13 -07:00
Ivan Ka
fbaf15f20b
chore(source/crd): improve coverage, fix deprecations ( #5489 )
2025-06-01 07:38:11 -07:00
Michel Loiseleur
17de6134ca
chore(ci): rework label in OWNERS ( #5481 )
2025-05-29 13:28:17 -07:00
Ivan Ka
95c2c72d22
fix(provider): aws-sd provider null pointer ( #5404 )
...
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-05-29 13:04:18 -07:00
Kubernetes Prow Robot
60bfa0754e
Merge pull request #5466 from gofogo/chore-informers
...
chore(source): move cache informer to dedicated folder
2025-05-28 13:18:24 -07:00
ivan katliarchuk
2b7d236734
chore(source): move cache informer to dedicated folder
...
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-05-25 13:47:16 +01:00
Michel Loiseleur
756a7288da
chore!: remove unmaintained providers
2025-05-25 09:43:01 +02:00
Michel Loiseleur
d0e6a9075e
chore(crd): move code to apis/v1alpha1
( #5446 )
...
* chore(crd): move code to `api/v1alpha1`
* fix license check
* fix linter
* remove obsolete exclusion on linter
2025-05-23 08:16:37 -07:00
Kubernetes Prow Robot
3f62620b69
Merge pull request #5444 from linoleparquet/cyclop-service
...
chore(source): reduce cyclomatic complexity of extractNodePortTargets
2025-05-21 08:38:36 -07:00
Lino Layani
c01fbf0682
wip
2025-05-21 10:23:28 -04:00
Ivan Ka
e21607254d
chore(codebase): enable errorlint ( #5439 )
...
* chore(codebase): enable errorlint
* chore(codebase): enable errorlint
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
---------
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-05-21 04:14:34 -07:00
Ivan Ka
bdb51b2d96
chore(codebase): enable testifylint ( #5441 )
...
* chore(codebase): enable testifylint
* chore(codebase): enable testifylint
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* chore(codebase): enable testifylint
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
---------
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-05-21 03:46:34 -07:00
ivan katliarchuk
8e9f9ba165
chore(codebase): enable usestdlibvars for Go constants
...
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-05-20 22:51:27 +01:00
ivan katliarchuk
11fd3a87aa
chore(codebase): enable copyloopvar
2025-05-20 09:37:39 +01:00
Ivan Ka
b20025e311
feat(fqdn): improve ExecTemplate and add more functions ( #5406 )
...
* chore(fqdn): fqdn move ExecTemplate to fqdn. add proper tests
* chore(fqdn): fqdn move ExecTemplate to fqdn. add proper tests
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* chore(fqdn): fqdn move ExecTemplate to fqdn. add proper tests
Co-authored-by: Lino Layani <39967417+linoleparquet@users.noreply.github.com>
* chore(fqdn): fqdn move ExecTemplate to fqdn. add proper tests
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
* chore(fqdn): fqdn move ExecTemplate to fqdn. add proper tests
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
---------
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
Co-authored-by: Lino Layani <39967417+linoleparquet@users.noreply.github.com>
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
2025-05-19 12:35:22 -07:00
tom
14ea50300e
feat(cloudflare): Suppport DNS record comments ( #5411 )
...
* feat(cloudflare): Suppport DNS record comments
* Provide comment flag example
2025-05-19 00:43:15 -07:00
Ivan Ka
791601e2e3
chore(codebase): add nilnil return check ( #5415 )
...
* chore(code-quality): added nilnil return check
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* chore(code-quality): added nilnil return check
---------
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-05-19 00:19:16 -07:00
Kubernetes Prow Robot
09d49a106a
Merge pull request #5399 from kevinvalk/expose-internal-ipv6-services
...
fix(source): expose internal ipv6 flag on headless service
2025-05-17 00:57:13 -07:00
Ivan Ka
4ea5f9df60
chore(source/traefik_proxy): code coverage and refactoring ( #5380 )
...
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-05-14 23:38:48 -07:00
Kevin Valk
e379fe172e
refactor: handle internal IPv6 addresses consistently with --expose-internal-ipv6 flag throughout all sources
2025-05-14 17:15:47 +02:00
ivan katliarchuk
68b1cdbd3c
chore(source): code cleanup
...
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-05-13 07:27:38 +01:00
Mathew Kamkar
f08289d27c
feat: additional template functions ( #3949 )
...
* additional template functions
* lint
* fix typeo
* status check fixes
* lint fix try 2
* lint fix try 3
* tests for individual functions
2025-05-12 23:19:16 -07:00
ivan katliarchuk
fe83c0d2d0
chore(source): code cleanup
2025-05-12 14:21:28 +01:00
Ivan Ka
de6fb9d385
fix(log testing): re-use logger library testing functionality ( #5368 )
...
* fix(log testing): re-use logger library testing functionality
* fix(log testing): re-use logger library testing functionality
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* fix(log testing): re-use logger library testing functionality
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
---------
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-05-12 01:49:15 -07:00
Kubernetes Prow Robot
2f165e878c
Merge pull request #5374 from gofogo/code-cleanup-vv0
...
chore(code-quality): refactoring and linter fixes
2025-05-10 10:57:14 -07:00
Kubernetes Prow Robot
a509a9b4f1
Merge pull request #5378 from gofogo/chore-code-quality-source-pod
...
test(source/pod): improve code coverage
2025-05-10 07:43:14 -07:00
Ivan Ka
51d063ad28
chore(fqdn-template): fqdn templating move to specific folder and update documentation ( #5354 )
...
* chore(fqdn): fqdn move to specific folder and update documentation
* chore(fqdn): fqdn move to specific folder and update documentation
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
* chore(fqdn): fqdn move to specific folder and update documentation
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* chore(fqdn): fqdn move to specific folder and update documentation
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
* chore(fqdn): fqdn move to specific folder and update documentation
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>
2025-05-10 05:53:22 -07:00
Kubernetes Prow Robot
b5a7ae1626
Merge pull request #5349 from kashalls/fix-gateway-maybe
...
fix(gateway-api): ensure to use only latest generation with HTTPRoutes
2025-05-10 05:53:15 -07:00
ivan katliarchuk
e22c451744
feat(code-quality): source/pod improve code coverage
...
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-05-10 13:23:16 +01:00
ivan katliarchuk
9f8f30882b
chore(source): code cleanup
...
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-05-09 08:21:31 +01:00
Lino Layani
7aaa274f17
test(source): cover unhappy paths ( #5369 )
...
* Improve test coverage store
* Improve test coverage
2025-05-08 10:55:15 -07:00
Tyler Holinka
57ba99094d
fix: add unit test for route never being accepted
2025-05-04 14:28:15 -05:00