Ole Markus With
ce2e877aeb
Remove bazel files from vendor
2022-04-12 13:29:03 +02:00
Ciprian Hacman
ea7df00719
Run hack/update-gofmt.sh
2021-12-01 22:39:50 +02:00
John Gardiner Myers
1bd88a441d
dns-controller: Use aliases for internal pod records
2021-10-30 13:28:39 -07:00
John Gardiner Myers
2cebd7ece5
dns-controller: Filter node InternalIPs by pod network families
2021-10-30 13:28:39 -07:00
John Gardiner Myers
540a1ca803
dns-controller: Treat IPv6 node addresses as both internal and external
2021-10-25 17:43:07 -07:00
Peter Rifel
7c2112b32d
Update dns-controller to use networking.k8s.io/v1 for watching Ingresses
2021-08-08 15:54:27 -04:00
Ciprian Hacman
65f18c3946
Add support for IPv6 addresses to dns-controller
2021-07-02 09:34:05 +03:00
Justin SB
01d1c7fa1d
Deeper validation in dns controller tests
...
Follow up to #11069 ; use cmp.Diff to compare got vs want.
2021-03-21 11:00:20 -04:00
Ole Markus With
b13bc432b1
Remove commented logic we'll probably never add back
2021-03-19 10:11:48 +01:00
Ole Markus With
f5ecbd63cf
Add a dns-controller pod watcher test
...
Update dns-controller/pkg/watchers/testhelpers.go
Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2021-03-19 10:11:46 +01:00
Peter Rifel
4d9f0128a3
Upgrade to klog2
...
This splits up the kubernetes 1.19 PR to make it easier to keep up to date until we get it sorted out.
2020-08-16 20:56:48 -05:00
Justin Santa Barbara
31bb16d4d1
Add context.Context to most signatures
...
The client-go signature for most methods adds a context.Context
object, and also makes Options mandatory. Feed through a
context.Context through many of our methods (but use context.TODO to
stop it getting totally out of hand!)
2020-04-11 14:44:17 -04:00
Ciprian Hacman
4c4400c5f3
Add code simplifications for staticheck
2019-12-30 17:40:24 +02:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB
76d03b3f71
Generated files: glog -> klog
2019-05-06 12:56:03 -04:00
Justin SB
3e33ac7682
Change code from glog to klog
...
We don't call klog.InitFlags yet, because that will cause a flag
redefinition error until we get everyone to stop using glog. That
will happen when we update to k8s 1.13.
2019-05-06 12:54:51 -04:00
xichengliudui
16ee9c4342
Using const() defines constants together (part:3)
2019-04-20 05:02:21 -04:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco)
4f0169bb79
codegen
2019-01-16 09:30:40 -07:00
Justin Santa Barbara
14fd2d2d64
Verify that no extra records remain after a reconnection
...
Otherwise there's a chance that we have have extra records, particularly
in the case of a master restart and reconnect.
Fix #2572
2017-11-15 01:56:37 -05:00
chrislovecnm
609e268a1d
gazelle updates with new bazel version
2017-11-05 17:41:53 -07:00
Justin Santa Barbara
0143be7c4f
autogen: BUILD and BUILD.bazel
2017-10-02 14:27:21 -04:00
Justin Santa Barbara
544990842a
More fixes for 1.8 API changes
2017-10-01 23:02:32 -04:00
Justin Santa Barbara
3478031533
API types changed package
2017-10-01 14:03:56 -04:00
Rohith
b64795673d
DNS Controller Limitation
...
The current implementation does not place any limitation on the dns annontation which the dns-controller can consume. In a multi-tenented environment was have to ensure certain safe guards are met, so users can't byt accident or intentionally alter our internal dns. Note; the current behaviour has not been changed;
- added the --watch-namespace option to the dns controller and WatchNamespace to the spec
- cleaned up area of the code where possible or related
- fixed an vetting issues that i came across on the journey
- renamed the dns-controller watcher files
2017-09-22 11:37:00 +01:00
chrislovecnm
fc0f20a020
raising logging levels and removing dead code
2017-07-25 15:01:37 -06:00
Justin Santa Barbara
4006741a5d
Update for new taints / labels names
2017-03-27 23:13:39 -04:00
Justin Santa Barbara
cb4641fea3
Code updates
2017-03-16 02:40:50 -04:00
Justin Santa Barbara
31394aedfa
dns-controller: include namespace in keys
...
Avoids collisions when two services are named the same (for example).
Fix #1788
2017-02-15 23:58:25 -05:00
Justin Santa Barbara
a375b1af82
Updates for k8s 1.6 code
2017-01-03 20:32:48 -05:00
Aman
48aba161a0
Add support for annotation "internal" on services
...
- it adds node private IPs as DNS A records in route53
2016-11-21 12:08:20 +05:30
Kris Childress
77d42b39f6
Merge pull request #720 from justinsb/aliases_for_nodes
...
Support aliases for NodePort services
2016-11-20 19:27:57 -07:00
Justin Santa Barbara
5d8ebcd34f
Fixes per code review
2016-11-19 15:22:18 -05:00
Justin Santa Barbara
b8729f2738
Support aliases for NodePort services
...
Fixes #718
2016-11-19 15:22:18 -05:00
Justin Santa Barbara
27026ff110
Misc build fixes for dns-controller
2016-11-19 15:01:00 -05:00
chrislovecnm
8fa2aac99f
fixing more headers
2016-10-15 19:20:56 -06:00
Justin Santa Barbara
8df2a8c843
Apply gofmt to dns-controller
2016-07-27 11:04:57 -04:00
Justin Santa Barbara
bdb8e77079
Import code for new DNS controller
...
It uses the dnsprovider code in the k8s repo, and it looks for
annotations on pods, ingress, nodes & services.
2016-07-24 23:42:49 -04:00