Commit Graph

54 Commits

Author SHA1 Message Date
Ciprian Hacman ea7df00719 Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
Eng Zer Jun 425173ae9f
refactor: move from io/ioutil to io and os packages
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-12 15:37:18 +08:00
burntcarrot 7a6e1c1e68 Fix new staticcheck errors
Signed-off-by: burntcarrot <aadhav.n1@gmail.com>
2021-08-28 19:48:17 +05:30
Ole Markus With 38f805c5ef Make external-dns a drop-in for dns-controller
Support TXT records
2021-08-27 06:24:47 +02:00
srikiz c3996024b6 Minor changes for adding digitalocean plugin for dnsprovider 2021-08-18 21:07:40 +05:30
srikiz 41439109a8 Fix DNS Provider package for DO 2021-08-12 00:01:50 +05:30
John Gardiner Myers 23de00da6e Enable reading shared config when possibly from CLI 2021-05-05 22:08:54 -07:00
Peter Rifel e624aeb102
Increase route53 retry count from 3 to 5
Hoping to fix failures like this: https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/e2e-kops-aws-distro-imagecentos8/1370176524702978048
2021-03-11 22:15:53 -06:00
Jesse Haka 034dad258c modify names 2021-02-05 09:57:54 +02:00
Jesse Haka 41d04d8d4b add user agent to openstack api requests 2021-02-04 23:04:06 +02:00
Ole Markus With 076ae3dfe4 Remove coredns dnsprovider 2021-01-22 09:19:35 +01:00
Ole Markus With 73fcd24e5e Bump etcd client to 3.4. Use go modules 2020-12-15 08:33:28 +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
ZouYu 2fc52ec6be fix some go-lint warning
Signed-off-by: ZouYu <zouy.fnst@cn.fujitsu.com>
2020-06-09 08:52:50 +08:00
Justin Santa Barbara 3306549749 Add general contract test for IsEmpty
This was the root bug that was causing the over-logging on GCE.
2020-05-17 17:11:01 -04:00
Justin Santa Barbara 7e710e85d9 DNS: Apply should be a no-op when empty
Document the contract a bit more, change the signature by adding a
context arg and following through to make sure we honor the contract
everywhere.
2020-05-17 16:45:08 -04:00
Justin SB 520474468d DNS: Don't try to apply empty changesets
For GCE this was resulting in confusing error messages.
2020-05-17 16:43:10 -04:00
Peter Rifel 9530015342
Rename test names to make it easier to search for failing tests
This is very minor...

GH Action's search functionality is not case sensitive.
In Travis CI, one could search for `FAIL:` and be taken to relevant test failures.
In GHA, these tests were also in the search results making it harder to find the actual tests that are failing.

This renames the tests so that searching for `FAIL:` (case insensitive) will only return failing tests
2020-04-30 21:05:04 -05:00
Justin Santa Barbara 108d1eee5d Replace deprecated x/net/context with context
It's not x-perimental any more!
2020-04-09 23:58:19 -04:00
Peter Rifel 1df957e354 Update godoc.org references to use pkg.go.dev 2020-02-01 11:11:42 -06:00
Justin Santa Barbara 5ebbfc96b9
Replace deprecated method calls to google cloud libraries
Required for static-check to pass.
2020-01-17 06:38:43 -05:00
Jesse Haka 54154e5378 fix errors 2020-01-16 11:40:04 +02:00
tanjunchen 49f798a75f dnsprovider staticcheck 2019-12-31 10:57:39 +08:00
Ciprian Hacman deadeaed1e dnsprovider/pkg/dnsprovider - fix static check 2019-12-23 06:23:38 +02:00
feifei.zhang@huawei.com 48ebd260d3 fix golint failures 2019-11-24 16:38:58 +08:00
hwdef bc7d07035b dnsprovider: fix static check 2019-10-24 11:13:55 +08:00
Kubernetes Prow Robot 211d272f80
Merge pull request #7760 from tanjunchen/fix-up-unnecessary-newline
remove the unnecessary newline and unused vars
2019-10-13 09:18:36 -07:00
Kubernetes Prow Robot 34c7d5a64a
Merge pull request #7755 from tanjunchen/fix-up-static-error
fix-up staticcheck error
2019-10-13 08:20:35 -07:00
tanjunchen 279c429abd remove the unnecessary newline and unused vars 2019-10-08 22:43:10 +08:00
tanjunchen 28fdb358f8 fix-up staticcheck error 2019-10-08 13:53:04 +08:00
tanjunchen 43bf6bdab6 fix-up gosimple check error 2019-10-07 11:59:57 +08:00
Kubernetes Prow Robot 21240d9da4
Merge pull request #7744 from tanjunchen/fix-up-code-bug
fix-up some staticcheck error
2019-10-06 11:45:08 -07:00
tanjunchen 8fe36dc72c fix-up some staticcheck error 2019-10-06 10:40:13 +08:00
tanjunchen 119e36be29 simplfy code 2019-10-04 22:19:08 +08:00
Peter Rifel 413580f13f aws sdk - replace deprecated session.New with session.NewSession 2019-09-27 12:51:19 -07:00
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB b1f8f84306
Code changes for 1.15 2019-08-25 16:00:39 -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
Derek Lemon -T (delemon - AEROTEK INC at Cisco) 4f0169bb79 codegen 2019-01-16 09:30:40 -07:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco) 4fc70b6d74 Update Headers 2019-01-15 16:29:25 -07:00
Jon Perritt 83365a992a openstack designate dns provider 2019-01-15 14:06:46 -07:00
mooncake d75dc2745d Fix typos in files
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-10-14 21:44:44 +08:00
wangxy518 30e45e1b2a
Update route53api.go 2018-08-17 10:28:11 +08:00
Peter Wilson 184f193c8e Fix route53 default value for MaxBatchSize 2018-03-01 15:29:31 +11:00
Peter Wilson 07eb8ed9d1 Add route53 max changeset batch size flag 2018-03-01 14:11:16 +11:00
Mike Splain 45a57915e2 Fix bazel deprecation notice 2018-02-26 09:36:13 -05:00
Justin Santa Barbara af2f4af705 GCE: Dial down logging
Turn off a few of the more spurious log messages
2018-01-24 09:44:10 -05:00
chrislovecnm 4dd3bb1dea Updating bazel BUILD files with new go_rules version 2017-12-29 15:03:14 -07:00
chrislovecnm 509b8e285f fixing goimports formatting 2017-12-18 11:09:04 -07:00