Arjun Naik
d91b7e6b8f
Label filtering for Ingress, Service, Openshift Route sources
...
Currently the `--label-filter` flag can only be used to filter CRDs
which match the label selector passed through that flag. This change
extends the functionality to the Ingress, Service and Openshift Route
type objects. When the flag is not specified the default value is
`labels.Everything()` which is an empty string, the same as before.
Annotation based filter is inefficient because the filtering has to be
done in the controller instead of the API server like with label
filtering.
2021-10-14 11:06:55 +02:00
João Marçal
79ea64884b
Added labelFilter for source CRD ( #1461 )
...
* Added label filter for source CRD
* Fixed bug with labels and added tests for source CRD
* Fixed formating
* Update source/crd_test.go
Co-authored-by: Vinny Sabatini <vincent.sabatini@gmail.com>
Co-authored-by: Vinny Sabatini <vincent.sabatini@gmail.com>
2020-09-24 01:28:05 -07:00
Raffaele Di Fazio
7505f29e4c
Remove occurrences of "master" from the project ( #1636 )
...
* intial removal of inappropriate terminology
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
* removed other occurrences
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
* gofmt
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
* addresses comment
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
* gofmt
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
2020-07-08 01:13:08 -07:00
Joseph Glanville
6efca134f5
dependencies: Upgrade all k8s client-go dependent sources to v1.18.X
...
This requires pinning grpc for now as istio client-go otherwise pulls in
breaking changes.
2020-07-03 11:29:37 +07:00
Adam Stankiewicz
1806ade2c1
Fix scheduling of reconciliation
2020-05-19 17:26:12 +02:00
Tariq Ibrahim
b1b46e7bec
use istio client-go and clean up k8s deps
2020-05-17 09:21:01 -07:00
Yury Tsarev
d432625168
Implement annotation filter for CRD source
...
* Ability to use `--annotation-filter` for CRD source
* Use case is similar to https://github.com/kubernetes-sigs/external-dns/blob/master/docs/faq.md#running-an-internal-and-external-dns-service
but for CRD source, effectively DNSEndpoints instead of Ingresses
2020-03-28 00:21:25 +01:00
jlamillan
fed2f0f0dd
Add --events flag to use informers to automatically trigger sync loop on adds/updates/deletes for supported ingress and service sources.
2020-01-27 11:00:26 -08:00
Tariq Ibrahim
41ba7f1ff5
rename project root package to sigs.k8s.io
2020-01-06 08:08:35 -08:00
Nick Jüttner
f763d2a413
Move into kubernetes-sigs organization ( #1245 )
...
* Move into kubernetes-sigs organization
* Disable labeler action for forks
2019-11-01 17:10:19 +01:00
João Marçal
d35633b47f
Fixed identation
...
Signed-off-by: João Marçal <joao.marcal12@gmail.com>
2019-08-22 17:21:00 +02:00
João Marçal
4dc7e75530
Added the requested changes
...
Signed-off-by: João Marçal <joao.marcal12@gmail.com>
2019-08-19 16:14:01 +02:00
João Marçal
cb3f8c9ca5
Fixed some formating mistakes
...
Signed-off-by: João Marçal <joao.marcal12@gmail.com>
2019-07-18 11:27:18 +02:00
João Marçal
9f6ebfa06d
Fixed unused assignment
...
Signed-off-by: João Marçal <joao.marcal12@gmail.com>
2019-07-18 11:05:56 +02:00
João Marçal
6bf1c2bcb5
Added "external-dns/resource=..." field to CRDs usefull to solve conflits
...
Added warning when CR has a target with a "." in the end, which would make external-dns contantly add and remove the record
Signed-off-by: João Marçal <joao.marcal12@gmail.com>
2019-07-18 10:11:34 +02:00
Arturo Contreras
bde9957e48
Rename endPoint to endpoint for crd implementation.
2019-06-04 11:52:36 -06:00
Arturo Contreras
5df90d6900
Add crd check for empty targets.
2019-05-20 09:29:25 -06:00
xunpan
fc245c088d
avoid unnecessary updating for CRD resource
...
with test updated
2018-12-13 02:35:18 -05:00
David Schneider
59f0022b6d
Change default apiversion of crd
...
- Change default apiversion of DNSEndpoint
- Add error to output CRDClient
2018-11-16 18:41:06 +01:00
shashidharatd
18aee82d3d
Add crd source which gets Endpoints from CRD
2018-08-22 19:37:21 +05:30