2510 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
bf5c99de14
Merge pull request #2708 from kubernetes-sigs/raffo/go-1.17
Use Go 1.17 in CI
2022-04-14 06:44:46 -07:00
Raffaele Di Fazio
a8eb583ca6 use 1.17 in CI
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2022-04-14 13:15:20 +00:00
Kubernetes Prow Robot
47adf3aaa2
Merge pull request #2689 from stevehipwell/publish-chart-v1-8-0
Publish v1.8.0 Helm chart
external-dns-helm-chart-1.8.0
2022-04-13 08:04:47 -07:00
Kubernetes Prow Robot
1dcc89eea4
Merge pull request #2696 from KohlsTechnology/issue-2187
extract bluecat api code into its own package
2022-04-12 09:45:24 -07:00
Steve Hipwell
1f1085f744 chore[chart]: Publish v1.8.0
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
2022-04-11 09:52:40 +01:00
Kubernetes Prow Robot
7191e3dbbd
Merge pull request #2676 from kubernetes-sigs/dependabot/go_modules/google.golang.org/api-0.74.0
Bump google.golang.org/api from 0.66.0 to 0.74.0
2022-04-10 23:56:05 -07:00
Kubernetes Prow Robot
a12d291e6a
Merge pull request #2601 from kubernetes-sigs/dependabot/go_modules/go.etcd.io/etcd/client/v3-3.5.2
Bump go.etcd.io/etcd/client/v3 from 3.5.0 to 3.5.2
2022-04-10 23:54:06 -07:00
Kubernetes Prow Robot
350a983815
Merge pull request #2645 from pbertera/node-source-doc
ADD: added node source doc
2022-04-10 23:52:06 -07:00
Kubernetes Prow Robot
17e1814060
Merge pull request #2612 from kartikeymittal/patch-1
fix the helm chart installation command line
2022-04-10 23:30:07 -07:00
Vinny Sabatini
d4927b2a54 provider/bluecat: first set of tests for api 2022-04-08 17:39:18 -05:00
Vinny Sabatini
0d16c66dbe provider/bluecat: minor test cleanup
* Move tests to appropriate package
* Add test for SplitProperties function
* Remove unused helper function
* Use table driven tests
2022-04-08 17:39:18 -05:00
Vinny Sabatini
3b68190778 provider/bluecat: extract http requests into function
Consolidating the HTTP requests into a function will help ensure
consistency when making HTTP requests to the Bluecat gateway, and in a
future commit will make mocking these requests easier
2022-04-08 17:39:15 -05:00
Vinny Sabatini
5851d437ea provider/bluecat: do not deploy dns on dry-run 2022-04-08 17:03:00 -05:00
Vinny Sabatini
cbe1969511 provider/bluecat: fix txt pre/suffix bug
The prefix and suffix for the txt record was not being taken into
account when trying to find an owner for a cname and host record.

In addition, CName records have to be unique values, therefore txt records need to
have either a prefix or suffix included. This fixes the "owner" logic to
ensure when checking a corresponding txt recod against a cname record
that the prefix or suffix is used when comparing records.

Also, correct the response codes for the DELETE calls to Bluecat Gateway
2022-04-08 17:00:58 -05:00
Vinny Sabatini
5296a15fdf provider/bluecat: handle http errors for create in API 2022-04-08 17:00:58 -05:00
Vinny Sabatini
17d4371f60 provider/bluecat: improve api error handling
Check status codes when API calls are made for gets and deletes. All of
the creates were done slightly different and will be updated in a
separate commit.
2022-04-08 17:00:58 -05:00
Vinny Sabatini
83f062fbf7 provider/bluecat: migrate client code to separate pkg
Extract all Bluecat Gateway Client code to separate package
2022-04-08 17:00:48 -05:00
Kubernetes Prow Robot
c4d1f0e03d
Merge pull request #2579 from alebedev87/use-route-status-more
OpenShift route source: better use of route status
2022-04-08 13:32:04 -07:00
Kubernetes Prow Robot
1cd047a4d4
Merge pull request #2694 from KohlsTechnology/bc-config-docs-update
bluecat docs: JSON configuration file is not deprecated
2022-04-08 13:16:04 -07:00
Sean Malloy
4b2ab8ffc5 bluecat docs: JSON configuration file is not deprecated
Based on feedback having both the configuration file and command line
flags for the BlueCat provider will be used. Therefore update the
documentaiton to reflect that the JSON configuration file for the
BlueCat provider is not deprecated.
2022-04-08 15:03:26 -05:00
Kubernetes Prow Robot
b37c474017
Merge pull request #2695 from KohlsTechnology/bump-golangci-lint
Update to golangci-lint v1.45.2
2022-04-08 13:02:04 -07:00
Sean Malloy
dd56576763 Update to golangci-lint v1.45.2
Running golangci-lint v1.30.0 at commit 6d7f4650 produces the below
error when running "make lint" via GitHub Actions. Not sure exactly
when this error started happening, but it is broken now.

