Miheer Salunke
ab8a62045e
In OCP when you have multiple ingress controllers the route's status Ingress object get populated with multiple router canonical names. So in this case, the external dns tries to add multiple CNAME records for same host in the same hosted zone which is a violation of RFC 1912 and therefore is rejected by standards-compliant DNS services.
...
This feature adds a router field to the OCP Route Source so that a user can add an ingress controller name in flag --ocp-router-name which will be used to pick up the respective routerCanonicalHostname from Route's Status Ingress Object.
Signed-off-by: Miheer Salunke <miheer.salunke@gmail.com>
2021-11-03 12:52:57 +10:00
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
Andrew Stuart
0e27f41fa0
Update external-dns to use v1 ingress
2021-09-08 09:29:05 -07:00
Raffaele Di Fazio
9d5f721209
delete one more file
...
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
2021-08-12 17:19:22 +02:00
Raffaele Di Fazio
d82bee2b53
Merge branch 'master' into raffo/bump-modules
...
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
2021-08-12 16:28:30 +02:00
Raffaele Di Fazio
3e8b5effd8
changes to contour
...
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
2021-08-12 16:09:24 +02:00
Raffaele Di Fazio
5c7ddb07c2
drop more concour
...
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
2021-08-12 14:12:44 +02:00
Raffaele Di Fazio
05cadcb340
remove contour ingressroute
...
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
2021-08-12 14:08:02 +02:00
Raffaele Di Fazio
17d06f4a88
remove comments
...
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
2021-08-12 09:56:53 +02:00
Raffaele Di Fazio
b18e723ff2
save
...
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
2021-08-11 14:46:30 +02:00
Raffaele Di Fazio
376d4653d8
remove kubernetes dependency
...
Signed-off-by: GitHub <noreply@github.com>
2021-08-10 13:48:11 +00:00
Andy Bursavich
60c649bf5c
source: dedupe wait for cache sync
...
wait
2021-07-28 13:37:17 -07:00
Andy Bursavich
55637abbef
source: dedupe event handlers
2021-07-28 13:36:35 -07:00
Andy Bursavich
b032f2864f
source: dedupe template execution
2021-07-28 13:35:51 -07:00
Andy Bursavich
638194fccd
source: dedupe template parsing
2021-07-28 07:46:35 -07:00
Andy Bursavich
5069c3f0fb
source: name files consistently with their source name
2021-07-28 07:46:35 -07:00
Andy Bursavich
76108e1bde
source: parallelize tests that wait for syncing
2021-07-26 12:40:15 -07:00
Andy Bursavich
6da9fdd2e2
source: remove NewFakeConfigStore one-liner
2021-07-26 12:40:15 -07:00
Andy Bursavich
53bb0594bf
connector: run test server on any open port
2021-07-25 13:32:30 -07:00
Andy Bursavich
f7a0539686
source: create test resources before sources
2021-07-25 13:32:30 -07:00
Andy Bursavich
eb2addb688
source: tests validate endpoint ProviderSpecific and SetIdentifier
2021-07-25 13:32:30 -07:00
Andy Bursavich
e0d42415ee
source: fix flakes by sorting endpoint by dns names and targets
2021-07-21 11:50:28 -07:00
Anand Patel
509a07c493
create new source ingress config option IgnoreIngressRulesSpec
2021-06-30 10:03:04 -07:00
Anand Patel
9bccccf414
add ignoreIngressRulesSpec for ingress source
2021-06-30 09:56:58 -07:00
Kubernetes Prow Robot
67fad71451
Merge pull request #2095 from voro015/registry_aws-sd-map-fix
...
Fixed AWSSDRegistry nil labels map
2021-06-30 01:25:03 -07:00
Stephen Greene
d273066d6b
source: Add ocproute source unit tests
...
source/ocproute_test.go:
New file for source/ocproute.go unit tests.
Inspired by the service source unit tests,
this commit adds basic unit tests to verify
basic functionality of the OCP route source.
Signed-off-by: Stephen Greene <sgreene@redhat.com>
2021-06-28 11:34:00 -04:00
Stephen Greene
b05df8b388
source: Clean up OpenShift Route source
...
source/ocproute.go:
Add/clean up godocs and general in-line comments.
Change `routeapi` named import to `routev1`.
Update `routev1` calling sites accordingly.
Signed-off-by: Stephen Greene <sgreene@redhat.com>
2021-06-28 11:23:07 -04:00
Kubernetes Prow Robot
0148bca0f5
Merge pull request #2041 from olemarkus/kops
...
Kops compatibility mode
2021-06-24 06:25:41 -07:00
Ole Markus With
ba30810641
Use kops dns controller instead of just dns controller where it makes sense
...
Co-authored-by: Nick Jüttner <nick@juni.io>
2021-06-24 08:31:42 +02:00
Artem Voronin
0aae14288c
Added test for node with nil labels
2021-06-23 22:01:09 +03:00
Kubernetes Prow Robot
c78be00600
Merge pull request #2109 from krmichel/master
...
Add support for Kong's TCPIngress with a load balancer
2021-06-23 11:34:10 -07:00
Kyle Michel
2b39eabe38
Apply suggestions from code review
...
Co-authored-by: Nick Jüttner <nick@juni.io>
2021-06-23 08:14:56 -04:00
Kubernetes Prow Robot
d29b4316e2
Merge pull request #2089 from bbl/master
...
Add the --default-targets flag
2021-06-23 01:22:10 -07:00
Ole Markus With
73469a0852
Support dns-controller compat mode for pod source
2021-06-23 09:06:38 +02:00
Ole Markus With
7a16ab46fa
Add support for dns-controller compat mode for services
2021-06-23 09:06:38 +02:00
Kubernetes Prow Robot
2f78d09b47
Merge pull request #1696 from dansimone/dansimone/support-prefer-ingress-annotations
...
Optional ability to use the host name defined on an ingress's annotations *instead* of its hosts stanza
2021-06-14 02:13:04 -07:00
Artem Voronin
ea9158cbf2
Fixed node nil labels map with aws-sd registry
2021-06-02 18:47:20 +03:00
Kyle Michel
8676dda63f
Add support for Kong's TCPIngress with a load balancer
2021-05-26 21:04:07 -04:00
Bogdan
2476e77541
Add the --default-targets flag
...
This is a useful feature in environments
with public global WAN address(es)
2021-05-21 08:21:14 +02:00
dan.simone@oracle.com
963282479e
Add clarifying comment about ingressHostnameSourceKey
2021-04-14 13:26:34 -07:00
dan.simone@oracle.com
03c3c8fcb8
Address remove comments
2021-04-14 13:21:03 -07:00
Kubernetes Prow Robot
9b1183fca7
Merge pull request #2032 from olemarkus/pod-source
...
Add pod source [kops compatibility]
2021-04-07 00:37:53 -07:00
Allen Porter
98284a94a5
Add unit test that exercises behavior of headless endpoint with no TargetRef.
2021-03-31 23:47:21 -07:00
Ole Markus With
5a46584221
Add pod source
...
Pod source is a key feature of kOps' DNS Controller.
Among other things, i is used for etcd and API discovery.
2021-03-31 15:48:41 +02:00
Allen Porter
a19deebe27
Avoid nil pointer deference in extractHeadlessEndpoints
...
Skip address when TargetRef is nil
2021-03-27 16:09:21 -07:00
Hugome
5221b1d525
feat: add gloo proxy source
2021-03-03 22:34:22 +01:00
Kubernetes Prow Robot
0f4b992d20
Merge pull request #1950 from polivbr/fix-virtualsvc-dup-endpoints
...
remove duplicate endpoints when processing VirtualService
2021-02-25 02:17:25 -08:00
Brett Polivka
5146c6e7e1
rename appendIfMissing to appendUnique and add comment
2021-02-17 15:32:08 +00:00
Brett Polivka
eb7c8491cb
remove duplicate endpoints when processing VirtualService
2021-02-04 20:56:55 +00:00
Alvaro Saurin
6eeef96b14
Support Ambassador Host resources as sources
...
Ambassador can be configured with `Host` resources (based on the
`Host` CRD) for defining the external DNS host name.
This code adds a new source, `ambassador-host`, that looks for the
`ambassador/ambassador` Service and and uses the `hostname` from the
`Host` resource.
Signed-off-by: Alvaro Saurin <alvaro.saurin@gmail.com>
Signed-off-by: Flynn <flynn@datawire.io>
2021-01-27 12:47:10 -05:00