```
Run curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0
  curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0
  make lint
  shell: /usr/bin/bash -e {0}
  env:
    GOROOT: /opt/hostedtoolcache/go/1.18.0/x64
golangci/golangci-lint info checking GitHub for tag 'v1.30.0'
golangci/golangci-lint info found version: 1.30.0 for v1.30.0/linux/amd64
golangci/golangci-lint info installed /home/runner/go/bin/golangci-lint
>> checking license header
golangci-lint run --timeout=15m ./...
Error: level=warning msg="[runner] Can't run linter goanalysis_metalinter: goprintffuncname: failed prerequisites: [inspect@sigs.k8s.io/external-dns/pkg/tlsutils: analysis skipped: errors in package: [/home/runner/work/external-dns/external-dns/pkg/tlsutils/tlsconfig.go:20:2: could not import crypto/tls (/opt/hostedtoolcache/go/1.18.0/x64/src/crypto/tls/alert.go:7:8: could not import strconv (/opt/hostedtoolcache/go/1.18.0/x64/src/strconv/atof.go:13:8: could not import math (/opt/hostedtoolcache/go/1.18.0/x64/src/math/exp_amd64.go:9:8: could not import internal/cpu (-: could not load export data: cannot import \"internal/cpu\" (unknown iexport format version 2), export data is newer version - update tool)))) /home/runner/work/external-dns/external-dns/pkg/tlsutils/tlsconfig.go:21:2: could not import crypto/x509 (/opt/hostedtoolcache/go/1.18.0/x64/src/crypto/x509/cert_pool.go:8:2: could not import bytes (/opt/hostedtoolcache/go/1.18.0/x64/src/bytes/buffer.go:10:2: could not import errors (/opt/hostedtoolcache/go/1.18.0/x64/src/errors/wrap.go:8:2: could not import internal/reflectlite (/opt/hostedtoolcache/go/1.18.0/x64/src/internal/reflectlite/swapper.go:8:2: could not import internal/goarch (-: could not load export data: cannot import \"internal/goarch\" (unknown iexport format version 2), export data is newer version - update tool))))) /home/runner/work/external-dns/external-dns/pkg/tlsutils/tlsconfig.go:22:2: could not import errors (/opt/hostedtoolcache/go/1.18.0/x64/src/errors/wrap.go:8:2: could not import internal/reflectlite (/opt/hostedtoolcache/go/1.18.0/x64/src/internal/reflectlite/swapper.go:8:2: could not import internal/goarch (-: could not load export data: cannot import \"internal/goarch\" (unknown iexport format version 2), export data is newer version - update tool))) /home/runner/work/external-dns/external-dns/pkg/tlsutils/tlsconfig.go:23:2: could not import fmt (/opt/hostedtoolcache/go/1.18.0/x64/src/fmt/errors.go:7:8: could not import errors (/opt/hostedtoolcache/go/1.18.0/x64/src/errors/wrap.go:8:2: could not import internal/reflectlite (/opt/hostedtoolcache/go/1.18.0/x64/src/internal/reflectlite/swapper.go:8:2: could not import internal/goarch (-: could not load export data: cannot import \"internal/goarch\" (unknown iexport format version 2), export data is newer version - update tool)))) /home/runner/work/external-dns/external-dns/pkg/tlsutils/tlsconfig.go:24:2: could not import io/ioutil (/opt/hostedtoolcache/go/1.18.0/x64/src/io/ioutil/ioutil.go:14:2: could not import io (/opt/hostedtoolcache/go/1.18.0/x64/src/io/io.go:16:2: could not import errors (/opt/hostedtoolcache/go/1.18.0/x64/src/errors/wrap.go:8:2: could not import internal/reflectlite (/opt/hostedtoolcache/go/1.18.0/x64/src/internal/reflectlite/swapper.go:8:2: could not import internal/goarch (-: could not load export data: cannot import \"internal/goarch\" (unknown iexport format version 2), export data is newer version - update tool))))) /home/runner/work/external-dns/external-dns/pkg/tlsutils/tlsconfig.go:25:2: could not import os (/opt/hostedtoolcache/go/1.18.0/x64/src/os/dir.go:8:2: could not import io/fs (/opt/hostedtoolcache/go/1.18.0/x64/src/io/fs/fs.go:11:2: could not import internal/oserror (/opt/hostedtoolcache/go/1.18.0/x64/src/internal/oserror/errors.go:10:8: could not import errors (/opt/hostedtoolcache/go/1.18.0/x64/src/errors/wrap.go:8:2: could not import internal/reflectlite (/opt/hostedtoolcache/go/1.18.0/x64/src/internal/reflectlite/swapper.go:8:2: could not import internal/goarch (-: could not load export data: cannot import \"internal/goarch\" (unknown iexport format version 2), export data is newer version - update tool)))))) /home/runner/work/external-dns/external-dns/pkg/tlsutils/tlsconfig.go:26:2: could not import strings (/opt/hostedtoolcache/go/1.18.0/x64/src/strings/builder.go:8:2: could not import unicode/utf8 (-: could not load export data: cannot import \"unicode/utf8\" (unknown iexport format version 2), export data is newer version - update tool))]]"
level=warning msg="[runner] Can't run linter unused: buildir: failed to load package goarch: could not load export data: cannot import \"internal/goarch\" (unknown iexport format version 2), export data is newer version - update tool"
level=error msg="Running error: buildir: failed to load package goarch: could not load export data: cannot import \"internal/goarch\" (unknown iexport format version 2), export data is newer version - update tool"
make: *** [Makefile:51: go-lint] Error 3
Error: Process completed with exit code 2.
```

Update from golangci-lint v1.30.0 to v1.45.2 to fix the error.
2022-04-08 14:43:38 -05:00
dependabot[bot]
79d3332e11
Bump google.golang.org/api from 0.66.0 to 0.74.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.66.0 to 0.74.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.66.0...v0.74.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-31 03:24:57 +00:00
Kubernetes Prow Robot
6d7f465062
Merge pull request #2671 from stevehipwell/fix-chart-ci
Fix CI release notes generation
2022-03-30 00:48:26 -07:00
Kubernetes Prow Robot
836e4fb4bd
Merge pull request #2647 from kvendingoldo/master
Fix documentation for Azure TTL
2022-03-30 00:10:26 -07:00
kvendingoldo
e4cb7fbf09
Merge branch 'kubernetes-sigs:master' into master 2022-03-29 00:06:37 +04:00
Steve Hipwell
96b9d3b186 chore[chart]: Fix CI release notes generation
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
2022-03-28 19:06:40 +01:00
Kubernetes Prow Robot
2751dd0ebc
Merge pull request #2571 from stevehipwell/chart-v1-8-0
feat[chart]: Release v1.8.0
2022-03-28 10:45:31 -07:00
dependabot[bot]
0f1c9390dc
Bump go.etcd.io/etcd/client/v3 from 3.5.0 to 3.5.2
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd) from 3.5.0 to 3.5.2.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/Dockerfile-release.amd64)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.0...v3.5.2)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-23 18:27:25 +00:00
Kubernetes Prow Robot
570b51659f
Merge pull request #2666 from 0x4c6565/ukfast-sdk-version-bump
bump ukfast sdk version
2022-03-23 11:23:18 -07:00
Lee Spottiswood
210f084109 bump ukfast sdk version 2022-03-23 16:50:32 +00:00
Kubernetes Prow Robot
e073460b58
Merge pull request #2663 from kubernetes-sigs/raffo/kustomize-v0.11.0
update kustomization.yaml for v0.11.0
2022-03-23 07:28:10 -07:00
Raffaele Di Fazio
f5dd1433bc
update kustomization.yaml for v0.11.0 2022-03-23 11:30:32 +01:00
Kubernetes Prow Robot
cc9a60ecfa
Merge pull request #2635 from RafalKorepta/revert-hetzner
Revert hetzner plugin
v0.11.1 v0.11.0
2022-03-21 05:51:20 -07:00
Alexander Sharov
2f9556681a
Fix documentation for Azure TTL 2022-03-15 15:20:08 +04:00
Pietro Bertera
9daca3e060 ADD: added node source doc 2022-03-14 10:15:47 +01:00
Rafal Korepta
4f6ab703c1 Revert hetzner plugin 2022-03-09 22:20:14 +01:00
Kubernetes Prow Robot
b1ccdfed77
Merge pull request #2626 from plumdog/helm-chart-log-level-fix-documented-valid-options
Helm chart: fix documented valid options for logLevel
2022-02-24 07:22:32 -08:00
Andrew Plummer
39c6c71225
Helm chart: fix documented valid options for logLevel 2022-02-24 13:36:41 +00:00
Andrey Lebedev
a53498735b openshift route source: better use of route status 2022-02-21 13:26:50 +01:00
kartikeymittal
cc8d2119ce
fix the helm chart installation command line
the release name was missing in the helm chart installation command line
2022-02-20 22:13:32 -05:00
Steve Hipwell
a3a0f6d7bb feat[chart]: Release v1.8.0
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
2022-02-17 17:24:14 +00:00
Kubernetes Prow Robot
dd870ae4c3
Merge pull request #2593 from kubernetes-sigs/dependabot/go_modules/k8s.io/api-0.23.3
Bump k8s.io/api from 0.23.1 to 0.23.3
2022-02-14 06:29:28 -08:00
Kubernetes Prow Robot
aaade5b93a
Merge pull request #2597 from kubernetes-sigs/dependabot/go_modules/github.com/vultr/govultr/v2-2.14.1
Bump github.com/vultr/govultr/v2 from 2.9.0 to 2.14.1
2022-02-14 03:55:28 -08:00
Nick Jüttner
0cd40eeba6
Merge pull request #2594 from kubernetes-sigs/dependabot/go_modules/github.com/transip/gotransip/v6-6.14.0
Bump github.com/transip/gotransip/v6 from 6.6.2 to 6.14.0
2022-02-14 12:51:49 +01:00
Kubernetes Prow Robot
b9f2fabada
Merge pull request #2595 from kubernetes-sigs/dependabot/go_modules/github.com/maxatome/go-testdeep-1.11.0
Bump github.com/maxatome/go-testdeep from 1.10.1 to 1.11.0
2022-02-14 02:59:28 -08:00
Kubernetes Prow Robot
58fc34e8b2
Merge pull request #2596 from kubernetes-sigs/dependabot/go_modules/github.com/Azure/azure-sdk-for-go-61.5.0incompatible
Bump github.com/Azure/azure-sdk-for-go from 61.4.0+incompatible to 61.5.0+incompatible
2022-02-14 02:57:29 -08:00
dependabot[bot]
1e4ecf1d31
Bump github.com/vultr/govultr/v2 from 2.9.0 to 2.14.1
Bumps [github.com/vultr/govultr/v2](https://github.com/vultr/govultr) from 2.9.0 to 2.14.1.
- [Release notes](https://github.com/vultr/govultr/releases)
- [Changelog](https://github.com/vultr/govultr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vultr/govultr/compare/v2.9.0...v2.14.1)

---
updated-dependencies:
- dependency-name: github.com/vultr/govultr/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 03:24:06 +00:00
dependabot[bot]
ab8c70f50e
Bump github.com/Azure/azure-sdk-for-go
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go) from 61.4.0+incompatible to 61.5.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v61.4.0...v61.5.0)

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 03:23:53 +00:00
dependabot[bot]
494e588671
Bump github.com/maxatome/go-testdeep from 1.10.1 to 1.11.0
Bumps [github.com/maxatome/go-testdeep](https://github.com/maxatome/go-testdeep) from 1.10.1 to 1.11.0.
- [Release notes](https://github.com/maxatome/go-testdeep/releases)
- [Commits](https://github.com/maxatome/go-testdeep/compare/v1.10.1...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/maxatome/go-testdeep
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 03:23:23 +00:00