From 77bd38eb1f8d3ee0d373bdf6b759c03c90f92bab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergen=20Yal=C3=A7=C4=B1n?= Date: Fri, 11 Feb 2022 09:42:43 +0300 Subject: [PATCH 01/12] Update sdk version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sergen Yalçın --- go.mod | 9 +++++---- go.sum | 17 ++++++++++------- pkg/clients/redis/fake/fake.go | 2 +- pkg/controller/cache/redis.go | 4 ++-- pkg/controller/cache/redis_test.go | 2 +- 5 files changed, 19 insertions(+), 15 deletions(-) diff --git a/go.mod b/go.mod index 94a13392..858b2474 100644 --- a/go.mod +++ b/go.mod @@ -4,16 +4,18 @@ go 1.13 require ( github.com/Azure/azure-pipeline-go v0.2.2 // indirect - github.com/Azure/azure-sdk-for-go v42.3.0+incompatible + github.com/Azure/azure-sdk-for-go v61.4.0+incompatible github.com/Azure/azure-storage-blob-go v0.7.0 - github.com/Azure/go-autorest/autorest v0.11.1 - github.com/Azure/go-autorest/autorest/adal v0.9.5 + // azure-sdk-for-go repository does not use go.mod so we need to maintain this dependency manually. + github.com/Azure/go-autorest/autorest v0.11.18 + github.com/Azure/go-autorest/autorest/adal v0.9.13 github.com/Azure/go-autorest/autorest/azure/auth v0.4.0 github.com/Azure/go-autorest/autorest/date v0.3.0 github.com/Azure/go-autorest/autorest/to v0.3.0 github.com/Azure/go-autorest/autorest/validation v0.2.0 // indirect github.com/crossplane/crossplane-runtime v0.14.0 github.com/crossplane/crossplane-tools v0.0.0-20210320162312-1baca298c527 + github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/google/go-cmp v0.5.2 github.com/google/uuid v1.1.2 github.com/kr/text v0.2.0 // indirect @@ -22,7 +24,6 @@ require ( github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect github.com/onsi/gomega v1.10.2 github.com/pkg/errors v0.9.1 - github.com/satori/go.uuid v1.2.0 // indirect golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3 // indirect gopkg.in/alecthomas/kingpin.v2 v2.2.6 gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect diff --git a/go.sum b/go.sum index e3221f53..57db1109 100644 --- a/go.sum +++ b/go.sum @@ -25,8 +25,8 @@ dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7 github.com/Azure/azure-pipeline-go v0.2.1/go.mod h1:UGSo8XybXnIGZ3epmeBw7Jdz+HiUVpqIlpz/HKHylF4= github.com/Azure/azure-pipeline-go v0.2.2 h1:6oiIS9yaG6XCCzhgAgKFfIWyo4LLCiDhZot6ltoThhY= github.com/Azure/azure-pipeline-go v0.2.2/go.mod h1:4rQ/NZncSvGqNkkOsNpOU1tgoNuIlp9AfUH5G1tvCHc= -github.com/Azure/azure-sdk-for-go v42.3.0+incompatible h1:PAHkmPqd/vQV4LJcqzEUM1elCyTMWjbrO8oFMl0dvBE= -github.com/Azure/azure-sdk-for-go v42.3.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v61.4.0+incompatible h1:BF2Pm3aQWIa6q9KmxyF1JYKYXtVw67vtvu2Wd54NGuY= +github.com/Azure/azure-sdk-for-go v61.4.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-storage-blob-go v0.7.0 h1:MuueVOYkufCxJw5YZzF842DY2MBsp+hLuh2apKY0mck= github.com/Azure/azure-storage-blob-go v0.7.0/go.mod h1:f9YQKtsG1nMisotuTPpO0tjNuEjKRYAcJU8/ydDI++4= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= @@ -34,14 +34,16 @@ github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= github.com/Azure/go-autorest/autorest v0.9.2/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= -github.com/Azure/go-autorest/autorest v0.11.1 h1:eVvIXUKiTgv++6YnWb42DUA1YL7qDugnKP0HljexdnQ= github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= +github.com/Azure/go-autorest/autorest v0.11.18 h1:90Y4srNYrwOtAgVo3ndrQkTYn6kf1Eg/AjTFJ8Is2aM= +github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= github.com/Azure/go-autorest/autorest/adal v0.6.0/go.mod h1:Z6vX6WXXuyieHAXwMj0S6HY6e6wcHn37qQMBQlvY3lc= github.com/Azure/go-autorest/autorest/adal v0.7.0/go.mod h1:Z6vX6WXXuyieHAXwMj0S6HY6e6wcHn37qQMBQlvY3lc= github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg= -github.com/Azure/go-autorest/autorest/adal v0.9.5 h1:Y3bBUV4rTuxenJJs41HU3qmqsb+auo+a3Lz+PlJPpL0= github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= +github.com/Azure/go-autorest/autorest/adal v0.9.13 h1:Mp5hbtOePIzM8pJVRa3YLrWWmZtoxRXqUEzCfJt3+/Q= +github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= github.com/Azure/go-autorest/autorest/azure/auth v0.4.0 h1:18ld/uw9Rr7VkNie7a7RMAcFIWrJdlUL59TWGfcu530= github.com/Azure/go-autorest/autorest/azure/auth v0.4.0/go.mod h1:Oo5cRhLvZteXzI2itUm5ziqsoIxRkzrt3t61FeZaS18= github.com/Azure/go-autorest/autorest/azure/cli v0.3.0 h1:5PAqnv+CSTwW9mlZWZAizmzrazFWEgZykEZXpr2hDtY= @@ -61,8 +63,9 @@ github.com/Azure/go-autorest/autorest/to v0.3.0/go.mod h1:MgwOyqaIuKdG4TL/2ywSsI github.com/Azure/go-autorest/autorest/validation v0.2.0 h1:15vMO4y76dehZSq7pAaOLQxC6dZYsSrj2GQpflyM/L4= github.com/Azure/go-autorest/autorest/validation v0.2.0/go.mod h1:3EEqHnBxQGHXRYq3HT1WyXAvT7LLY3tl70hw6tQIbjI= github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= -github.com/Azure/go-autorest/logger v0.2.0 h1:e4RVHVZKC5p6UANLJHkM4OfR1UKZPj8Wt8Pcx+3oqrE= github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= +github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+ZtXWSmf4Tg= +github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= @@ -232,6 +235,8 @@ github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/me github.com/gobuffalo/flect v0.1.5/go.mod h1:W3K3X9ksuZfir8f/LrfVtWmCDQFfayuylOJ7sz/Fj80= github.com/gobuffalo/flect v0.2.0 h1:EWCvMGGxOjsgwlWaP+f4+Hh6yrrte7JeFL2S6b+0hdM= github.com/gobuffalo/flect v0.2.0/go.mod h1:W3K3X9ksuZfir8f/LrfVtWmCDQFfayuylOJ7sz/Fj80= +github.com/gofrs/uuid v4.2.0+incompatible h1:yyYWMnhkhrKwwr8gAOcOCYxOOscHgDS9yZgBrnJfGa0= +github.com/gofrs/uuid v4.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= @@ -482,8 +487,6 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= -github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww= -github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= diff --git a/pkg/clients/redis/fake/fake.go b/pkg/clients/redis/fake/fake.go index 832b3dcb..bf07a0de 100644 --- a/pkg/clients/redis/fake/fake.go +++ b/pkg/clients/redis/fake/fake.go @@ -19,8 +19,8 @@ package fake import ( "context" - "github.com/Azure/azure-sdk-for-go/profiles/latest/redis/mgmt/redis/redisapi" "github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis" + "github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/redisapi" ) var _ redisapi.ClientAPI = &MockClient{} diff --git a/pkg/controller/cache/redis.go b/pkg/controller/cache/redis.go index c4158a18..2faccaed 100644 --- a/pkg/controller/cache/redis.go +++ b/pkg/controller/cache/redis.go @@ -21,8 +21,8 @@ import ( "strconv" "time" - "github.com/Azure/azure-sdk-for-go/profiles/latest/redis/mgmt/redis" - "github.com/Azure/azure-sdk-for-go/profiles/latest/redis/mgmt/redis/redisapi" + "github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis" + "github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/redisapi" "github.com/pkg/errors" "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" diff --git a/pkg/controller/cache/redis_test.go b/pkg/controller/cache/redis_test.go index 675deb32..200b3efd 100644 --- a/pkg/controller/cache/redis_test.go +++ b/pkg/controller/cache/redis_test.go @@ -22,8 +22,8 @@ import ( "strconv" "testing" - "github.com/Azure/azure-sdk-for-go/profiles/latest/redis/mgmt/redis/redisapi" "github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis" + "github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/redisapi" "github.com/Azure/go-autorest/autorest" "github.com/google/go-cmp/cmp" "github.com/pkg/errors" From 1d8781e1bd9af3d65257ceb710d8d706e7ae428b Mon Sep 17 00:00:00 2001 From: Alper Rifat Ulucinar Date: Tue, 5 Apr 2022 11:50:51 +0300 Subject: [PATCH 02/12] Bump Go version to v1.17 Signed-off-by: Alper Rifat Ulucinar --- .github/workflows/ci.yml | 3 +- Makefile | 2 +- apis/cache/v1beta1/zz_generated.deepcopy.go | 1 + .../compute/v1alpha3/zz_generated.deepcopy.go | 1 + .../v1alpha3/zz_generated.deepcopy.go | 1 + .../database/v1beta1/zz_generated.deepcopy.go | 1 + apis/dns/v1alpha1/zz_generated.deepcopy.go | 1 + .../v1alpha1/zz_generated.deepcopy.go | 1 + .../network/v1alpha3/zz_generated.deepcopy.go | 1 + .../storage/v1alpha3/zz_generated.deepcopy.go | 1 + apis/v1alpha3/zz_generated.deepcopy.go | 1 + apis/v1beta1/zz_generated.deepcopy.go | 1 + cluster/local/integration_tests.sh | 8 +- go.mod | 86 +++++++++++++++++-- 14 files changed, 94 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3692f4ed..00487c73 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ on: env: # Common versions - GO_VERSION: '1.16' + GO_VERSION: '1.17' GOLANGCI_VERSION: 'v1.31' DOCKER_BUILDX_VERSION: 'v0.4.2' @@ -75,6 +75,7 @@ jobs: uses: golangci/golangci-lint-action@v2 with: version: ${{ env.GOLANGCI_VERSION }} + skip-go-installation: true check-diff: runs-on: ubuntu-18.04 diff --git a/Makefile b/Makefile index 21ce0a59..4e83d3c0 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ PLATFORMS ?= linux_amd64 linux_arm64 # kind-related versions KIND_VERSION ?= v0.11.1 -KIND_NODE_IMAGE_TAG ?= v1.19.11 +KIND_NODE_IMAGE_TAG ?= v1.23.1 # -include will silently skip missing files, which allows us # to load those files with a target in the Makefile. If only # "include" was used, the make command would fail and refuse diff --git a/apis/cache/v1beta1/zz_generated.deepcopy.go b/apis/cache/v1beta1/zz_generated.deepcopy.go index 3060695c..3dc467bf 100644 --- a/apis/cache/v1beta1/zz_generated.deepcopy.go +++ b/apis/cache/v1beta1/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* diff --git a/apis/compute/v1alpha3/zz_generated.deepcopy.go b/apis/compute/v1alpha3/zz_generated.deepcopy.go index 50b9a2aa..8384721e 100644 --- a/apis/compute/v1alpha3/zz_generated.deepcopy.go +++ b/apis/compute/v1alpha3/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* diff --git a/apis/database/v1alpha3/zz_generated.deepcopy.go b/apis/database/v1alpha3/zz_generated.deepcopy.go index 9b34394c..0f0837af 100644 --- a/apis/database/v1alpha3/zz_generated.deepcopy.go +++ b/apis/database/v1alpha3/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* diff --git a/apis/database/v1beta1/zz_generated.deepcopy.go b/apis/database/v1beta1/zz_generated.deepcopy.go index c6c0e0f6..0b309339 100644 --- a/apis/database/v1beta1/zz_generated.deepcopy.go +++ b/apis/database/v1beta1/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* diff --git a/apis/dns/v1alpha1/zz_generated.deepcopy.go b/apis/dns/v1alpha1/zz_generated.deepcopy.go index 7b3d8fa7..6076abfe 100644 --- a/apis/dns/v1alpha1/zz_generated.deepcopy.go +++ b/apis/dns/v1alpha1/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* diff --git a/apis/keyvault/v1alpha1/zz_generated.deepcopy.go b/apis/keyvault/v1alpha1/zz_generated.deepcopy.go index d26f5f19..3a688fc1 100644 --- a/apis/keyvault/v1alpha1/zz_generated.deepcopy.go +++ b/apis/keyvault/v1alpha1/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* diff --git a/apis/network/v1alpha3/zz_generated.deepcopy.go b/apis/network/v1alpha3/zz_generated.deepcopy.go index 50ef2c2d..cbf863ff 100644 --- a/apis/network/v1alpha3/zz_generated.deepcopy.go +++ b/apis/network/v1alpha3/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* diff --git a/apis/storage/v1alpha3/zz_generated.deepcopy.go b/apis/storage/v1alpha3/zz_generated.deepcopy.go index 91e358f9..56517093 100644 --- a/apis/storage/v1alpha3/zz_generated.deepcopy.go +++ b/apis/storage/v1alpha3/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* diff --git a/apis/v1alpha3/zz_generated.deepcopy.go b/apis/v1alpha3/zz_generated.deepcopy.go index 05c6b17e..f71ed288 100644 --- a/apis/v1alpha3/zz_generated.deepcopy.go +++ b/apis/v1alpha3/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* diff --git a/apis/v1beta1/zz_generated.deepcopy.go b/apis/v1beta1/zz_generated.deepcopy.go index eae92fae..c16eadc5 100644 --- a/apis/v1beta1/zz_generated.deepcopy.go +++ b/apis/v1beta1/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* diff --git a/cluster/local/integration_tests.sh b/cluster/local/integration_tests.sh index a54ae397..6c1751a1 100755 --- a/cluster/local/integration_tests.sh +++ b/cluster/local/integration_tests.sh @@ -137,13 +137,13 @@ echo "${PVC_YAML}" | "${KUBECTL}" create -f - # install crossplane from master channel echo_step "installing crossplane from master channel" -"${HELM3}" repo add crossplane-master https://charts.crossplane.io/master/ -chart_version="$("${HELM3}" search repo crossplane-master/crossplane --devel | awk 'FNR == 2 {print $2}')" -echo_info "using crossplane version ${chart_version}" +"${HELM3}" repo add crossplane-stable https://charts.crossplane.io/stable +# chart_version="$("${HELM3}" search repo crossplane-master/crossplane --devel | awk 'FNR == 2 {print $2}')" +echo_info "using crossplane version 1.6.4" echo # we replace empty dir with our PVC so that the /cache dir in the kind node # container is exposed to the crossplane pod -"${HELM3}" install crossplane --namespace crossplane-system crossplane-master/crossplane --version ${chart_version} --devel --wait --set packageCache.pvc=package-cache +"${HELM3}" install crossplane --namespace crossplane-system crossplane-stable/crossplane --version 1.6.4 --wait --set packageCache.pvc=package-cache # ----------- integration tests echo_step "--- INTEGRATION TESTS ---" diff --git a/go.mod b/go.mod index 858b2474..02a7a97e 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,8 @@ module github.com/crossplane/provider-azure -go 1.13 +go 1.17 require ( - github.com/Azure/azure-pipeline-go v0.2.2 // indirect github.com/Azure/azure-sdk-for-go v61.4.0+incompatible github.com/Azure/azure-storage-blob-go v0.7.0 // azure-sdk-for-go repository does not use go.mod so we need to maintain this dependency manually. @@ -12,24 +11,93 @@ require ( github.com/Azure/go-autorest/autorest/azure/auth v0.4.0 github.com/Azure/go-autorest/autorest/date v0.3.0 github.com/Azure/go-autorest/autorest/to v0.3.0 - github.com/Azure/go-autorest/autorest/validation v0.2.0 // indirect github.com/crossplane/crossplane-runtime v0.14.0 github.com/crossplane/crossplane-tools v0.0.0-20210320162312-1baca298c527 - github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/google/go-cmp v0.5.2 github.com/google/uuid v1.1.2 - github.com/kr/text v0.2.0 // indirect - github.com/mattn/go-ieproxy v0.0.0-20190805055040-f9202b1cfdeb // indirect github.com/mitchellh/copystructure v1.2.0 - github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect github.com/onsi/gomega v1.10.2 github.com/pkg/errors v0.9.1 - golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3 // indirect gopkg.in/alecthomas/kingpin.v2 v2.2.6 - gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect k8s.io/api v0.20.1 k8s.io/apimachinery v0.20.2 k8s.io/client-go v0.20.1 sigs.k8s.io/controller-runtime v0.8.0 sigs.k8s.io/controller-tools v0.4.0 ) + +require ( + github.com/Azure/azure-pipeline-go v0.2.2 // indirect + github.com/Azure/go-autorest v14.2.0+incompatible // indirect + github.com/Azure/go-autorest/autorest/azure/cli v0.3.0 // indirect + github.com/Azure/go-autorest/autorest/validation v0.2.0 // indirect + github.com/Azure/go-autorest/logger v0.2.1 // indirect + github.com/Azure/go-autorest/tracing v0.6.0 // indirect + github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect + github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect + github.com/beorn7/perks v1.0.1 // indirect + github.com/cespare/xxhash/v2 v2.1.1 // indirect + github.com/dave/jennifer v1.3.0 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/dimchansky/utfbom v1.1.0 // indirect + github.com/evanphx/json-patch v4.9.0+incompatible // indirect + github.com/fatih/color v1.7.0 // indirect + github.com/form3tech-oss/jwt-go v3.2.2+incompatible // indirect + github.com/fsnotify/fsnotify v1.4.9 // indirect + github.com/go-logr/logr v0.3.0 // indirect + github.com/go-logr/zapr v0.2.0 // indirect + github.com/gobuffalo/flect v0.2.0 // indirect + github.com/gofrs/uuid v4.2.0+incompatible // indirect + github.com/gogo/protobuf v1.3.1 // indirect + github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect + github.com/golang/protobuf v1.4.3 // indirect + github.com/google/gofuzz v1.1.0 // indirect + github.com/googleapis/gnostic v0.5.1 // indirect + github.com/hashicorp/golang-lru v0.5.4 // indirect + github.com/imdario/mergo v0.3.10 // indirect + github.com/inconshreveable/mousetrap v1.0.0 // indirect + github.com/json-iterator/go v1.1.10 // indirect + github.com/kr/text v0.2.0 // indirect + github.com/mattn/go-colorable v0.1.2 // indirect + github.com/mattn/go-ieproxy v0.0.0-20190805055040-f9202b1cfdeb // indirect + github.com/mattn/go-isatty v0.0.8 // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect + github.com/mitchellh/go-homedir v1.1.0 // indirect + github.com/mitchellh/reflectwalk v1.0.2 // indirect + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/modern-go/reflect2 v1.0.1 // indirect + github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect + github.com/prometheus/client_golang v1.7.1 // indirect + github.com/prometheus/client_model v0.2.0 // indirect + github.com/prometheus/common v0.10.0 // indirect + github.com/prometheus/procfs v0.2.0 // indirect + github.com/spf13/afero v1.2.2 // indirect + github.com/spf13/cobra v1.1.1 // indirect + github.com/spf13/pflag v1.0.5 // indirect + go.uber.org/atomic v1.6.0 // indirect + go.uber.org/multierr v1.5.0 // indirect + go.uber.org/zap v1.15.0 // indirect + golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0 // indirect + golang.org/x/mod v0.3.0 // indirect + golang.org/x/net v0.0.0-20201110031124-69a78807bb2b // indirect + golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d // indirect + golang.org/x/sys v0.0.0-20201112073958-5cba982894dd // indirect + golang.org/x/text v0.3.4 // indirect + golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e // indirect + golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3 // indirect + golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect + gomodules.xyz/jsonpatch/v2 v2.1.0 // indirect + google.golang.org/appengine v1.6.6 // indirect + google.golang.org/protobuf v1.25.0 // indirect + gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect + gopkg.in/inf.v0 v0.9.1 // indirect + gopkg.in/yaml.v2 v2.3.0 // indirect + gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect + k8s.io/apiextensions-apiserver v0.20.1 // indirect + k8s.io/component-base v0.20.1 // indirect + k8s.io/klog/v2 v2.4.0 // indirect + k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd // indirect + k8s.io/utils v0.0.0-20201110183641-67b214c5f920 // indirect + sigs.k8s.io/structured-merge-diff/v4 v4.0.2 // indirect + sigs.k8s.io/yaml v1.2.0 // indirect +) From a34d12df0b7ed7e4014c12ee5cc90b356b404f42 Mon Sep 17 00:00:00 2001 From: Hasan Turken Date: Thu, 31 Mar 2022 17:44:58 +0300 Subject: [PATCH 03/12] Bump Crossplane Runtime and Tools to latest Signed-off-by: Hasan Turken --- apis/cache/v1beta1/zz_generated.managed.go | 10 + apis/compute/v1alpha3/zz_generated.managed.go | 10 + .../database/v1alpha3/zz_generated.managed.go | 50 ++ apis/database/v1beta1/zz_generated.managed.go | 40 + apis/dns/v1alpha1/zz_generated.managed.go | 20 + apis/generate.go | 2 +- .../keyvault/v1alpha1/zz_generated.managed.go | 10 + apis/network/v1alpha3/zz_generated.managed.go | 30 + apis/storage/v1alpha3/zz_generated.managed.go | 20 + apis/v1alpha3/zz_generated.managed.go | 10 + go.mod | 100 +-- go.sum | 838 +++++++++++------- .../azure.crossplane.io_providerconfigs.yaml | 38 +- ...re.crossplane.io_providerconfigusages.yaml | 14 +- .../crds/azure.crossplane.io_providers.yaml | 18 +- .../azure.crossplane.io_resourcegroups.yaml | 108 ++- .../crds/cache.azure.crossplane.io_redis.yaml | 163 +++- ...mpute.azure.crossplane.io_aksclusters.yaml | 153 +++- ....azure.crossplane.io_cosmosdbaccounts.yaml | 197 +++- ...ossplane.io_mysqlserverconfigurations.yaml | 157 +++- ...rossplane.io_mysqlserverfirewallrules.yaml | 141 ++- ...base.azure.crossplane.io_mysqlservers.yaml | 187 +++- ...ane.io_mysqlservervirtualnetworkrules.yaml | 150 +++- ...ane.io_postgresqlserverconfigurations.yaml | 157 +++- ...lane.io_postgresqlserverfirewallrules.yaml | 141 ++- ...azure.crossplane.io_postgresqlservers.yaml | 187 +++- ...o_postgresqlservervirtualnetworkrules.yaml | 153 +++- .../dns.azure.crossplane.io_recordsets.yaml | 205 ++++- .../crds/dns.azure.crossplane.io_zones.yaml | 143 ++- ...t.azure.crossplane.io_keyvaultsecrets.yaml | 134 ++- ...azure.crossplane.io_publicipaddresses.yaml | 201 ++++- .../network.azure.crossplane.io_subnets.yaml | 135 ++- ...k.azure.crossplane.io_virtualnetworks.yaml | 139 ++- .../storage.azure.crossplane.io_accounts.yaml | 266 ++++-- ...torage.azure.crossplane.io_containers.yaml | 102 ++- 35 files changed, 3328 insertions(+), 1101 deletions(-) diff --git a/apis/cache/v1beta1/zz_generated.managed.go b/apis/cache/v1beta1/zz_generated.managed.go index 40f7d23a..0f472bba 100644 --- a/apis/cache/v1beta1/zz_generated.managed.go +++ b/apis/cache/v1beta1/zz_generated.managed.go @@ -43,6 +43,11 @@ func (mg *Redis) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this Redis. +func (mg *Redis) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this Redis. func (mg *Redis) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -71,6 +76,11 @@ func (mg *Redis) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this Redis. +func (mg *Redis) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this Redis. func (mg *Redis) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r diff --git a/apis/compute/v1alpha3/zz_generated.managed.go b/apis/compute/v1alpha3/zz_generated.managed.go index c1d87c60..0ad8b349 100644 --- a/apis/compute/v1alpha3/zz_generated.managed.go +++ b/apis/compute/v1alpha3/zz_generated.managed.go @@ -43,6 +43,11 @@ func (mg *AKSCluster) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this AKSCluster. +func (mg *AKSCluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this AKSCluster. func (mg *AKSCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -71,6 +76,11 @@ func (mg *AKSCluster) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this AKSCluster. +func (mg *AKSCluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this AKSCluster. func (mg *AKSCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r diff --git a/apis/database/v1alpha3/zz_generated.managed.go b/apis/database/v1alpha3/zz_generated.managed.go index 3cef56e1..0371c321 100644 --- a/apis/database/v1alpha3/zz_generated.managed.go +++ b/apis/database/v1alpha3/zz_generated.managed.go @@ -43,6 +43,11 @@ func (mg *CosmosDBAccount) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this CosmosDBAccount. +func (mg *CosmosDBAccount) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this CosmosDBAccount. func (mg *CosmosDBAccount) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -71,6 +76,11 @@ func (mg *CosmosDBAccount) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this CosmosDBAccount. +func (mg *CosmosDBAccount) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this CosmosDBAccount. func (mg *CosmosDBAccount) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r @@ -99,6 +109,11 @@ func (mg *MySQLServerFirewallRule) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this MySQLServerFirewallRule. +func (mg *MySQLServerFirewallRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this MySQLServerFirewallRule. func (mg *MySQLServerFirewallRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -127,6 +142,11 @@ func (mg *MySQLServerFirewallRule) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this MySQLServerFirewallRule. +func (mg *MySQLServerFirewallRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this MySQLServerFirewallRule. func (mg *MySQLServerFirewallRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r @@ -155,6 +175,11 @@ func (mg *MySQLServerVirtualNetworkRule) GetProviderReference() *xpv1.Reference return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this MySQLServerVirtualNetworkRule. +func (mg *MySQLServerVirtualNetworkRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this MySQLServerVirtualNetworkRule. func (mg *MySQLServerVirtualNetworkRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -183,6 +208,11 @@ func (mg *MySQLServerVirtualNetworkRule) SetProviderReference(r *xpv1.Reference) mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this MySQLServerVirtualNetworkRule. +func (mg *MySQLServerVirtualNetworkRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this MySQLServerVirtualNetworkRule. func (mg *MySQLServerVirtualNetworkRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r @@ -211,6 +241,11 @@ func (mg *PostgreSQLServerFirewallRule) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this PostgreSQLServerFirewallRule. +func (mg *PostgreSQLServerFirewallRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this PostgreSQLServerFirewallRule. func (mg *PostgreSQLServerFirewallRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -239,6 +274,11 @@ func (mg *PostgreSQLServerFirewallRule) SetProviderReference(r *xpv1.Reference) mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this PostgreSQLServerFirewallRule. +func (mg *PostgreSQLServerFirewallRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this PostgreSQLServerFirewallRule. func (mg *PostgreSQLServerFirewallRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r @@ -267,6 +307,11 @@ func (mg *PostgreSQLServerVirtualNetworkRule) GetProviderReference() *xpv1.Refer return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this PostgreSQLServerVirtualNetworkRule. +func (mg *PostgreSQLServerVirtualNetworkRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this PostgreSQLServerVirtualNetworkRule. func (mg *PostgreSQLServerVirtualNetworkRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -295,6 +340,11 @@ func (mg *PostgreSQLServerVirtualNetworkRule) SetProviderReference(r *xpv1.Refer mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this PostgreSQLServerVirtualNetworkRule. +func (mg *PostgreSQLServerVirtualNetworkRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this PostgreSQLServerVirtualNetworkRule. func (mg *PostgreSQLServerVirtualNetworkRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r diff --git a/apis/database/v1beta1/zz_generated.managed.go b/apis/database/v1beta1/zz_generated.managed.go index 2f83d3e8..b7ce6dbd 100644 --- a/apis/database/v1beta1/zz_generated.managed.go +++ b/apis/database/v1beta1/zz_generated.managed.go @@ -43,6 +43,11 @@ func (mg *MySQLServer) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this MySQLServer. +func (mg *MySQLServer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this MySQLServer. func (mg *MySQLServer) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -71,6 +76,11 @@ func (mg *MySQLServer) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this MySQLServer. +func (mg *MySQLServer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this MySQLServer. func (mg *MySQLServer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r @@ -99,6 +109,11 @@ func (mg *MySQLServerConfiguration) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this MySQLServerConfiguration. +func (mg *MySQLServerConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this MySQLServerConfiguration. func (mg *MySQLServerConfiguration) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -127,6 +142,11 @@ func (mg *MySQLServerConfiguration) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this MySQLServerConfiguration. +func (mg *MySQLServerConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this MySQLServerConfiguration. func (mg *MySQLServerConfiguration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r @@ -155,6 +175,11 @@ func (mg *PostgreSQLServer) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this PostgreSQLServer. +func (mg *PostgreSQLServer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this PostgreSQLServer. func (mg *PostgreSQLServer) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -183,6 +208,11 @@ func (mg *PostgreSQLServer) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this PostgreSQLServer. +func (mg *PostgreSQLServer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this PostgreSQLServer. func (mg *PostgreSQLServer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r @@ -211,6 +241,11 @@ func (mg *PostgreSQLServerConfiguration) GetProviderReference() *xpv1.Reference return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this PostgreSQLServerConfiguration. +func (mg *PostgreSQLServerConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this PostgreSQLServerConfiguration. func (mg *PostgreSQLServerConfiguration) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -239,6 +274,11 @@ func (mg *PostgreSQLServerConfiguration) SetProviderReference(r *xpv1.Reference) mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this PostgreSQLServerConfiguration. +func (mg *PostgreSQLServerConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this PostgreSQLServerConfiguration. func (mg *PostgreSQLServerConfiguration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r diff --git a/apis/dns/v1alpha1/zz_generated.managed.go b/apis/dns/v1alpha1/zz_generated.managed.go index 31b91fd2..7226b263 100644 --- a/apis/dns/v1alpha1/zz_generated.managed.go +++ b/apis/dns/v1alpha1/zz_generated.managed.go @@ -43,6 +43,11 @@ func (mg *RecordSet) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this RecordSet. +func (mg *RecordSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this RecordSet. func (mg *RecordSet) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -71,6 +76,11 @@ func (mg *RecordSet) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this RecordSet. +func (mg *RecordSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this RecordSet. func (mg *RecordSet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r @@ -99,6 +109,11 @@ func (mg *Zone) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this Zone. +func (mg *Zone) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this Zone. func (mg *Zone) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -127,6 +142,11 @@ func (mg *Zone) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this Zone. +func (mg *Zone) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this Zone. func (mg *Zone) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r diff --git a/apis/generate.go b/apis/generate.go index 3db2321e..f7be37b0 100644 --- a/apis/generate.go +++ b/apis/generate.go @@ -23,7 +23,7 @@ limitations under the License. //go:generate rm -rf ../package/crds // Generate deepcopy methodsets and CRD manifests -//go:generate go run -tags generate sigs.k8s.io/controller-tools/cmd/controller-gen object:headerFile=../hack/boilerplate.go.txt paths=./... crd:trivialVersions=true,crdVersions=v1 output:artifacts:config=../package/crds +//go:generate go run -tags generate sigs.k8s.io/controller-tools/cmd/controller-gen object:headerFile=../hack/boilerplate.go.txt paths=./... crd:crdVersions=v1 output:artifacts:config=../package/crds // Generate crossplane-runtime methodsets (resource.Claim, etc) //go:generate go run -tags generate github.com/crossplane/crossplane-tools/cmd/angryjet generate-methodsets --header-file=../hack/boilerplate.go.txt ./... diff --git a/apis/keyvault/v1alpha1/zz_generated.managed.go b/apis/keyvault/v1alpha1/zz_generated.managed.go index 131ebcc8..160b3bba 100644 --- a/apis/keyvault/v1alpha1/zz_generated.managed.go +++ b/apis/keyvault/v1alpha1/zz_generated.managed.go @@ -43,6 +43,11 @@ func (mg *KeyVaultSecret) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this KeyVaultSecret. +func (mg *KeyVaultSecret) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this KeyVaultSecret. func (mg *KeyVaultSecret) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -71,6 +76,11 @@ func (mg *KeyVaultSecret) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this KeyVaultSecret. +func (mg *KeyVaultSecret) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this KeyVaultSecret. func (mg *KeyVaultSecret) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r diff --git a/apis/network/v1alpha3/zz_generated.managed.go b/apis/network/v1alpha3/zz_generated.managed.go index 222bcd86..c0bd74a0 100644 --- a/apis/network/v1alpha3/zz_generated.managed.go +++ b/apis/network/v1alpha3/zz_generated.managed.go @@ -43,6 +43,11 @@ func (mg *PublicIPAddress) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this PublicIPAddress. +func (mg *PublicIPAddress) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this PublicIPAddress. func (mg *PublicIPAddress) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -71,6 +76,11 @@ func (mg *PublicIPAddress) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this PublicIPAddress. +func (mg *PublicIPAddress) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this PublicIPAddress. func (mg *PublicIPAddress) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r @@ -99,6 +109,11 @@ func (mg *Subnet) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this Subnet. +func (mg *Subnet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this Subnet. func (mg *Subnet) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -127,6 +142,11 @@ func (mg *Subnet) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this Subnet. +func (mg *Subnet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this Subnet. func (mg *Subnet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r @@ -155,6 +175,11 @@ func (mg *VirtualNetwork) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this VirtualNetwork. +func (mg *VirtualNetwork) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this VirtualNetwork. func (mg *VirtualNetwork) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -183,6 +208,11 @@ func (mg *VirtualNetwork) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this VirtualNetwork. +func (mg *VirtualNetwork) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this VirtualNetwork. func (mg *VirtualNetwork) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r diff --git a/apis/storage/v1alpha3/zz_generated.managed.go b/apis/storage/v1alpha3/zz_generated.managed.go index ddeb913a..5de10700 100644 --- a/apis/storage/v1alpha3/zz_generated.managed.go +++ b/apis/storage/v1alpha3/zz_generated.managed.go @@ -43,6 +43,11 @@ func (mg *Account) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this Account. +func (mg *Account) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this Account. func (mg *Account) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -71,6 +76,11 @@ func (mg *Account) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this Account. +func (mg *Account) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this Account. func (mg *Account) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r @@ -99,6 +109,11 @@ func (mg *Container) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this Container. +func (mg *Container) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this Container. func (mg *Container) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -127,6 +142,11 @@ func (mg *Container) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this Container. +func (mg *Container) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this Container. func (mg *Container) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r diff --git a/apis/v1alpha3/zz_generated.managed.go b/apis/v1alpha3/zz_generated.managed.go index 3936af71..32efad41 100644 --- a/apis/v1alpha3/zz_generated.managed.go +++ b/apis/v1alpha3/zz_generated.managed.go @@ -43,6 +43,11 @@ func (mg *ResourceGroup) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } +// GetPublishConnectionDetailsTo of this ResourceGroup. +func (mg *ResourceGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + // GetWriteConnectionSecretToReference of this ResourceGroup. func (mg *ResourceGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference @@ -71,6 +76,11 @@ func (mg *ResourceGroup) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } +// SetPublishConnectionDetailsTo of this ResourceGroup. +func (mg *ResourceGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + // SetWriteConnectionSecretToReference of this ResourceGroup. func (mg *ResourceGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r diff --git a/go.mod b/go.mod index 02a7a97e..0f2513f9 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,9 @@ module github.com/crossplane/provider-azure -go 1.17 +go 1.13 require ( + github.com/Azure/azure-pipeline-go v0.2.2 // indirect github.com/Azure/azure-sdk-for-go v61.4.0+incompatible github.com/Azure/azure-storage-blob-go v0.7.0 // azure-sdk-for-go repository does not use go.mod so we need to maintain this dependency manually. @@ -11,93 +12,20 @@ require ( github.com/Azure/go-autorest/autorest/azure/auth v0.4.0 github.com/Azure/go-autorest/autorest/date v0.3.0 github.com/Azure/go-autorest/autorest/to v0.3.0 - github.com/crossplane/crossplane-runtime v0.14.0 - github.com/crossplane/crossplane-tools v0.0.0-20210320162312-1baca298c527 - github.com/google/go-cmp v0.5.2 + github.com/Azure/go-autorest/autorest/validation v0.2.0 // indirect + github.com/crossplane/crossplane-runtime v0.15.1-0.20220315141414-988c9ba9c255 + github.com/crossplane/crossplane-tools v0.0.0-20220310165030-1f43fc12793e + github.com/gofrs/uuid v4.2.0+incompatible // indirect + github.com/google/go-cmp v0.5.6 github.com/google/uuid v1.1.2 + github.com/mattn/go-ieproxy v0.0.0-20190805055040-f9202b1cfdeb // indirect github.com/mitchellh/copystructure v1.2.0 - github.com/onsi/gomega v1.10.2 + github.com/onsi/gomega v1.17.0 github.com/pkg/errors v0.9.1 gopkg.in/alecthomas/kingpin.v2 v2.2.6 - k8s.io/api v0.20.1 - k8s.io/apimachinery v0.20.2 - k8s.io/client-go v0.20.1 - sigs.k8s.io/controller-runtime v0.8.0 - sigs.k8s.io/controller-tools v0.4.0 -) - -require ( - github.com/Azure/azure-pipeline-go v0.2.2 // indirect - github.com/Azure/go-autorest v14.2.0+incompatible // indirect - github.com/Azure/go-autorest/autorest/azure/cli v0.3.0 // indirect - github.com/Azure/go-autorest/autorest/validation v0.2.0 // indirect - github.com/Azure/go-autorest/logger v0.2.1 // indirect - github.com/Azure/go-autorest/tracing v0.6.0 // indirect - github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect - github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect - github.com/beorn7/perks v1.0.1 // indirect - github.com/cespare/xxhash/v2 v2.1.1 // indirect - github.com/dave/jennifer v1.3.0 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/dimchansky/utfbom v1.1.0 // indirect - github.com/evanphx/json-patch v4.9.0+incompatible // indirect - github.com/fatih/color v1.7.0 // indirect - github.com/form3tech-oss/jwt-go v3.2.2+incompatible // indirect - github.com/fsnotify/fsnotify v1.4.9 // indirect - github.com/go-logr/logr v0.3.0 // indirect - github.com/go-logr/zapr v0.2.0 // indirect - github.com/gobuffalo/flect v0.2.0 // indirect - github.com/gofrs/uuid v4.2.0+incompatible // indirect - github.com/gogo/protobuf v1.3.1 // indirect - github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect - github.com/golang/protobuf v1.4.3 // indirect - github.com/google/gofuzz v1.1.0 // indirect - github.com/googleapis/gnostic v0.5.1 // indirect - github.com/hashicorp/golang-lru v0.5.4 // indirect - github.com/imdario/mergo v0.3.10 // indirect - github.com/inconshreveable/mousetrap v1.0.0 // indirect - github.com/json-iterator/go v1.1.10 // indirect - github.com/kr/text v0.2.0 // indirect - github.com/mattn/go-colorable v0.1.2 // indirect - github.com/mattn/go-ieproxy v0.0.0-20190805055040-f9202b1cfdeb // indirect - github.com/mattn/go-isatty v0.0.8 // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect - github.com/mitchellh/go-homedir v1.1.0 // indirect - github.com/mitchellh/reflectwalk v1.0.2 // indirect - github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect - github.com/modern-go/reflect2 v1.0.1 // indirect - github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect - github.com/prometheus/client_golang v1.7.1 // indirect - github.com/prometheus/client_model v0.2.0 // indirect - github.com/prometheus/common v0.10.0 // indirect - github.com/prometheus/procfs v0.2.0 // indirect - github.com/spf13/afero v1.2.2 // indirect - github.com/spf13/cobra v1.1.1 // indirect - github.com/spf13/pflag v1.0.5 // indirect - go.uber.org/atomic v1.6.0 // indirect - go.uber.org/multierr v1.5.0 // indirect - go.uber.org/zap v1.15.0 // indirect - golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0 // indirect - golang.org/x/mod v0.3.0 // indirect - golang.org/x/net v0.0.0-20201110031124-69a78807bb2b // indirect - golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d // indirect - golang.org/x/sys v0.0.0-20201112073958-5cba982894dd // indirect - golang.org/x/text v0.3.4 // indirect - golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e // indirect - golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3 // indirect - golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect - gomodules.xyz/jsonpatch/v2 v2.1.0 // indirect - google.golang.org/appengine v1.6.6 // indirect - google.golang.org/protobuf v1.25.0 // indirect - gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect - gopkg.in/inf.v0 v0.9.1 // indirect - gopkg.in/yaml.v2 v2.3.0 // indirect - gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect - k8s.io/apiextensions-apiserver v0.20.1 // indirect - k8s.io/component-base v0.20.1 // indirect - k8s.io/klog/v2 v2.4.0 // indirect - k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd // indirect - k8s.io/utils v0.0.0-20201110183641-67b214c5f920 // indirect - sigs.k8s.io/structured-merge-diff/v4 v4.0.2 // indirect - sigs.k8s.io/yaml v1.2.0 // indirect + k8s.io/api v0.23.0 + k8s.io/apimachinery v0.23.0 + k8s.io/client-go v0.23.0 + sigs.k8s.io/controller-runtime v0.11.0 + sigs.k8s.io/controller-tools v0.8.0 ) diff --git a/go.sum b/go.sum index 57db1109..97d64075 100644 --- a/go.sum +++ b/go.sum @@ -3,24 +3,42 @@ cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= +cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= +cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= +cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= +cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= +cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= +cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= +cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= +cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= +cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= +cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= +cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= +cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= +cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= +cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= +cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= +cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= +cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/Azure/azure-pipeline-go v0.2.1/go.mod h1:UGSo8XybXnIGZ3epmeBw7Jdz+HiUVpqIlpz/HKHylF4= github.com/Azure/azure-pipeline-go v0.2.2 h1:6oiIS9yaG6XCCzhgAgKFfIWyo4LLCiDhZot6ltoThhY= @@ -29,19 +47,17 @@ github.com/Azure/azure-sdk-for-go v61.4.0+incompatible h1:BF2Pm3aQWIa6q9KmxyF1JY github.com/Azure/azure-sdk-for-go v61.4.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-storage-blob-go v0.7.0 h1:MuueVOYkufCxJw5YZzF842DY2MBsp+hLuh2apKY0mck= github.com/Azure/azure-storage-blob-go v0.7.0/go.mod h1:f9YQKtsG1nMisotuTPpO0tjNuEjKRYAcJU8/ydDI++4= -github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= +github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= +github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= github.com/Azure/go-autorest/autorest v0.9.2/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= -github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= github.com/Azure/go-autorest/autorest v0.11.18 h1:90Y4srNYrwOtAgVo3ndrQkTYn6kf1Eg/AjTFJ8Is2aM= github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= github.com/Azure/go-autorest/autorest/adal v0.6.0/go.mod h1:Z6vX6WXXuyieHAXwMj0S6HY6e6wcHn37qQMBQlvY3lc= github.com/Azure/go-autorest/autorest/adal v0.7.0/go.mod h1:Z6vX6WXXuyieHAXwMj0S6HY6e6wcHn37qQMBQlvY3lc= -github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg= -github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= github.com/Azure/go-autorest/autorest/adal v0.9.13 h1:Mp5hbtOePIzM8pJVRa3YLrWWmZtoxRXqUEzCfJt3+/Q= github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= github.com/Azure/go-autorest/autorest/azure/auth v0.4.0 h1:18ld/uw9Rr7VkNie7a7RMAcFIWrJdlUL59TWGfcu530= @@ -55,7 +71,6 @@ github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSY github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= github.com/Azure/go-autorest/autorest/mocks v0.3.0/go.mod h1:a8FDP3DYzQ4RYfVAxAN3SVSiiO77gL2j2ronKKP0syM= -github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk= github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= github.com/Azure/go-autorest/autorest/to v0.3.0 h1:zebkZaadz7+wIQYgC7GXaz3Wb28yKYfVkkBKwc38VF8= @@ -63,38 +78,39 @@ github.com/Azure/go-autorest/autorest/to v0.3.0/go.mod h1:MgwOyqaIuKdG4TL/2ywSsI github.com/Azure/go-autorest/autorest/validation v0.2.0 h1:15vMO4y76dehZSq7pAaOLQxC6dZYsSrj2GQpflyM/L4= github.com/Azure/go-autorest/autorest/validation v0.2.0/go.mod h1:3EEqHnBxQGHXRYq3HT1WyXAvT7LLY3tl70hw6tQIbjI= github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= -github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+ZtXWSmf4Tg= github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= +github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/purell v1.1.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= -github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 h1:JYp7IbQjafoB+tBA3gMyHYHrpOtNuDiK/uB5uXxq5wM= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d h1:UQZhZ2O0vMHr2cI+DC1Mbh0TJxzA3RcLoMsFw+aXw7E= github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= +github.com/alecthomas/units v0.0.0-20210912230133-d1bdfacee922 h1:8ypNbf5sd3Sm3cKJ9waOGoQv6dKAFiFty9L6NP1AqJ4= +github.com/alecthomas/units v0.0.0-20210912230133-d1bdfacee922/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= +github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20210826220005-b48c857c3a0e/go.mod h1:F7bn7fEU90QkQ3tnmaTx3LTKLEDqnwWODIYppRQ5hnY= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= -github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= +github.com/armon/go-metrics v0.3.9/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= +github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM= +github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= +github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= +github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= @@ -102,9 +118,12 @@ github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6r github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ00z/TKoufEY6K/a0k6AhaJrQKdFe6OfVXsa4= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= -github.com/blang/semver v3.5.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/cenkalti/backoff/v3 v3.0.0/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= +github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= @@ -113,33 +132,33 @@ github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXH github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= +github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= -github.com/coreos/bbolt v1.3.1-coreos.6/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= +github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA= +github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= -github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/etcd v3.3.15+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= -github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/coreos/pkg v0.0.0-20180108230652-97fdf19511ea/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/crossplane/crossplane-runtime v0.14.0 h1:alBvQAwg9wJ88wEBnzyzmlN0N/v1W3Jx4OvBX3Fmrkg= -github.com/crossplane/crossplane-runtime v0.14.0/go.mod h1:Bc54/KBvV9ld/tvervcnhcSzk13FYguTqmYt72Mybps= -github.com/crossplane/crossplane-tools v0.0.0-20210320162312-1baca298c527 h1:9M6hMLKqjxtL9d9nwfcaAt59Ey0CPfSXQ3iIdYRUNaE= -github.com/crossplane/crossplane-tools v0.0.0-20210320162312-1baca298c527/go.mod h1:C735A9X0x0lR8iGVOOxb49Mt70Ua4EM2b7PGaRPBLd4= -github.com/dave/jennifer v1.3.0 h1:p3tl41zjjCZTNBytMwrUuiAnherNUZktlhPTKoF/sEk= -github.com/dave/jennifer v1.3.0/go.mod h1:fIb+770HOpJ2fmN9EPPKOqm1vMGhB+TwXKMZhrIygKg= -github.com/davecgh/go-spew v0.0.0-20151105211317-5215b55f46b2/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/crossplane/crossplane-runtime v0.15.1-0.20220315141414-988c9ba9c255 h1:l9eAErqfcEzGpq5dMfO/4GTCG2qXgiQgH5J+xhBHqYc= +github.com/crossplane/crossplane-runtime v0.15.1-0.20220315141414-988c9ba9c255/go.mod h1:IPT3HTsovwmbw3i+SdsOyaC3r3b7TW+otBMmZsHLnSU= +github.com/crossplane/crossplane-tools v0.0.0-20220310165030-1f43fc12793e h1:HqLaMji3FRPwEBA5P6twPz0HbE6no0XOnByLU5O1noM= +github.com/crossplane/crossplane-tools v0.0.0-20220310165030-1f43fc12793e/go.mod h1:xFf30hwHd5n0/a0D4ZomId8nxQTTjE0Hc1j4/rWxefc= +github.com/dave/jennifer v1.4.1 h1:XyqG6cn5RQsTj3qlWQTKlRGAyrTcsk1kUmWdZBzRjDw= +github.com/dave/jennifer v1.4.1/go.mod h1:7jEdnm+qBcxl8PC0zyp7vxcpSRnzXSt9r39tpTVGlwA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -147,119 +166,99 @@ github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZm github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/dimchansky/utfbom v1.1.0 h1:FcM3g+nofKgUteL8dm/UpdRXNC9KmADgTpLKsu0TRo4= github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= -github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/go-units v0.3.3/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= -github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= -github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= -github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/elazarl/goproxy v0.0.0-20170405201442-c4fc26588b6e/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= +github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= +github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch v4.5.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch v4.9.0+incompatible h1:kLcOMZeuLAJvL2BPWLMIj5oaZQobrkAqrL+WFZwQses= -github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/fatih/color v1.7.0 h1:DkWD4oS2D8LGGgTQ6IvwJJXSL5Vp2ffcQg58nFV38Ys= +github.com/evanphx/json-patch v0.5.2/go.mod h1:ZWS5hhDbVDyob71nXKNL0+PWn6ToqBHMikGIFbs31qQ= +github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84= +github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanphx/json-patch/v5 v5.5.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= -github.com/form3tech-oss/jwt-go v3.2.2+incompatible h1:TcekIExNqud5crz4xD2pavyTgWiPvpYe4Xau31I0PRk= +github.com/fatih/color v1.12.0 h1:mRhaKNwANqRgUBGKmnI5ZxEk7QXmjQeCcuYFMX2bfcc= +github.com/fatih/color v1.12.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= +github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= +github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= +github.com/form3tech-oss/jwt-go v3.2.3+incompatible h1:7ZaBxOI7TMoYBfyA3cQHErNNyAWIKUMIwqxEtgHOs5c= +github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= +github.com/frankban/quicktest v1.10.0/go.mod h1:ui7WezCLWMWxVWr1GETZY3smRy0G4KWq9vcPtJmFl7Y= +github.com/frankban/quicktest v1.13.0/go.mod h1:qLE0fzW0VuyUAJgPU19zByoIr0HtCHN/r/VLSOOIySU= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI= +github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= +github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= +github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/globalsign/mgo v0.0.0-20180905125535-1ca0a4f7cbcb/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q= -github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q= +github.com/go-asn1-ber/asn1-ber v1.3.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= +github.com/go-ldap/ldap/v3 v3.1.10/go.mod h1:5Zun81jBTabRaI8lzN7E1JjyEl1g6zI6u9pd8luAK4Q= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= +github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= -github.com/go-logr/logr v0.3.0 h1:q4c+kbcR0d5rSurhBR8dIgieOaYpXtsdTYfx22Cu6rs= -github.com/go-logr/logr v0.3.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= -github.com/go-logr/zapr v0.2.0 h1:v6Ji8yBW77pva6NkJKQdHLAJKrIJKRHz0RXwPqCHSR4= -github.com/go-logr/zapr v0.2.0/go.mod h1:qhKdvif7YF5GI9NWEpyxTSSBdGmzkNguibrdCNVPunU= -github.com/go-openapi/analysis v0.0.0-20180825180245-b006789cd277/go.mod h1:k70tL6pCuVxPJOHXQ+wIac1FUrvNkHolPie/cLEU6hI= -github.com/go-openapi/analysis v0.17.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= -github.com/go-openapi/analysis v0.18.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= -github.com/go-openapi/analysis v0.19.2/go.mod h1:3P1osvZa9jKjb8ed2TPng3f0i/UY9snX6gxi44djMjk= -github.com/go-openapi/analysis v0.19.5/go.mod h1:hkEAkxagaIvIP7VTn8ygJNkd4kAYON2rCu0v0ObL0AU= -github.com/go-openapi/errors v0.17.0/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0= -github.com/go-openapi/errors v0.18.0/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0= -github.com/go-openapi/errors v0.19.2/go.mod h1:qX0BLWsyaKfvhluLejVpVNwNRdXZhEbTA4kxxpKBC94= -github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= -github.com/go-openapi/jsonpointer v0.17.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M= -github.com/go-openapi/jsonpointer v0.18.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M= -github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= +github.com/go-logr/logr v1.2.0 h1:QK40JKJyMdUDz+h+xvCsru/bJhvG0UxvePV0ufL/AcE= +github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/zapr v1.2.0 h1:n4JnPI1T3Qq1SFEi/F8rwLrZERp2bso19PJZDB9dayk= +github.com/go-logr/zapr v1.2.0/go.mod h1:Qa4Bsj2Vb+FAVeAKsLD8RLQ+YRJB8YDmOAKxaBQf7Ro= github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg= -github.com/go-openapi/jsonreference v0.17.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I= -github.com/go-openapi/jsonreference v0.18.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I= -github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= +github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= -github.com/go-openapi/loads v0.17.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= -github.com/go-openapi/loads v0.18.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= -github.com/go-openapi/loads v0.19.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= -github.com/go-openapi/loads v0.19.2/go.mod h1:QAskZPMX5V0C2gvfkGZzJlINuP7Hx/4+ix5jWFxsNPs= -github.com/go-openapi/loads v0.19.4/go.mod h1:zZVHonKd8DXyxyw4yfnVjPzBjIQcLt0CCsn0N0ZrQsk= -github.com/go-openapi/runtime v0.0.0-20180920151709-4f900dc2ade9/go.mod h1:6v9a6LTXWQCdL8k1AO3cvqx5OtZY/Y9wKTgaoP6YRfA= -github.com/go-openapi/runtime v0.19.0/go.mod h1:OwNfisksmmaZse4+gpV3Ne9AyMOlP1lt4sK4FXt0O64= -github.com/go-openapi/runtime v0.19.4/go.mod h1:X277bwSUBxVlCYR3r7xgZZGKVvBd/29gLDlFGtJ8NL4= -github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= -github.com/go-openapi/spec v0.17.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI= -github.com/go-openapi/spec v0.18.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI= -github.com/go-openapi/spec v0.19.2/go.mod h1:sCxk3jxKgioEJikev4fgkNmwS+3kuYdJtcsZsD5zxMY= -github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= -github.com/go-openapi/strfmt v0.17.0/go.mod h1:P82hnJI0CXkErkXi8IKjPbNBM6lV6+5pLP5l494TcyU= -github.com/go-openapi/strfmt v0.18.0/go.mod h1:P82hnJI0CXkErkXi8IKjPbNBM6lV6+5pLP5l494TcyU= -github.com/go-openapi/strfmt v0.19.0/go.mod h1:+uW+93UVvGGq2qGaZxdDeJqSAqBqBdl+ZPMF/cC8nDY= -github.com/go-openapi/strfmt v0.19.3/go.mod h1:0yX7dbo8mKIvc3XSKp7MNfxw4JytCfCD6+bY1AVL9LU= -github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= -github.com/go-openapi/swag v0.17.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg= -github.com/go-openapi/swag v0.18.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg= -github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-openapi/validate v0.18.0/go.mod h1:Uh4HdOzKt19xGIGm1qHf/ofbX1YQ4Y+MYsct2VUrAJ4= -github.com/go-openapi/validate v0.19.2/go.mod h1:1tRCw7m3jtI8eNWEEliiAqUIcBztB2KDnRCRMUi7GTA= -github.com/go-openapi/validate v0.19.5/go.mod h1:8DJv2CVJQ6kGNpFW6eV9N3JviE1C85nY1c2z52x1Gk4= +github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/gobuffalo/flect v0.1.5/go.mod h1:W3K3X9ksuZfir8f/LrfVtWmCDQFfayuylOJ7sz/Fj80= -github.com/gobuffalo/flect v0.2.0 h1:EWCvMGGxOjsgwlWaP+f4+Hh6yrrte7JeFL2S6b+0hdM= -github.com/gobuffalo/flect v0.2.0/go.mod h1:W3K3X9ksuZfir8f/LrfVtWmCDQFfayuylOJ7sz/Fj80= +github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= +github.com/go-test/deep v1.0.2/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= +github.com/gobuffalo/flect v0.2.3 h1:f/ZukRnSNA/DUpSNDadko7Qc0PhGvsew35p/2tu+CRY= +github.com/gobuffalo/flect v0.2.3/go.mod h1:vmkQwuZYhN5Pc4ljYQZzP+1sq+NEkK+lh20jmEmX3jc= +github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/gofrs/uuid v4.2.0+incompatible h1:yyYWMnhkhrKwwr8gAOcOCYxOOscHgDS9yZgBrnJfGa0= github.com/gofrs/uuid v4.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= -github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= -github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/protobuf v0.0.0-20161109072736-4bd1920723d7/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= +github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= @@ -267,330 +266,397 @@ github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:W github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3 h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= +github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= +github.com/google/cel-go v0.9.0/go.mod h1:U7ayypeSkw23szu4GaQTPJGx66c20mx8JklMSxrmI1w= +github.com/google/cel-spec v0.6.0/go.mod h1:Nwjgxy5CbjlPrtCWjeDjUyKMl8w41YBYGjsyDdqk0xA= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.2 h1:X2ev0eStA3AbceY54o37/0PQ/UWqKEiiO2dKL5OPaFM= +github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/gofuzz v0.0.0-20161122191042-44d81051d367/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= +github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ= +github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.0 h1:Hsa8mG0dQ46ij8Sl2AYJDUv1oA9/d6Vk+3LG99Oe02g= github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= -github.com/googleapis/gnostic v0.1.0/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= -github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= -github.com/googleapis/gnostic v0.5.1 h1:A8Yhf6EtqTv9RMsU6MQTyrtV1TjWlR6xU9BsZIwuTCM= github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= -github.com/gophercloud/gophercloud v0.1.0/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8= +github.com/googleapis/gnostic v0.5.5 h1:9fHAtK0uDfpveeqqo1hkEZJcFvYXAiCN3UutL8F9xHw= +github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= +github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gregjones/httpcache v0.0.0-20170728041850-787624de3eb7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= -github.com/grpc-ecosystem/go-grpc-middleware v0.0.0-20190222133341-cfaf5686ec79/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= +github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.3.0/go.mod h1:RSKVYQBd5MCa4OVpNdGskqpgL2+G+NZTnrVHpWWfpdw= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/go-getter v1.4.0/go.mod h1:7qxyCd8rBfcShwsvxgIguu4KbS3l8bUCwg2Umn7RjeY= +github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= +github.com/hashicorp/go-hclog v0.14.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= +github.com/hashicorp/go-hclog v0.16.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-kms-wrapping/entropy v0.1.0/go.mod h1:d1g9WGtAunDNpek8jUIEJnBlbgKS1N2Q61QkHiZyR1g= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= +github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= +github.com/hashicorp/go-plugin v1.4.3/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ= +github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= +github.com/hashicorp/go-retryablehttp v0.6.6/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= +github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoDHxNAB65b+Rj1I= +github.com/hashicorp/go-secure-stdlib/base62 v0.1.1/go.mod h1:EdWO6czbmthiwZ3/PUsDV+UD1D5IRU4ActiaWGwt0Yw= +github.com/hashicorp/go-secure-stdlib/mlock v0.1.1/go.mod h1:zq93CJChV6L9QTfGKtfBxKqD7BqqXx5O04A/ns2p5+I= +github.com/hashicorp/go-secure-stdlib/parseutil v0.1.1/go.mod h1:QmrqtbKuxxSWTN3ETMPuB+VtEiBJ/A9XhoYGv8E1uD8= +github.com/hashicorp/go-secure-stdlib/password v0.1.1/go.mod h1:9hH302QllNwu1o2TGYtSk8I8kTAN0ca1EHpwhm5Mmzo= +github.com/hashicorp/go-secure-stdlib/strutil v0.1.1/go.mod h1:gKOamz3EwoIoJq7mlMIRBpVTAUn8qPCrEclOKKWhD3U= +github.com/hashicorp/go-secure-stdlib/tlsutil v0.1.1/go.mod h1:l8slYwnJA26yBz+ErHpp2IRCLr0vuOMGBORIz4rRiAs= github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= +github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A= github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= +github.com/hashicorp/vault/api v1.3.1/go.mod h1:QeJoWxMFt+MsuWcYhmwRLwKEXrjwAFFywzhptMsTIUw= +github.com/hashicorp/vault/sdk v0.3.0/go.mod h1:aZ3fNuL5VNydQk8GcLJ2TV8YCRVvyaakYkhZRoVuhj0= +github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.10 h1:6q5mVkdH/vYmqngx7kZQTjJ5HRsx+ImorDIEQ+beJgc= -github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= +github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= +github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= +github.com/jhump/protoreflect v1.6.0/go.mod h1:eaTn3RZAmMBcV0fifFvlm6VHNz3wSkYyXYWUh7ymB74= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= -github.com/json-iterator/go v0.0.0-20180612202835-f2b4162afba3/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8= +github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= +github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.10 h1:Kz6Cvnvv2wGdaG/V8yMvfkmNiXq9Ya2KUv4rouJJr68= +github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= +github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= +github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.2 h1:/bC9yWikZXAL9uJdulbSfyVNIR3n3trXl+v8+1sx8mU= -github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.8 h1:c1ghPdyEDarC70ftn0y+A/Ee++9zz8ljHG1b13eJ0s8= +github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc= github.com/mattn/go-ieproxy v0.0.0-20190702010315-6dee0af9227d/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc= github.com/mattn/go-ieproxy v0.0.0-20190805055040-f9202b1cfdeb h1:hXqqXzQtJbENrsb+rsIqkVqcg4FUJL0SQFGw08Dgivw= github.com/mattn/go-ieproxy v0.0.0-20190805055040-f9202b1cfdeb/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.8 h1:HLtExJ+uU2HOZ+wI0Tt5DtUDrx8yhUqDcp7fYERX4CE= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= +github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= +github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= +github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/mapstructure v1.4.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/moby/term v0.0.0-20200312100748-672ec06f55cd/go.mod h1:DdlQx2hp0Ss5/fLikoLlEeIYiATotOjgB//nb973jeo= +github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= +github.com/moby/term v0.0.0-20210610120745-9d4ed1856297/go.mod h1:vgPCkQMyxTZ7IDy8SXRufE172gr8+K/JE/7hHFxHW3A= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v0.0.0-20180320133207-05fbef0ca5da/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/nxadm/tail v1.4.4 h1:DQuhQpB1tVlglWS2hLQ5OV6B5r8aGxSrPc5Qo6uTN78= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= +github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= +github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= +github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= -github.com/onsi/ginkgo v1.14.1 h1:jMU0WaQrP0a/YAEq8eJmJKjBoMs+pClEr1vDMlM/Do4= -github.com/onsi/ginkgo v1.14.1/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= +github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= +github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= +github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= +github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= -github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= -github.com/onsi/gomega v1.8.1/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/onsi/gomega v1.10.2 h1:aY/nuoWlKJud2J6U0E3NWsjlg+0GtwXxgEqthRdzlcs= -github.com/onsi/gomega v1.10.2/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= +github.com/onsi/gomega v1.17.0 h1:9Luw4uT5HTjHTN8+aNcSThgH1vdXnmdJ8xIfZ4wyTRE= +github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= +github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= +github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= +github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= +github.com/pierrec/lz4 v2.5.2+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= +github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.2/go.mod h1:OsXs2jCmiKlQ1lTBmv21f2mNfw4xf/QclQDMrYNZzcM= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.7.1 h1:NTGy1Ja9pByO+xAeH/qiWnLrKtr3hJPNjaVUwnjpdpA= +github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= +github.com/prometheus/client_golang v1.11.0 h1:HNkLOAEQMIDv/K+04rukrLx6ch7msSRwf3/SASFAGtQ= +github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.10.0 h1:RyRA7RzGXQZiW+tGMr7sxa85G1z0yOpM1qq5c8lNawc= +github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= +github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= +github.com/prometheus/common v0.28.0 h1:vGVfV9KrDTvWt5boZO0I19g2E3CsWfpPPKZM9dt3mEw= +github.com/prometheus/common v0.28.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.2.0 h1:wH4vA7pcjKuZzjF7lM8awk4fnuJO6idemZXoKnULUx4= -github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= +github.com/prometheus/procfs v0.6.0 h1:mxy4L2jP6qMonqmq+aTtOx1ifVWUgG/TAmntgbh3xv4= +github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uYEyJGbgTkfkS4+E/PavXkNJcbFIpEtjt2B0KDQ5+9M= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= +github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= +github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= +github.com/ryanuber/go-glob v1.0.0/go.mod h1:807d1WSdnB0XRJzKNil9Om6lcp/3a0v4qIHxIXzX/Yc= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= +github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= +github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= -github.com/soheilhy/cmux v0.1.3/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= +github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/afero v1.2.2 h1:5jhuqJyZCZf2JRofRvN/nIFgIWNzPa3/Vz8mYylgbWc= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= +github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= +github.com/spf13/afero v1.8.0 h1:5MmtuhAgYeU6qpa7w7bP0dv6MBYuup0vekhSpSkoq60= +github.com/spf13/afero v1.8.0/go.mod h1:CtAatgMJh6bJEIs48Ay/FOnkljP3WeGUG0MC1RfAqwo= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= -github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= -github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= -github.com/spf13/cobra v1.1.1 h1:KfztREH0tPxJJ+geloSLaAkaPkr4ki2Er5quFV1TDo4= -github.com/spf13/cobra v1.1.1/go.mod h1:WnodtKOvamDL/PwE2M4iKs8aMDBZ5Q5klgD3qfVJQMI= +github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= +github.com/spf13/cobra v1.2.1 h1:+KmjbUw1hriSNMF55oPrkZcb27aECyrj8V2ytv7kWDw= +github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= -github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= +github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns= github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= -github.com/stretchr/testify v0.0.0-20151208002404-e3a8ff8ce365/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= -github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= -github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= -github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= +github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= github.com/ulikunitz/xz v0.5.5/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8= -github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= -github.com/vektah/gqlparser v1.1.2/go.mod h1:1ycwN7Ij5njmMkPPAOaRFY4rET2Enx7IkVv3vaXspKw= -github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= -github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= +github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.0/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= -go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= -go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg= -go.mongodb.org/mongo-driver v1.0.3/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= -go.mongodb.org/mongo-driver v1.1.1/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= -go.mongodb.org/mongo-driver v1.1.2/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= +go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= +go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= +go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= +go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ= +go.etcd.io/etcd/client/v3 v3.5.0/go.mod h1:AIKXXVX/DQXtfTEqBryiLTUXwON+GuvO6Z7lLS/oTh0= +go.etcd.io/etcd/pkg/v3 v3.5.0/go.mod h1:UzJGatBQ1lXChBkQF0AuAtkRQMYnHubxAEYIrC3MSsE= +go.etcd.io/etcd/raft/v3 v3.5.0/go.mod h1:UFOHSIvO/nKwd4lhkwabrTD3cqW5yVyYYf/KlD00Szc= +go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVdCRJoS4= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.uber.org/atomic v0.0.0-20181018215023-8dc6146f7569/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= +go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= +go.opentelemetry.io/contrib v0.20.0/go.mod h1:G/EtFaa6qaN7+LxqfIAT3GiZa7Wv5DTBUzl5H4LY0Kc= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0/go.mod h1:oVGt1LRbBOBq1A5BQLlUg9UaU/54aiHw8cgjV3aWZ/E= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4= +go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= +go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM= +go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= +go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= +go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc= +go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE= +go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE= +go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= +go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.6.0 h1:Ezj3JGmsOnG1MoRWQkPBsKLe9DwWD9QeXzTRzzldNVk= -go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= -go.uber.org/goleak v1.1.10 h1:z+mqJhf6ss6BSfSM671tgKyZBFPTTJM+HLxnhPC3wu0= +go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= +go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= -go.uber.org/multierr v0.0.0-20180122172545-ddea229ff1df/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/goleak v1.1.11-0.20210813005559-691160354723/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= +go.uber.org/goleak v1.1.12 h1:gZAh5/EyT/HQwlpkCy6wTpqfH9H8Lz8zbm3dZh+OyzA= +go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.5.0 h1:KCa4XfM8CWFCpxXRGok+Q0SS/0XBhMDbHHGABQLvD2A= -go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= -go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee h1:0mgffUl7nfd+FpvXMVz4IDEaUSmT1ysygQC7qYo7sG4= -go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= -go.uber.org/zap v0.0.0-20180814183419-67bc79d13d15/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.8.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= +go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.15.0 h1:ZZCA22JRF2gQE5FoNmhmrf7jeJJ2uhqDUNRYKm8dvmM= -go.uber.org/zap v1.15.0/go.mod h1:Mb2vm2krFEG5DV0W9qcHBYFtp/Wku1cvYaqPsS/WYfc= +go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= +go.uber.org/zap v1.19.0/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= +go.uber.org/zap v1.19.1 h1:ue41HOKd1vGURxrmeKIgELGb3jPW9DMUDGtsinblHwI= +go.uber.org/zap v1.19.1/go.mod h1:j3DNczoxDZroyBnOT1L/Q79cfUMGZxlv/9dzN7SM1rI= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190320223903-b7391e95e576/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190418165655-df01cb2cc480/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190617133340-57b3e21c3d56/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0 h1:hb9wdF1z5waM+dSIICn1l0DkLVDT3hqhhQsDNUmHPRE= golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa h1:idItI2DDfCokpg0N51B2VtiLdJ4vAuXC9fnCb2gACo4= +golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190312203227-4b39c73a6495/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= @@ -610,8 +676,10 @@ golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHl golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b h1:Wh+f8QHJXR411sJR8/vRBTZ7YapZaRvUcLFFJhusH0k= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug= +golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= @@ -619,13 +687,15 @@ golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.2 h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo= +golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181005035420-146acd28ed58/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -633,19 +703,15 @@ golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73r golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190320064053-1272bf9dcd53/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190812203447-cdfb69ac37fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -653,24 +719,55 @@ golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b h1:uwuIcX0g4Yl1NC5XAz37xsr2lTtcqevgzYNVt49waME= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= +golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= +golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= +golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210825183410-e898025ed96a h1:bRuuGXV8wwSdGTB+CtJf+FjgO1APK1CoO39T4BN/XBw= +golang.org/x/net v0.0.0-20210825183410-e898025ed96a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d h1:TzXSXBo42m9gQenoE3b9BGiEpg5IG2JkU5FkPIawgtw= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f h1:Qmd2pbz05z7z6lm0DrgQVVPuBm92jqujBKMHMOlOQEw= +golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -678,63 +775,95 @@ golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190209173611-3b5209105503/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190321052220-f7bb7a8bee54/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201112073958-5cba982894dd h1:5CtCZbICpIOFdgO940moixOPjc0178IU44m4EjOO5IY= -golang.org/x/sys v0.0.0-20201112073958-5cba982894dd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211029165221-6e7872819dc8 h1:M69LAlWZCshgp0QSzyDcSsSIejIEeuaCVpmwcKwyLMk= +golang.org/x/sys v0.0.0-20211029165221-6e7872819dc8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b h1:9zKuko04nR4gjZ4+DNjHqRlAJqbJETHwiNKDqTfOjfE= +golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.4 h1:0YWbFKbhXG/wIiuHDSKpS0Iy7FSA+u45VtBMfQcFTTc= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e h1:EHBhcS0mlXEAVwNyO2dLfjToGsyY4j24pTs2ScHnX7s= -golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac h1:7zkz7BUtwNFFqcowJ+RIgu2MaV/MapERkDIy+mwPyjs= +golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190125232054-d66bd3c5d5a6/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= @@ -744,18 +873,12 @@ golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBn golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190617190820-da514acc4774/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191018212557-ed542cd5b28a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -772,22 +895,39 @@ golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapK golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= +golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200616133436-c1934b75d054/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200616195046-dc31b401abb5/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3 h1:DywqrEscRX7O2phNjkT0L6lhHKGBoMLCNX+XcAe7t6s= -golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= +golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= +golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.6-0.20210820212750-d4cc65f0b2ff h1:VX/uD7MK0AHXGiScH3fsieUQUcpmRERPDYtqZdJnA+Q= +golang.org/x/tools v0.1.6-0.20210820212750-d4cc65f0b2ff/go.mod h1:YD9qOF0M9xpSpdWTBbzEl5e/RnCefISl8E5Noe10jFM= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gomodules.xyz/jsonpatch/v2 v2.1.0 h1:Phva6wqu+xR//Njw6iorylFFgn/z547tw5Ne3HZPQ+k= -gomodules.xyz/jsonpatch/v2 v2.1.0/go.mod h1:IhYNNY4jnS53ZnfE4PAmpKtDpTCj1JFXc+3mwe7XcUU= -gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485/go.mod h1:2ltnJ7xHfj0zHS40VVPYEAAMTa3ZGguvHGBSJeRWqE0= -gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= -gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e/go.mod h1:kS+toOQn6AQKjmKJ7gzohV1XkqsFehRA2FbsbkopSuQ= +gomodules.xyz/jsonpatch/v2 v2.2.0 h1:4pT439QV83L+G9FkcCriY6EkpcK6r6bK+A5FBUMI7qY= +gomodules.xyz/jsonpatch/v2 v2.2.0/go.mod h1:WXp+iVDkoLQqPudfQ9GBlwB2eZ5DKOnjQZCYdOS8GPY= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= @@ -797,14 +937,28 @@ google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsb google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= +google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= +google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= +google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= +google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= +google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= +google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= +google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1AvkYD8= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.6 h1:lMO5rYAqUxkmaj76jAkRUvt5JZgFymx/+Q5Mzfivuhc= google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= +google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= @@ -822,18 +976,60 @@ google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvx google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201102152239-715cce707fb0/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= +google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= +google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= +google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= +google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= +google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.41.0/go.mod h1:U3l9uK9J0sini8mHphKoXyaqDA/8VyGnDee1zzIUK6k= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -843,8 +1039,11 @@ google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= +google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -852,111 +1051,78 @@ gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/cheggaaa/pb.v1 v1.0.27/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= -gopkg.in/inf.v0 v0.9.0/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= +gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v3 v3.0.0-20190905181640-827449938966/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 h1:tQIYjPdBoyREyB9XMu+nnTclpTYkz2zFM+lzLJFO4gQ= gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= +gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.0.1-2020.1.3 h1:sXmLre5bzIR6ypkjXCDI3jHPssRhc8KD/Ome589sc3U= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -k8s.io/api v0.0.0-20190918155943-95b840bb6a1f/go.mod h1:uWuOHnjmNrtQomJrvEBg0c0HRNyQ+8KTEERVsK0PW48= -k8s.io/api v0.18.2/go.mod h1:SJCWI7OLzhZSvbY7U8zwNl9UA4o1fizoug34OV/2r78= -k8s.io/api v0.20.1 h1:ud1c3W3YNzGd6ABJlbFfKXBKXO+1KdGfcgGGNgFR03E= -k8s.io/api v0.20.1/go.mod h1:KqwcCVogGxQY3nBlRpwt+wpAMF/KjaCc7RpywacvqUo= -k8s.io/apiextensions-apiserver v0.0.0-20190918161926-8f644eb6e783/go.mod h1:xvae1SZB3E17UpV59AWc271W/Ph25N+bjPyR63X6tPY= -k8s.io/apiextensions-apiserver v0.18.2/go.mod h1:q3faSnRGmYimiocj6cHQ1I3WpLqmDgJFlKL37fC4ZvY= -k8s.io/apiextensions-apiserver v0.20.1 h1:ZrXQeslal+6zKM/HjDXLzThlz/vPSxrfK3OqL8txgVQ= -k8s.io/apiextensions-apiserver v0.20.1/go.mod h1:ntnrZV+6a3dB504qwC5PN/Yg9PBiDNt1EVqbW2kORVk= -k8s.io/apimachinery v0.0.0-20190913080033-27d36303b655/go.mod h1:nL6pwRT8NgfF8TT68DBI8uEePRt89cSvoXUVqbkWHq4= -k8s.io/apimachinery v0.18.2/go.mod h1:9SnR/e11v5IbyPCGbvJViimtJ0SwHG4nfZFjU77ftcA= -k8s.io/apimachinery v0.20.1/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= -k8s.io/apimachinery v0.20.2 h1:hFx6Sbt1oG0n6DZ+g4bFt5f6BoMkOjKWsQFu077M3Vg= -k8s.io/apimachinery v0.20.2/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= -k8s.io/apiserver v0.0.0-20190918160949-bfa5e2e684ad/go.mod h1:XPCXEwhjaFN29a8NldXA901ElnKeKLrLtREO9ZhFyhg= -k8s.io/apiserver v0.18.2/go.mod h1:Xbh066NqrZO8cbsoenCwyDJ1OSi8Ag8I2lezeHxzwzw= -k8s.io/apiserver v0.20.1/go.mod h1:ro5QHeQkgMS7ZGpvf4tSMx6bBOgPfE+f52KwvXfScaU= -k8s.io/client-go v0.0.0-20190918160344-1fbdaa4c8d90/go.mod h1:J69/JveO6XESwVgG53q3Uz5OSfgsv4uxpScmmyYOOlk= -k8s.io/client-go v0.18.2/go.mod h1:Xcm5wVGXX9HAA2JJ2sSBUn3tCJ+4SVlCbl2MNNv+CIU= -k8s.io/client-go v0.20.1 h1:Qquik0xNFbK9aUG92pxHYsyfea5/RPO9o9bSywNor+M= -k8s.io/client-go v0.20.1/go.mod h1:/zcHdt1TeWSd5HoUe6elJmHSQ6uLLgp4bIJHVEuy+/Y= -k8s.io/code-generator v0.0.0-20190912054826-cd179ad6a269/go.mod h1:V5BD6M4CyaN5m+VthcclXWsVcT1Hu+glwa1bi3MIsyE= -k8s.io/code-generator v0.18.2/go.mod h1:+UHX5rSbxmR8kzS+FAv7um6dtYrZokQvjHpDSYRVkTc= -k8s.io/code-generator v0.20.1/go.mod h1:UsqdF+VX4PU2g46NC2JRs4gc+IfrctnwHb76RNbWHJg= -k8s.io/component-base v0.0.0-20190918160511-547f6c5d7090/go.mod h1:933PBGtQFJky3TEwYx4aEPZ4IxqhWh3R6DCmzqIn1hA= -k8s.io/component-base v0.18.2/go.mod h1:kqLlMuhJNHQ9lz8Z7V5bxUUtjFZnrypArGl58gmDfUM= -k8s.io/component-base v0.20.1 h1:6OQaHr205NSl24t5wOF2IhdrlxZTWEZwuGlLvBgaeIg= -k8s.io/component-base v0.20.1/go.mod h1:guxkoJnNoh8LNrbtiQOlyp2Y2XFCZQmrcg2n/DeYNLk= -k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/gengo v0.0.0-20190822140433-26a664648505/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/gengo v0.0.0-20200114144118-36b2048a9120/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/gengo v0.0.0-20201113003025-83324d819ded/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= -k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= -k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= -k8s.io/klog v0.4.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= -k8s.io/klog v1.0.0 h1:Pt+yjF5aB1xDSVbau4VsWe+dQNzA0qv1LlXdC2dF6Q8= -k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= +honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +k8s.io/api v0.23.0 h1:WrL1gb73VSC8obi8cuYETJGXEoFNEh3LU0Pt+Sokgro= +k8s.io/api v0.23.0/go.mod h1:8wmDdLBHBNxtOIytwLstXt5E9PddnZb0GaMcqsvDBpg= +k8s.io/apiextensions-apiserver v0.23.0 h1:uii8BYmHYiT2ZTAJxmvc3X8UhNYMxl2A0z0Xq3Pm+WY= +k8s.io/apiextensions-apiserver v0.23.0/go.mod h1:xIFAEEDlAZgpVBl/1VSjGDmLoXAWRG40+GsWhKhAxY4= +k8s.io/apimachinery v0.23.0 h1:mIfWRMjBuMdolAWJ3Fd+aPTMv3X9z+waiARMpvvb0HQ= +k8s.io/apimachinery v0.23.0/go.mod h1:fFCTTBKvKcwTPFzjlcxp91uPFZr+JA0FubU4fLzzFYc= +k8s.io/apiserver v0.23.0/go.mod h1:Cec35u/9zAepDPPFyT+UMrgqOCjgJ5qtfVJDxjZYmt4= +k8s.io/client-go v0.23.0 h1:vcsOqyPq7XV3QmQRCBH/t9BICJM9Q1M18qahjv+rebY= +k8s.io/client-go v0.23.0/go.mod h1:hrDnpnK1mSr65lHHcUuIZIXDgEbzc7/683c6hyG4jTA= +k8s.io/code-generator v0.23.0/go.mod h1:vQvOhDXhuzqiVfM/YHp+dmg10WDZCchJVObc9MvowsE= +k8s.io/component-base v0.23.0 h1:UAnyzjvVZ2ZR1lF35YwtNY6VMN94WtOnArcXBu34es8= +k8s.io/component-base v0.23.0/go.mod h1:DHH5uiFvLC1edCpvcTDV++NKULdYYU6pR9Tt3HIKMKI= +k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/klog/v2 v2.4.0 h1:7+X0fUguPyrKEC4WjH8iGDg3laWgMo5tMnRTIGTTxGQ= -k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/kube-openapi v0.0.0-20190816220812-743ec37842bf/go.mod h1:1TqjTSzOxsLGIKfj0lK8EeCP7K1iUG65v09OM0/WG5E= -k8s.io/kube-openapi v0.0.0-20200121204235-bf4fb3bd569c/go.mod h1:GRQhZsXIAJ1xR0C9bd8UpWHZ5plfAS9fzPjJuQ6JL3E= -k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd h1:sOHNzJIkytDF6qadMNKhhDRpc6ODik8lVC6nOur7B2c= -k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM= -k8s.io/utils v0.0.0-20190801114015-581e00157fb1/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= -k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= -k8s.io/utils v0.0.0-20201110183641-67b214c5f920 h1:CbnUZsM497iRC5QMVkHwyl8s2tB3g7yaSHkYPkpgelw= -k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw= -modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk= -modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k= -modernc.org/strutil v1.0.0/go.mod h1:lstksw84oURvj9y3tn8lGvRxyRC1S2+g5uuIzNfIOBs= -modernc.org/xc v1.0.0/go.mod h1:mRNCo0bvLjGhHO9WsyuKVU4q0ceiDDDoEeWDJHrNx8I= +k8s.io/klog/v2 v2.30.0 h1:bUO6drIvCIsvZ/XFgfxoGFQU/a4Qkh0iAlvUR7vlHJw= +k8s.io/klog/v2 v2.30.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 h1:E3J9oCLlaobFUqsjG9DfKbP2BmgwBL2p7pn0A3dG9W4= +k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk= +k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b h1:wxEMGetGMur3J1xuGLQY7GEQYg9bZxKn3tKo5k/eYcs= +k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.7/go.mod h1:PHgbrJT7lCHcxMU+mDHEm+nx46H4zuuHZkDP6icnhu0= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.14/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= -sigs.k8s.io/controller-runtime v0.8.0 h1:s0dYdo7lQgJiAf+alP82PRwbz+oAqL3oSyMQ18XRDOc= -sigs.k8s.io/controller-runtime v0.8.0/go.mod h1:v9Lbj5oX443uR7GXYY46E0EE2o7k2YxQ58GxVNeXSW4= -sigs.k8s.io/controller-tools v0.2.4/go.mod h1:m/ztfQNocGYBgTTCmFdnK94uVvgxeZeE3LtJvd/jIzA= -sigs.k8s.io/controller-tools v0.4.0 h1:9zIdrc6q9RKke8+DnVPVBVZ+cfF9L0TwM01cxNnklYo= -sigs.k8s.io/controller-tools v0.4.0/go.mod h1:G9rHdZMVlBDocIxGkK3jHLWqcTMNvveypYJwrvYKjWU= -sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e/go.mod h1:wWxsB5ozmmv/SG7nM11ayaAW51xMvak/t1r0CSlcokI= -sigs.k8s.io/structured-merge-diff v0.0.0-20190817042607-6149e4549fca h1:6dsH6AYQWbyZmtttJNe8Gq1cXOeS1BdV3eW37zHilAQ= -sigs.k8s.io/structured-merge-diff v0.0.0-20190817042607-6149e4549fca/go.mod h1:IIgPezJWb76P0hotTxzDbWsMYB8APh18qZnxkomBpxA= -sigs.k8s.io/structured-merge-diff/v3 v3.0.0-20200116222232-67a7b8c61874/go.mod h1:PlARxl6Hbt/+BC80dRLi1qAmnMqwqDg62YvvVkZjemw= -sigs.k8s.io/structured-merge-diff/v3 v3.0.0/go.mod h1:PlARxl6Hbt/+BC80dRLi1qAmnMqwqDg62YvvVkZjemw= -sigs.k8s.io/structured-merge-diff/v4 v4.0.2 h1:YHQV7Dajm86OuqnIR6zAelnDWBRjo+YhYV9PmGrh1s8= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.25/go.mod h1:Mlj9PNLmG9bZ6BHFwFKDo5afkpWyUISkb9Me0GnK66I= +sigs.k8s.io/controller-runtime v0.11.0 h1:DqO+c8mywcZLFJWILq4iktoECTyn30Bkj0CwgqMpZWQ= +sigs.k8s.io/controller-runtime v0.11.0/go.mod h1:KKwLiTooNGu+JmLZGn9Sl3Gjmfj66eMbCQznLP5zcqA= +sigs.k8s.io/controller-tools v0.8.0 h1:uUkfTGEwrguqYYfcI2RRGUnC8mYdCFDqfwPKUcNJh1o= +sigs.k8s.io/controller-tools v0.8.0/go.mod h1:qE2DXhVOiEq5ijmINcFbqi9GZrrUjzB1TuJU0xa6eoY= +sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6 h1:fD1pz4yfdADVNfFmcP2aBEtudwUQ1AlLnRBALr33v3s= +sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6/go.mod h1:p4QtZmO4uMYipTQNzagwnNoseA6OxSUutVw05NhYDRs= sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= -sigs.k8s.io/yaml v1.2.0 h1:kr/MCeFWJWTwyaHoR9c8EjH9OumOmoF9YGiZd7lFm/Q= +sigs.k8s.io/structured-merge-diff/v4 v4.1.2/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= +sigs.k8s.io/structured-merge-diff/v4 v4.2.0 h1:kDvPBbnPk+qYmkHmSo8vKGp438IASWofnbbUKDE/bv0= +sigs.k8s.io/structured-merge-diff/v4 v4.2.0/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= +sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= +sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= diff --git a/package/crds/azure.crossplane.io_providerconfigs.yaml b/package/crds/azure.crossplane.io_providerconfigs.yaml index 80289bad..9ef8cd9c 100644 --- a/package/crds/azure.crossplane.io_providerconfigs.yaml +++ b/package/crds/azure.crossplane.io_providerconfigs.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: providerconfigs.azure.crossplane.io spec: @@ -26,13 +25,18 @@ spec: name: v1beta1 schema: openAPIV3Schema: - description: A ProviderConfig configures an Azure 'provider', i.e. a connection to a particular Azure account using a particular Azure Service Principal. + description: A ProviderConfig configures an Azure 'provider', i.e. a connection + to a particular Azure account using a particular Azure Service Principal. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -43,7 +47,8 @@ spec: description: Credentials required to authenticate to this provider. properties: env: - description: Env is a reference to an environment variable that contains credentials that must be used to connect to the provider. + description: Env is a reference to an environment variable that + contains credentials that must be used to connect to the provider. properties: name: description: Name is the name of an environment variable. @@ -52,7 +57,8 @@ spec: - name type: object fs: - description: Fs is a reference to a filesystem location that contains credentials that must be used to connect to the provider. + description: Fs is a reference to a filesystem location that contains + credentials that must be used to connect to the provider. properties: path: description: Path is a filesystem path. @@ -61,7 +67,8 @@ spec: - path type: object secretRef: - description: A SecretRef is a reference to a secret key that contains the credentials that must be used to connect to the provider. + description: A SecretRef is a reference to a secret key that contains + the credentials that must be used to connect to the provider. properties: key: description: The key to select. @@ -100,20 +107,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/package/crds/azure.crossplane.io_providerconfigusages.yaml b/package/crds/azure.crossplane.io_providerconfigusages.yaml index 456fbf4f..06dd6b6a 100644 --- a/package/crds/azure.crossplane.io_providerconfigusages.yaml +++ b/package/crds/azure.crossplane.io_providerconfigusages.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: providerconfigusages.azure.crossplane.io spec: @@ -37,10 +36,14 @@ spec: description: A ProviderConfigUsage indicates that a resource is using a ProviderConfig. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -54,7 +57,8 @@ spec: - name type: object resourceRef: - description: ResourceReference to the managed resource using the provider config. + description: ResourceReference to the managed resource using the provider + config. properties: apiVersion: description: APIVersion of the referenced object. diff --git a/package/crds/azure.crossplane.io_providers.yaml b/package/crds/azure.crossplane.io_providers.yaml index e55d0f31..087ee2d2 100644 --- a/package/crds/azure.crossplane.io_providers.yaml +++ b/package/crds/azure.crossplane.io_providers.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: providers.azure.crossplane.io spec: @@ -26,13 +25,18 @@ spec: name: v1alpha3 schema: openAPIV3Schema: - description: A Provider configures an Azure 'provider', i.e. a connection to a particular Azure account using a particular Azure Service Principal. + description: A Provider configures an Azure 'provider', i.e. a connection + to a particular Azure account using a particular Azure Service Principal. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -40,7 +44,9 @@ spec: description: A ProviderSpec defines the desired state of a Provider. properties: credentialsSecretRef: - description: CredentialsSecretRef references a specific secret's key that contains the credentials that are used to connect to the Azure API. + description: CredentialsSecretRef references a specific secret's key + that contains the credentials that are used to connect to the Azure + API. properties: key: description: The key to select. diff --git a/package/crds/azure.crossplane.io_resourcegroups.yaml b/package/crds/azure.crossplane.io_resourcegroups.yaml index 805cf5a4..297a5dfc 100644 --- a/package/crds/azure.crossplane.io_resourcegroups.yaml +++ b/package/crds/azure.crossplane.io_resourcegroups.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: resourcegroups.azure.crossplane.io spec: @@ -28,13 +27,18 @@ spec: name: v1alpha3 schema: openAPIV3Schema: - description: A ResourceGroup is a managed resource that represents an Azure Resource Group. + description: A ResourceGroup is a managed resource that represents an Azure + Resource Group. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -43,18 +47,23 @@ spec: properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete type: string location: - description: Location of the resource group. See the official list of valid regions - https://azure.microsoft.com/en-us/global-infrastructure/regions/ + description: Location of the resource group. See the official list + of valid regions - https://azure.microsoft.com/en-us/global-infrastructure/regions/ type: string providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -63,7 +72,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -71,8 +82,64 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -88,7 +155,8 @@ spec: - location type: object status: - description: A ResourceGroupStatus represents the observed status of a ResourceGroup. + description: A ResourceGroupStatus represents the observed status of a + ResourceGroup. properties: conditions: description: Conditions of the resource. @@ -96,20 +164,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime @@ -119,7 +192,8 @@ spec: type: object type: array provisioningState: - description: ProvisioningState - The provisioning state of the resource group. + description: ProvisioningState - The provisioning state of the resource + group. type: string type: object required: diff --git a/package/crds/cache.azure.crossplane.io_redis.yaml b/package/crds/cache.azure.crossplane.io_redis.yaml index dc9a5c2f..f993684c 100644 --- a/package/crds/cache.azure.crossplane.io_redis.yaml +++ b/package/crds/cache.azure.crossplane.io_redis.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: redis.cache.azure.crossplane.io spec: @@ -37,13 +36,18 @@ spec: name: v1beta1 schema: openAPIV3Schema: - description: A Redis is a managed resource that represents an Azure Redis cluster. + description: A Redis is a managed resource that represents an Azure Redis + cluster. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -52,27 +56,40 @@ spec: properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete type: string forProvider: - description: RedisParameters define the desired state of an Azure Redis cluster. https://docs.microsoft.com/en-us/rest/api/redis/redis/create#redisresource + description: RedisParameters define the desired state of an Azure + Redis cluster. https://docs.microsoft.com/en-us/rest/api/redis/redis/create#redisresource properties: enableNonSslPort: - description: EnableNonSSLPort specifies whether the non-ssl Redis server port (6379) is enabled. + description: EnableNonSSLPort specifies whether the non-ssl Redis + server port (6379) is enabled. type: boolean location: description: Location in which to create this resource. type: string minimumTlsVersion: - description: 'MinimumTLSVersion - Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, ''1.0'', ''1.1'', ''1.2''). Possible values include: ''OneFullStopZero'', ''OneFullStopOne'', ''OneFullStopTwo''' + description: 'MinimumTLSVersion - Optional: requires clients to + use a specified TLS version (or higher) to connect (e,g, ''1.0'', + ''1.1'', ''1.2''). Possible values include: ''OneFullStopZero'', + ''OneFullStopOne'', ''OneFullStopTwo''' type: string redisConfiguration: additionalProperties: type: string - description: 'RedisConfiguration - All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples, slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries, list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value, set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc.' + description: 'RedisConfiguration - All Redis Settings. Few possible + keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency + maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples, + slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries, + list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value, + set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value + etc.' type: object resourceGroupName: description: ResourceGroupName in which to create this resource. @@ -87,36 +104,45 @@ spec: - name type: object resourceGroupNameSelector: - description: ResourceGroupNameSelector to select a reference to a resource group. + description: ResourceGroupNameSelector to select a reference to + a resource group. properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object shardCount: - description: ShardCount specifies the number of shards to be created on a Premium Cluster Cache. + description: ShardCount specifies the number of shards to be created + on a Premium Cluster Cache. type: integer sku: description: Sku - The SKU of the Redis cache to deploy. properties: capacity: - description: 'Capacity specifies the size of Redis cache to deploy. Valid values: for C family (0, 1, 2, 3, 4, 5, 6), for P family (1, 2, 3, 4).' + description: 'Capacity specifies the size of Redis cache to + deploy. Valid values: for C family (0, 1, 2, 3, 4, 5, 6), + for P family (1, 2, 3, 4).' maximum: 6 minimum: 0 type: integer family: - description: 'Family specifies which family to use. Valid values: (C, P). Possible values include: ''C'', ''P''' + description: 'Family specifies which family to use. Valid + values: (C, P). Possible values include: ''C'', ''P''' enum: - C - P type: string name: - description: 'Name specifies what type of Redis cache to deploy. Valid values: (Basic, Standard, Premium). Possible values include: ''Basic'', ''Standard'', ''Premium''' + description: 'Name specifies what type of Redis cache to deploy. + Valid values: (Basic, Standard, Premium). Possible values + include: ''Basic'', ''Standard'', ''Premium''' enum: - Basic - Standard @@ -128,10 +154,13 @@ spec: - name type: object staticIp: - description: StaticIP address. Required when deploying a Redis cache inside an existing Azure Virtual Network. + description: StaticIP address. Required when deploying a Redis + cache inside an existing Azure Virtual Network. type: string subnetId: - description: 'SubnetID specifies the full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1' + description: 'SubnetID specifies the full resource ID of a subnet + in a virtual network to deploy the Redis cache in. Example format: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1' type: string tags: additionalProperties: @@ -144,7 +173,8 @@ spec: description: TenantSettings - A dictionary of tenant settings type: object zones: - description: Zones - A list of availability zones denoting where the resource needs to come from. + description: Zones - A list of availability zones denoting where + the resource needs to come from. items: type: string type: array @@ -155,7 +185,9 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -164,7 +196,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -172,8 +206,64 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -192,7 +282,8 @@ spec: description: A RedisStatus represents the observed state of a Redis. properties: atProvider: - description: RedisObservation represents the observed state of the Redis object in Azure. + description: RedisObservation represents the observed state of the + Redis object in Azure. properties: hostName: description: HostName - Redis host name. @@ -201,7 +292,8 @@ spec: description: ID - Resource ID. type: string linkedServers: - description: LinkedServers - List of the linked servers associated with the cache + description: LinkedServers - List of the linked servers associated + with the cache items: type: string type: array @@ -212,7 +304,11 @@ spec: description: Port - Redis non-SSL port. type: integer provisioningState: - description: 'ProvisioningState - Redis instance provisioning status. Possible values include: ''Creating'', ''Deleting'', ''Disabled'', ''Failed'', ''Linking'', ''Provisioning'', ''RecoveringScaleFailure'', ''Scaling'', ''Succeeded'', ''Unlinking'', ''Unprovisioning'', ''Updating''' + description: 'ProvisioningState - Redis instance provisioning + status. Possible values include: ''Creating'', ''Deleting'', + ''Disabled'', ''Failed'', ''Linking'', ''Provisioning'', ''RecoveringScaleFailure'', + ''Scaling'', ''Succeeded'', ''Unlinking'', ''Unprovisioning'', + ''Updating''' type: string redisVersion: description: RedisVersion - Redis version. @@ -227,20 +323,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/package/crds/compute.azure.crossplane.io_aksclusters.yaml b/package/crds/compute.azure.crossplane.io_aksclusters.yaml index 0a9ccc4e..48af34cb 100644 --- a/package/crds/compute.azure.crossplane.io_aksclusters.yaml +++ b/package/crds/compute.azure.crossplane.io_aksclusters.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: aksclusters.compute.azure.crossplane.io spec: @@ -37,13 +36,18 @@ spec: name: v1alpha3 schema: openAPIV3Schema: - description: An AKSCluster is a managed resource that represents an Azure Kubernetes Engine cluster. + description: An AKSCluster is a managed resource that represents an Azure + Kubernetes Engine cluster. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -52,32 +56,44 @@ spec: properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete type: string disableRBAC: - description: DisableRBAC determines whether RBAC will be disabled or enabled in the cluster. + description: DisableRBAC determines whether RBAC will be disabled + or enabled in the cluster. type: boolean dnsNamePrefix: - description: DNSNamePrefix is the DNS name prefix to use with the hosted Kubernetes API server FQDN. You will use this to connect to the Kubernetes API when managing containers after creating the cluster. + description: DNSNamePrefix is the DNS name prefix to use with the + hosted Kubernetes API server FQDN. You will use this to connect + to the Kubernetes API when managing containers after creating the + cluster. type: string location: - description: Location is the Azure location that the cluster will be created in + description: Location is the Azure location that the cluster will + be created in type: string nodeCount: - description: NodeCount is the number of nodes that the cluster will initially be created with. This can be scaled over time and defaults to 1. + description: NodeCount is the number of nodes that the cluster will + initially be created with. This can be scaled over time and defaults + to 1. maximum: 100 minimum: 0 type: integer nodeVMSize: - description: NodeVMSize is the name of the worker node VM size, e.g., Standard_B2s, Standard_F2s_v2, etc. + description: NodeVMSize is the name of the worker node VM size, e.g., + Standard_B2s, Standard_F2s_v2, etc. type: string providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -86,7 +102,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -94,11 +112,62 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object resourceGroupName: - description: ResourceGroupName is the name of the resource group that the cluster will be created in + description: ResourceGroupName is the name of the resource group that + the cluster will be created in type: string resourceGroupNameRef: - description: ResourceGroupNameRef - A reference to a ResourceGroup to retrieve its name + description: ResourceGroupNameRef - A reference to a ResourceGroup + to retrieve its name properties: name: description: Name of the referenced object. @@ -107,25 +176,31 @@ spec: - name type: object resourceGroupNameSelector: - description: ResourceGroupNameSelector - Select a reference to a ResourceGroup to retrieve its name + description: ResourceGroupNameSelector - Select a reference to a ResourceGroup + to retrieve its name properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the same + controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object version: - description: Version is the Kubernetes version that will be deployed to the cluster + description: Version is the Kubernetes version that will be deployed + to the cluster type: string vnetSubnetID: - description: VnetSubnetID is the subnet to which the cluster will be deployed. + description: VnetSubnetID is the subnet to which the cluster will + be deployed. type: string vnetSubnetIDRef: - description: VnetSubnetIDRef - A reference to a Subnet to retrieve its ID + description: VnetSubnetIDRef - A reference to a Subnet to retrieve + its ID properties: name: description: Name of the referenced object. @@ -134,19 +209,29 @@ spec: - name type: object vnetSubnetIDSelector: - description: VnetSubnetIDSelector - Select a reference to a Subnet to retrieve its ID + description: VnetSubnetIDSelector - Select a reference to a Subnet + to retrieve its ID properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the same + controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -171,20 +256,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime @@ -197,7 +287,8 @@ spec: description: Endpoint is the endpoint where the cluster can be reached type: string providerID: - description: ProviderID is the external ID to identify this resource in the cloud provider. + description: ProviderID is the external ID to identify this resource + in the cloud provider. type: string state: description: State is the current state of the cluster. diff --git a/package/crds/database.azure.crossplane.io_cosmosdbaccounts.yaml b/package/crds/database.azure.crossplane.io_cosmosdbaccounts.yaml index f4676495..232e9752 100644 --- a/package/crds/database.azure.crossplane.io_cosmosdbaccounts.yaml +++ b/package/crds/database.azure.crossplane.io_cosmosdbaccounts.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: cosmosdbaccounts.database.azure.crossplane.io spec: @@ -37,81 +36,124 @@ spec: name: v1alpha3 schema: openAPIV3Schema: - description: A CosmosDBAccount is a managed resource that represents an Azure CosmosDB account with CosmosDB API. + description: A CosmosDBAccount is a managed resource that represents an Azure + CosmosDB account with CosmosDB API. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object spec: - description: A CosmosDBAccountSpec defines the desired state of a CosmosDB Account. + description: A CosmosDBAccountSpec defines the desired state of a CosmosDB + Account. properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete type: string forProvider: - description: CosmosDBAccountParameters define the desired state of an Azure CosmosDB account. + description: CosmosDBAccountParameters define the desired state of + an Azure CosmosDB account. properties: kind: description: Kind - Indicates the type of database account. type: string location: - description: Location - The location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). + description: Location - The location of the resource. This will + be one of the supported and registered Azure Geo Regions (e.g. + West US, East US, Southeast Asia, etc.). type: string properties: - description: Properties - Account properties like databaseAccountOfferType, ipRangeFilters, etc. + description: Properties - Account properties like databaseAccountOfferType, + ipRangeFilters, etc. properties: consistencyPolicy: - description: ConsistencyPolicy - The consistency policy for the Cosmos DB account. + description: ConsistencyPolicy - The consistency policy for + the Cosmos DB account. properties: defaultConsistencyLevel: - description: 'DefaultConsistencyLevel - The default consistency level and configuration settings of the Cosmos DB account. Possible values include: ''Eventual'', ''Session'', ''BoundedStaleness'', ''Strong'', ''ConsistentPrefix''' + description: 'DefaultConsistencyLevel - The default consistency + level and configuration settings of the Cosmos DB account. + Possible values include: ''Eventual'', ''Session'', + ''BoundedStaleness'', ''Strong'', ''ConsistentPrefix''' type: string maxIntervalInSeconds: - description: MaxIntervalInSeconds - When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + description: MaxIntervalInSeconds - When used with the + Bounded Staleness consistency level, this value represents + the time amount of staleness (in seconds) tolerated. + Accepted range for this value is 5 - 86400. Required + when defaultConsistencyPolicy is set to 'BoundedStaleness'. format: int32 type: integer maxStalenessPrefix: - description: MaxStalenessPrefix - When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'. + description: MaxStalenessPrefix - When used with the Bounded + Staleness consistency level, this value represents the + number of stale requests tolerated. Accepted range for + this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy + is set to 'BoundedStaleness'. format: int64 type: integer required: - defaultConsistencyLevel type: object databaseAccountOfferType: - description: DatabaseAccountOfferType - The offer type for the database + description: DatabaseAccountOfferType - The offer type for + the database type: string enableAutomaticFailover: - description: EnableAutomaticFailover - Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. + description: EnableAutomaticFailover - Enables automatic failover + of the write region in the rare event that the region is + unavailable due to an outage. Automatic failover will result + in a new write region for the account and is chosen based + on the failover priorities configured for the account. type: boolean enableCassandraConnector: - description: EnableCassandraConnector - Enables the cassandra connector on the Cosmos DB C* account + description: EnableCassandraConnector - Enables the cassandra + connector on the Cosmos DB C* account type: boolean enableMultipleWriteLocations: - description: EnableMultipleWriteLocations - Enables the account to write in multiple locations + description: EnableMultipleWriteLocations - Enables the account + to write in multiple locations type: boolean ipRangeFilter: - description: 'IPRangeFilter - Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces.' + description: 'IPRangeFilter - Cosmos DB Firewall Support: + This value specifies the set of IP addresses or IP address + ranges in CIDR form to be included as the allowed list of + client IPs for a given database account. IP addresses/ranges + must be comma separated and must not contain any spaces.' type: string locations: - description: Locations - An array that contains the georeplication locations enabled for the Cosmos DB account. + description: Locations - An array that contains the georeplication + locations enabled for the Cosmos DB account. items: - description: CosmosDBAccountLocation a region in which the Azure Cosmos DB database account is deployed. + description: CosmosDBAccountLocation a region in which the + Azure Cosmos DB database account is deployed. properties: failoverPriority: - description: FailoverPriority - The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. + description: FailoverPriority - The failover priority + of the region. A failover priority of 0 indicates + a write region. The maximum value for a failover priority + = (total number of regions - 1). Failover priority + values must be unique for each of the regions in which + the database account exists. format: int32 type: integer isZoneRedundant: - description: IsZoneRedundant - Flag to indicate whether or not this region is an AvailabilityZone region + description: IsZoneRedundant - Flag to indicate whether + or not this region is an AvailabilityZone region type: boolean locationName: description: LocationName - The name of the region. @@ -127,10 +169,12 @@ spec: - locations type: object resourceGroupName: - description: ResourceGroupName specifies the name of the resource group that should contain this Account. + description: ResourceGroupName specifies the name of the resource + group that should contain this Account. type: string resourceGroupNameRef: - description: ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve its name + description: ResourceGroupNameRef - A reference to a ResourceGroup + object to retrieve its name properties: name: description: Name of the referenced object. @@ -139,21 +183,29 @@ spec: - name type: object resourceGroupNameSelector: - description: ResourceGroupNameSelector to select a reference to a resource group. + description: ResourceGroupNameSelector to select a reference to + a resource group. properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object tags: additionalProperties: type: string - description: Tags - A list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters. + description: Tags - A list of key value pairs that describe the + resource. These tags can be used for viewing and grouping this + resource (across resource groups). A maximum of 15 tags can + be provided for a resource. Each tag must have a key with a + length no greater than 128 characters and a value with a length + no greater than 256 characters. type: object required: - kind @@ -163,7 +215,9 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -172,7 +226,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -180,8 +236,64 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -197,10 +309,12 @@ spec: - forProvider type: object status: - description: An CosmosDBAccountStatus represents the observed state of an Account. + description: An CosmosDBAccountStatus represents the observed state of + an Account. properties: atProvider: - description: CosmosDBAccountObservation shows current state of an Azure CosmosDB account. + description: CosmosDBAccountObservation shows current state of an + Azure CosmosDB account. properties: id: description: Identity - The identity of the resource. @@ -218,20 +332,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/package/crds/database.azure.crossplane.io_mysqlserverconfigurations.yaml b/package/crds/database.azure.crossplane.io_mysqlserverconfigurations.yaml index 3a9ff9fa..03a07552 100644 --- a/package/crds/database.azure.crossplane.io_mysqlserverconfigurations.yaml +++ b/package/crds/database.azure.crossplane.io_mysqlserverconfigurations.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: mysqlserverconfigurations.database.azure.crossplane.io spec: @@ -34,37 +33,49 @@ spec: name: v1beta1 schema: openAPIV3Schema: - description: A MySQLServerConfiguration is a managed resource that represents an Azure MySQL Server Configuration. + description: A MySQLServerConfiguration is a managed resource that represents + an Azure MySQL Server Configuration. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object spec: - description: A SQLServerConfigurationSpec defines the desired state of a SQLServer Configuration. + description: A SQLServerConfigurationSpec defines the desired state of + a SQLServer Configuration. properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete type: string forProvider: - description: SQLServerConfigurationParameters define the desired state of an Azure SQL Database Server Configuration, either PostgreSQL or MySQL Configuration. + description: SQLServerConfigurationParameters define the desired state + of an Azure SQL Database Server Configuration, either PostgreSQL + or MySQL Configuration. properties: name: description: Name - Configuration name to be applied type: string resourceGroupName: - description: ResourceGroupName specifies the name of the resource group that should contain this SQLServer. + description: ResourceGroupName specifies the name of the resource + group that should contain this SQLServer. type: string resourceGroupNameRef: - description: ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve its name + description: ResourceGroupNameRef - A reference to a ResourceGroup + object to retrieve its name properties: name: description: Name of the referenced object. @@ -73,22 +84,27 @@ spec: - name type: object resourceGroupNameSelector: - description: ResourceGroupNameSelector - A selector for a ResourceGroup object to retrieve its name + description: ResourceGroupNameSelector - A selector for a ResourceGroup + object to retrieve its name properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object serverName: - description: ServerName specifies the name of the server that this configuration applies to. + description: ServerName specifies the name of the server that + this configuration applies to. type: string serverNameRef: - description: ServerNameRef - A reference to a server object to retrieve its name + description: ServerNameRef - A reference to a server object to + retrieve its name properties: name: description: Name of the referenced object. @@ -97,19 +113,23 @@ spec: - name type: object serverNameSelector: - description: ServerNameSelector - A selector for a server object to retrieve its name + description: ServerNameSelector - A selector for a server object + to retrieve its name properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object value: - description: Value - Configuration value to be applied Can be left unset to read the current value as a result of late-initialization. + description: Value - Configuration value to be applied Can be + left unset to read the current value as a result of late-initialization. type: string required: - name @@ -117,7 +137,9 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -126,7 +148,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -134,8 +158,64 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -151,10 +231,12 @@ spec: - forProvider type: object status: - description: A SQLServerConfigurationStatus represents the observed state of a SQLServerConfiguration. + description: A SQLServerConfigurationStatus represents the observed state + of a SQLServerConfiguration. properties: atProvider: - description: SQLServerConfigurationObservation represents the current state of Azure SQL resource. + description: SQLServerConfigurationObservation represents the current + state of Azure SQL resource. properties: dataType: description: DataType - Data type for the configuration @@ -169,16 +251,20 @@ spec: description: ID - Resource ID type: string lastOperation: - description: LastOperation represents the state of the last operation started by the controller. + description: LastOperation represents the state of the last operation + started by the controller. properties: errorMessage: - description: ErrorMessage represents the error that occurred during the operation. + description: ErrorMessage represents the error that occurred + during the operation. type: string method: - description: Method is HTTP method that the initial request is made with. + description: Method is HTTP method that the initial request + is made with. type: string pollingUrl: - description: PollingURL is used to fetch the status of the given operation. + description: PollingURL is used to fetch the status of the + given operation. type: string status: description: Status represents the status of the operation. @@ -203,20 +289,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/package/crds/database.azure.crossplane.io_mysqlserverfirewallrules.yaml b/package/crds/database.azure.crossplane.io_mysqlserverfirewallrules.yaml index 8d1977dd..326d5b60 100644 --- a/package/crds/database.azure.crossplane.io_mysqlserverfirewallrules.yaml +++ b/package/crds/database.azure.crossplane.io_mysqlserverfirewallrules.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: mysqlserverfirewallrules.database.azure.crossplane.io spec: @@ -34,47 +33,60 @@ spec: name: v1alpha3 schema: openAPIV3Schema: - description: A MySQLServerFirewallRule is a managed resource that represents an Azure MySQL firewall rule. + description: A MySQLServerFirewallRule is a managed resource that represents + an Azure MySQL firewall rule. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object spec: - description: A FirewallRuleSpec defines the desired state of an Azure SQL firewall rule. + description: A FirewallRuleSpec defines the desired state of an Azure + SQL firewall rule. properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete type: string forProvider: - description: FirewallRuleParameters define the desired state of an Azure SQL firewall rule. + description: FirewallRuleParameters define the desired state of an + Azure SQL firewall rule. properties: properties: description: FirewallRuleProperties - Resource properties. properties: endIpAddress: - description: EndIPAddress of the IP range this firewall rule allows. + description: EndIPAddress of the IP range this firewall rule + allows. type: string startIpAddress: - description: StartIPAddress of the IP range this firewall rule allows. + description: StartIPAddress of the IP range this firewall + rule allows. type: string required: - endIpAddress - startIpAddress type: object resourceGroupName: - description: ResourceGroupName - Name of the Firewall Rule's resource group. + description: ResourceGroupName - Name of the Firewall Rule's resource + group. type: string resourceGroupNameRef: - description: ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve its name + description: ResourceGroupNameRef - A reference to a ResourceGroup + object to retrieve its name properties: name: description: Name of the referenced object. @@ -83,22 +95,26 @@ spec: - name type: object resourceGroupNameSelector: - description: ResourceGroupNameSelector - Selects a ResourceGroup to reference. + description: ResourceGroupNameSelector - Selects a ResourceGroup + to reference. properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object serverName: description: ServerName - Name of the Firewall Rule's server. type: string serverNameRef: - description: ServerNameRef - A reference to the Firewall Rule's MySQLServer. + description: ServerNameRef - A reference to the Firewall Rule's + MySQLServer. properties: name: description: Name of the referenced object. @@ -110,12 +126,14 @@ spec: description: ServerNameSelector - Selects a MySQLServer to reference. properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object required: @@ -124,7 +142,9 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -133,7 +153,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -141,8 +163,64 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -158,10 +236,12 @@ spec: - forProvider type: object status: - description: A FirewallRuleStatus represents the status of an Azure SQL firewall rule. + description: A FirewallRuleStatus represents the status of an Azure SQL + firewall rule. properties: atProvider: - description: A FirewallRuleObservation represents the observed state of an Azure SQL firewall rule. + description: A FirewallRuleObservation represents the observed state + of an Azure SQL firewall rule. properties: id: description: ID - Resource ID @@ -176,20 +256,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/package/crds/database.azure.crossplane.io_mysqlservers.yaml b/package/crds/database.azure.crossplane.io_mysqlservers.yaml index 9809a654..bb4fe577 100644 --- a/package/crds/database.azure.crossplane.io_mysqlservers.yaml +++ b/package/crds/database.azure.crossplane.io_mysqlservers.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: mysqlservers.database.azure.crossplane.io spec: @@ -34,13 +33,18 @@ spec: name: v1beta1 schema: openAPIV3Schema: - description: A MySQLServer is a managed resource that represents an Azure MySQL Database Server. + description: A MySQLServer is a managed resource that represents an Azure + MySQL Database Server. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -49,19 +53,26 @@ spec: properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete type: string forProvider: - description: SQLServerParameters define the desired state of an Azure SQL Database, either PostgreSQL or MySQL. + description: SQLServerParameters define the desired state of an Azure + SQL Database, either PostgreSQL or MySQL. properties: administratorLogin: - description: AdministratorLogin - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + description: AdministratorLogin - The administrator's login name + of a server. Can only be specified when the server is being + created (and is required for creation). type: string createMode: - description: 'CreateMode - Possible values include: ''CreateModeDefault'', ''CreateModePointInTimeRestore'', ''CreateModeGeoRestore'', ''CreateModeReplica''' + description: 'CreateMode - Possible values include: ''CreateModeDefault'', + ''CreateModePointInTimeRestore'', ''CreateModeGeoRestore'', + ''CreateModeReplica''' enum: - Default - GeoRestore @@ -75,16 +86,20 @@ spec: description: MinimalTLSVersion - control TLS connection policy type: string publicNetworkAccess: - description: PublicNetworkAccess - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. + description: PublicNetworkAccess - Whether or not public network + access is allowed for this server. Value is optional but if + passed in, must be 'Enabled' or 'Disabled'. enum: - Enabled - Disabled type: string resourceGroupName: - description: ResourceGroupName specifies the name of the resource group that should contain this SQLServer. + description: ResourceGroupName specifies the name of the resource + group that should contain this SQLServer. type: string resourceGroupNameRef: - description: ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve its name + description: ResourceGroupNameRef - A reference to a ResourceGroup + object to retrieve its name properties: name: description: Name of the referenced object. @@ -93,35 +108,43 @@ spec: - name type: object resourceGroupNameSelector: - description: ResourceGroupNameSelector - A selector for a ResourceGroup object to retrieve its name + description: ResourceGroupNameSelector - A selector for a ResourceGroup + object to retrieve its name properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object restorePointInTime: - description: RestorePointInTime - Restore point creation time (RFC3339 format), specifying the time to restore from. + description: RestorePointInTime - Restore point creation time + (RFC3339 format), specifying the time to restore from. format: date-time type: string sku: - description: SKU is the billing information related properties of the server. + description: SKU is the billing information related properties + of the server. properties: capacity: - description: Capacity - The scale up/out capacity, representing server's compute units. + description: Capacity - The scale up/out capacity, representing + server's compute units. type: integer family: description: Family - The family of hardware. type: string size: - description: Size - The size code, to be interpreted by resource as appropriate. + description: Size - The size code, to be interpreted by resource + as appropriate. type: string tier: - description: 'Tier - The tier of the particular SKU. Possible values include: ''Basic'', ''GeneralPurpose'', ''MemoryOptimized''' + description: 'Tier - The tier of the particular SKU. Possible + values include: ''Basic'', ''GeneralPurpose'', ''MemoryOptimized''' enum: - Basic - GeneralPurpose @@ -133,10 +156,12 @@ spec: - tier type: object sourceServerID: - description: SourceServerID - The server to restore from when restoring or creating replicas + description: SourceServerID - The server to restore from when + restoring or creating replicas type: string sslEnforcement: - description: 'SSLEnforcement - Enable ssl enforcement or not when connect to server. Possible values include: ''Enabled'', ''Disabled''' + description: 'SSLEnforcement - Enable ssl enforcement or not when + connect to server. Possible values include: ''Enabled'', ''Disabled''' enum: - Enabled - Disabled @@ -145,16 +170,20 @@ spec: description: StorageProfile - Storage profile of a server. properties: backupRetentionDays: - description: BackupRetentionDays - Backup retention days for the server. + description: BackupRetentionDays - Backup retention days for + the server. type: integer geoRedundantBackup: - description: 'GeoRedundantBackup - Enable Geo-redundant or not for server backup. Possible values include: ''Enabled'', ''Disabled''' + description: 'GeoRedundantBackup - Enable Geo-redundant or + not for server backup. Possible values include: ''Enabled'', + ''Disabled''' enum: - Enabled - Disabled type: string storageAutogrow: - description: 'StorageAutogrow - Enable Storage Auto Grow. Possible values include: ''Enabled'', ''Disabled''' + description: 'StorageAutogrow - Enable Storage Auto Grow. + Possible values include: ''Enabled'', ''Disabled''' enum: - Enabled - Disabled @@ -168,7 +197,8 @@ spec: tags: additionalProperties: type: string - description: Tags - Application-specific metadata in the form of key-value pairs. + description: Tags - Application-specific metadata in the form + of key-value pairs. type: object version: description: Version - Server version. @@ -184,7 +214,9 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -193,7 +225,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -201,8 +235,64 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -221,32 +311,39 @@ spec: description: A SQLServerStatus represents the observed state of a SQLServer. properties: atProvider: - description: SQLServerObservation represents the current state of Azure SQL resource. + description: SQLServerObservation represents the current state of + Azure SQL resource. properties: fullyQualifiedDomainName: - description: FullyQualifiedDomainName - The fully qualified domain name of a server. + description: FullyQualifiedDomainName - The fully qualified domain + name of a server. type: string id: description: ID - Resource ID type: string lastOperation: - description: LastOperation represents the state of the last operation started by the controller. + description: LastOperation represents the state of the last operation + started by the controller. properties: errorMessage: - description: ErrorMessage represents the error that occurred during the operation. + description: ErrorMessage represents the error that occurred + during the operation. type: string method: - description: Method is HTTP method that the initial request is made with. + description: Method is HTTP method that the initial request + is made with. type: string pollingUrl: - description: PollingURL is used to fetch the status of the given operation. + description: PollingURL is used to fetch the status of the + given operation. type: string status: description: Status represents the status of the operation. type: string type: object masterServerId: - description: MasterServerID - The master server id of a replica server. + description: MasterServerID - The master server id of a replica + server. type: string name: description: Name - Resource name. @@ -255,7 +352,8 @@ spec: description: Type - Resource type. type: string userVisibleState: - description: UserVisibleState - A state of a server that is visible to user. + description: UserVisibleState - A state of a server that is visible + to user. type: string type: object conditions: @@ -264,20 +362,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/package/crds/database.azure.crossplane.io_mysqlservervirtualnetworkrules.yaml b/package/crds/database.azure.crossplane.io_mysqlservervirtualnetworkrules.yaml index 769ce2ad..b379305e 100644 --- a/package/crds/database.azure.crossplane.io_mysqlservervirtualnetworkrules.yaml +++ b/package/crds/database.azure.crossplane.io_mysqlservervirtualnetworkrules.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: mysqlservervirtualnetworkrules.database.azure.crossplane.io spec: @@ -34,22 +33,30 @@ spec: name: v1alpha3 schema: openAPIV3Schema: - description: A MySQLServerVirtualNetworkRule is a managed resource that represents an Azure MySQL Database virtual network rule. + description: A MySQLServerVirtualNetworkRule is a managed resource that represents + an Azure MySQL Database virtual network rule. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object spec: - description: A MySQLVirtualNetworkRuleSpec defines the desired state of a MySQLVirtualNetworkRule. + description: A MySQLVirtualNetworkRuleSpec defines the desired state of + a MySQLVirtualNetworkRule. properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete @@ -58,13 +65,16 @@ spec: description: VirtualNetworkRuleProperties - Resource properties. properties: ignoreMissingVnetServiceEndpoint: - description: IgnoreMissingVnetServiceEndpoint - Create firewall rule before the virtual network has vnet service endpoint enabled. + description: IgnoreMissingVnetServiceEndpoint - Create firewall + rule before the virtual network has vnet service endpoint enabled. type: boolean virtualNetworkSubnetId: - description: VirtualNetworkSubnetID - The ARM resource id of the virtual network subnet. + description: VirtualNetworkSubnetID - The ARM resource id of the + virtual network subnet. type: string virtualNetworkSubnetIdRef: - description: VirtualNetworkSubnetIDRef - A reference to a Subnet to retrieve its ID + description: VirtualNetworkSubnetIDRef - A reference to a Subnet + to retrieve its ID properties: name: description: Name of the referenced object. @@ -73,22 +83,27 @@ spec: - name type: object virtualNetworkSubnetIdSelector: - description: VirtualNetworkSubnetIDRef - A selector for a Subnet to retrieve its ID + description: VirtualNetworkSubnetIDRef - A selector for a Subnet + to retrieve its ID properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object type: object providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -97,7 +112,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -105,11 +122,62 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object resourceGroupName: - description: ResourceGroupName - Name of the Virtual Network Rule's resource group. + description: ResourceGroupName - Name of the Virtual Network Rule's + resource group. type: string resourceGroupNameRef: - description: ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve its name + description: ResourceGroupNameRef - A reference to a ResourceGroup + object to retrieve its name properties: name: description: Name of the referenced object. @@ -118,22 +186,26 @@ spec: - name type: object resourceGroupNameSelector: - description: ResourceGroupNameSelector - Selects a ResourceGroup to reference. + description: ResourceGroupNameSelector - Selects a ResourceGroup to + reference. properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the same + controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object serverName: description: ServerName - Name of the Virtual Network Rule's server. type: string serverNameRef: - description: ServerNameRef - A reference to the Virtual Network Rule's MySQLServer. + description: ServerNameRef - A reference to the Virtual Network Rule's + MySQLServer. properties: name: description: Name of the referenced object. @@ -145,16 +217,25 @@ spec: description: ServerNameSelector - Selects a MySQLServer to reference. properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the same + controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -170,7 +251,8 @@ spec: - properties type: object status: - description: A VirtualNetworkRuleStatus represents the observed state of a VirtualNetworkRule. + description: A VirtualNetworkRuleStatus represents the observed state + of a VirtualNetworkRule. properties: conditions: description: Conditions of the resource. @@ -178,20 +260,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime @@ -204,7 +291,8 @@ spec: description: ID - Resource ID type: string message: - description: A Message containing details about the state of this virtual network rule, if any. + description: A Message containing details about the state of this + virtual network rule, if any. type: string state: description: State of this virtual network rule. diff --git a/package/crds/database.azure.crossplane.io_postgresqlserverconfigurations.yaml b/package/crds/database.azure.crossplane.io_postgresqlserverconfigurations.yaml index 8ed6b3c7..0c034cda 100644 --- a/package/crds/database.azure.crossplane.io_postgresqlserverconfigurations.yaml +++ b/package/crds/database.azure.crossplane.io_postgresqlserverconfigurations.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: postgresqlserverconfigurations.database.azure.crossplane.io spec: @@ -34,37 +33,49 @@ spec: name: v1beta1 schema: openAPIV3Schema: - description: A PostgreSQLServerConfiguration is a managed resource that represents an Azure PostgreSQL Server Configuration. + description: A PostgreSQLServerConfiguration is a managed resource that represents + an Azure PostgreSQL Server Configuration. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object spec: - description: A SQLServerConfigurationSpec defines the desired state of a SQLServer Configuration. + description: A SQLServerConfigurationSpec defines the desired state of + a SQLServer Configuration. properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete type: string forProvider: - description: SQLServerConfigurationParameters define the desired state of an Azure SQL Database Server Configuration, either PostgreSQL or MySQL Configuration. + description: SQLServerConfigurationParameters define the desired state + of an Azure SQL Database Server Configuration, either PostgreSQL + or MySQL Configuration. properties: name: description: Name - Configuration name to be applied type: string resourceGroupName: - description: ResourceGroupName specifies the name of the resource group that should contain this SQLServer. + description: ResourceGroupName specifies the name of the resource + group that should contain this SQLServer. type: string resourceGroupNameRef: - description: ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve its name + description: ResourceGroupNameRef - A reference to a ResourceGroup + object to retrieve its name properties: name: description: Name of the referenced object. @@ -73,22 +84,27 @@ spec: - name type: object resourceGroupNameSelector: - description: ResourceGroupNameSelector - A selector for a ResourceGroup object to retrieve its name + description: ResourceGroupNameSelector - A selector for a ResourceGroup + object to retrieve its name properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object serverName: - description: ServerName specifies the name of the server that this configuration applies to. + description: ServerName specifies the name of the server that + this configuration applies to. type: string serverNameRef: - description: ServerNameRef - A reference to a server object to retrieve its name + description: ServerNameRef - A reference to a server object to + retrieve its name properties: name: description: Name of the referenced object. @@ -97,19 +113,23 @@ spec: - name type: object serverNameSelector: - description: ServerNameSelector - A selector for a server object to retrieve its name + description: ServerNameSelector - A selector for a server object + to retrieve its name properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object value: - description: Value - Configuration value to be applied Can be left unset to read the current value as a result of late-initialization. + description: Value - Configuration value to be applied Can be + left unset to read the current value as a result of late-initialization. type: string required: - name @@ -117,7 +137,9 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -126,7 +148,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -134,8 +158,64 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -151,10 +231,12 @@ spec: - forProvider type: object status: - description: A SQLServerConfigurationStatus represents the observed state of a SQLServerConfiguration. + description: A SQLServerConfigurationStatus represents the observed state + of a SQLServerConfiguration. properties: atProvider: - description: SQLServerConfigurationObservation represents the current state of Azure SQL resource. + description: SQLServerConfigurationObservation represents the current + state of Azure SQL resource. properties: dataType: description: DataType - Data type for the configuration @@ -169,16 +251,20 @@ spec: description: ID - Resource ID type: string lastOperation: - description: LastOperation represents the state of the last operation started by the controller. + description: LastOperation represents the state of the last operation + started by the controller. properties: errorMessage: - description: ErrorMessage represents the error that occurred during the operation. + description: ErrorMessage represents the error that occurred + during the operation. type: string method: - description: Method is HTTP method that the initial request is made with. + description: Method is HTTP method that the initial request + is made with. type: string pollingUrl: - description: PollingURL is used to fetch the status of the given operation. + description: PollingURL is used to fetch the status of the + given operation. type: string status: description: Status represents the status of the operation. @@ -203,20 +289,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/package/crds/database.azure.crossplane.io_postgresqlserverfirewallrules.yaml b/package/crds/database.azure.crossplane.io_postgresqlserverfirewallrules.yaml index 6ee002b1..f554534f 100644 --- a/package/crds/database.azure.crossplane.io_postgresqlserverfirewallrules.yaml +++ b/package/crds/database.azure.crossplane.io_postgresqlserverfirewallrules.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: postgresqlserverfirewallrules.database.azure.crossplane.io spec: @@ -34,47 +33,60 @@ spec: name: v1alpha3 schema: openAPIV3Schema: - description: A PostgreSQLServerFirewallRule is a managed resource that represents an Azure PostgreSQL firewall rule. + description: A PostgreSQLServerFirewallRule is a managed resource that represents + an Azure PostgreSQL firewall rule. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object spec: - description: A FirewallRuleSpec defines the desired state of an Azure SQL firewall rule. + description: A FirewallRuleSpec defines the desired state of an Azure + SQL firewall rule. properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete type: string forProvider: - description: FirewallRuleParameters define the desired state of an Azure SQL firewall rule. + description: FirewallRuleParameters define the desired state of an + Azure SQL firewall rule. properties: properties: description: FirewallRuleProperties - Resource properties. properties: endIpAddress: - description: EndIPAddress of the IP range this firewall rule allows. + description: EndIPAddress of the IP range this firewall rule + allows. type: string startIpAddress: - description: StartIPAddress of the IP range this firewall rule allows. + description: StartIPAddress of the IP range this firewall + rule allows. type: string required: - endIpAddress - startIpAddress type: object resourceGroupName: - description: ResourceGroupName - Name of the Firewall Rule's resource group. + description: ResourceGroupName - Name of the Firewall Rule's resource + group. type: string resourceGroupNameRef: - description: ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve its name + description: ResourceGroupNameRef - A reference to a ResourceGroup + object to retrieve its name properties: name: description: Name of the referenced object. @@ -83,22 +95,26 @@ spec: - name type: object resourceGroupNameSelector: - description: ResourceGroupNameSelector - Selects a ResourceGroup to reference. + description: ResourceGroupNameSelector - Selects a ResourceGroup + to reference. properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object serverName: description: ServerName - Name of the Firewall Rule's server. type: string serverNameRef: - description: ServerNameRef - A reference to the Firewall Rule's MySQLServer. + description: ServerNameRef - A reference to the Firewall Rule's + MySQLServer. properties: name: description: Name of the referenced object. @@ -110,12 +126,14 @@ spec: description: ServerNameSelector - Selects a MySQLServer to reference. properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object required: @@ -124,7 +142,9 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -133,7 +153,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -141,8 +163,64 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -158,10 +236,12 @@ spec: - forProvider type: object status: - description: A FirewallRuleStatus represents the status of an Azure SQL firewall rule. + description: A FirewallRuleStatus represents the status of an Azure SQL + firewall rule. properties: atProvider: - description: A FirewallRuleObservation represents the observed state of an Azure SQL firewall rule. + description: A FirewallRuleObservation represents the observed state + of an Azure SQL firewall rule. properties: id: description: ID - Resource ID @@ -176,20 +256,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/package/crds/database.azure.crossplane.io_postgresqlservers.yaml b/package/crds/database.azure.crossplane.io_postgresqlservers.yaml index dae19e73..301d5739 100644 --- a/package/crds/database.azure.crossplane.io_postgresqlservers.yaml +++ b/package/crds/database.azure.crossplane.io_postgresqlservers.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: postgresqlservers.database.azure.crossplane.io spec: @@ -34,13 +33,18 @@ spec: name: v1beta1 schema: openAPIV3Schema: - description: A PostgreSQLServer is a managed resource that represents an Azure PostgreSQL Database Server. + description: A PostgreSQLServer is a managed resource that represents an Azure + PostgreSQL Database Server. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -49,19 +53,26 @@ spec: properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete type: string forProvider: - description: SQLServerParameters define the desired state of an Azure SQL Database, either PostgreSQL or MySQL. + description: SQLServerParameters define the desired state of an Azure + SQL Database, either PostgreSQL or MySQL. properties: administratorLogin: - description: AdministratorLogin - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + description: AdministratorLogin - The administrator's login name + of a server. Can only be specified when the server is being + created (and is required for creation). type: string createMode: - description: 'CreateMode - Possible values include: ''CreateModeDefault'', ''CreateModePointInTimeRestore'', ''CreateModeGeoRestore'', ''CreateModeReplica''' + description: 'CreateMode - Possible values include: ''CreateModeDefault'', + ''CreateModePointInTimeRestore'', ''CreateModeGeoRestore'', + ''CreateModeReplica''' enum: - Default - GeoRestore @@ -75,16 +86,20 @@ spec: description: MinimalTLSVersion - control TLS connection policy type: string publicNetworkAccess: - description: PublicNetworkAccess - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. + description: PublicNetworkAccess - Whether or not public network + access is allowed for this server. Value is optional but if + passed in, must be 'Enabled' or 'Disabled'. enum: - Enabled - Disabled type: string resourceGroupName: - description: ResourceGroupName specifies the name of the resource group that should contain this SQLServer. + description: ResourceGroupName specifies the name of the resource + group that should contain this SQLServer. type: string resourceGroupNameRef: - description: ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve its name + description: ResourceGroupNameRef - A reference to a ResourceGroup + object to retrieve its name properties: name: description: Name of the referenced object. @@ -93,35 +108,43 @@ spec: - name type: object resourceGroupNameSelector: - description: ResourceGroupNameSelector - A selector for a ResourceGroup object to retrieve its name + description: ResourceGroupNameSelector - A selector for a ResourceGroup + object to retrieve its name properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object restorePointInTime: - description: RestorePointInTime - Restore point creation time (RFC3339 format), specifying the time to restore from. + description: RestorePointInTime - Restore point creation time + (RFC3339 format), specifying the time to restore from. format: date-time type: string sku: - description: SKU is the billing information related properties of the server. + description: SKU is the billing information related properties + of the server. properties: capacity: - description: Capacity - The scale up/out capacity, representing server's compute units. + description: Capacity - The scale up/out capacity, representing + server's compute units. type: integer family: description: Family - The family of hardware. type: string size: - description: Size - The size code, to be interpreted by resource as appropriate. + description: Size - The size code, to be interpreted by resource + as appropriate. type: string tier: - description: 'Tier - The tier of the particular SKU. Possible values include: ''Basic'', ''GeneralPurpose'', ''MemoryOptimized''' + description: 'Tier - The tier of the particular SKU. Possible + values include: ''Basic'', ''GeneralPurpose'', ''MemoryOptimized''' enum: - Basic - GeneralPurpose @@ -133,10 +156,12 @@ spec: - tier type: object sourceServerID: - description: SourceServerID - The server to restore from when restoring or creating replicas + description: SourceServerID - The server to restore from when + restoring or creating replicas type: string sslEnforcement: - description: 'SSLEnforcement - Enable ssl enforcement or not when connect to server. Possible values include: ''Enabled'', ''Disabled''' + description: 'SSLEnforcement - Enable ssl enforcement or not when + connect to server. Possible values include: ''Enabled'', ''Disabled''' enum: - Enabled - Disabled @@ -145,16 +170,20 @@ spec: description: StorageProfile - Storage profile of a server. properties: backupRetentionDays: - description: BackupRetentionDays - Backup retention days for the server. + description: BackupRetentionDays - Backup retention days for + the server. type: integer geoRedundantBackup: - description: 'GeoRedundantBackup - Enable Geo-redundant or not for server backup. Possible values include: ''Enabled'', ''Disabled''' + description: 'GeoRedundantBackup - Enable Geo-redundant or + not for server backup. Possible values include: ''Enabled'', + ''Disabled''' enum: - Enabled - Disabled type: string storageAutogrow: - description: 'StorageAutogrow - Enable Storage Auto Grow. Possible values include: ''Enabled'', ''Disabled''' + description: 'StorageAutogrow - Enable Storage Auto Grow. + Possible values include: ''Enabled'', ''Disabled''' enum: - Enabled - Disabled @@ -168,7 +197,8 @@ spec: tags: additionalProperties: type: string - description: Tags - Application-specific metadata in the form of key-value pairs. + description: Tags - Application-specific metadata in the form + of key-value pairs. type: object version: description: Version - Server version. @@ -184,7 +214,9 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -193,7 +225,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -201,8 +235,64 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -221,32 +311,39 @@ spec: description: A SQLServerStatus represents the observed state of a SQLServer. properties: atProvider: - description: SQLServerObservation represents the current state of Azure SQL resource. + description: SQLServerObservation represents the current state of + Azure SQL resource. properties: fullyQualifiedDomainName: - description: FullyQualifiedDomainName - The fully qualified domain name of a server. + description: FullyQualifiedDomainName - The fully qualified domain + name of a server. type: string id: description: ID - Resource ID type: string lastOperation: - description: LastOperation represents the state of the last operation started by the controller. + description: LastOperation represents the state of the last operation + started by the controller. properties: errorMessage: - description: ErrorMessage represents the error that occurred during the operation. + description: ErrorMessage represents the error that occurred + during the operation. type: string method: - description: Method is HTTP method that the initial request is made with. + description: Method is HTTP method that the initial request + is made with. type: string pollingUrl: - description: PollingURL is used to fetch the status of the given operation. + description: PollingURL is used to fetch the status of the + given operation. type: string status: description: Status represents the status of the operation. type: string type: object masterServerId: - description: MasterServerID - The master server id of a replica server. + description: MasterServerID - The master server id of a replica + server. type: string name: description: Name - Resource name. @@ -255,7 +352,8 @@ spec: description: Type - Resource type. type: string userVisibleState: - description: UserVisibleState - A state of a server that is visible to user. + description: UserVisibleState - A state of a server that is visible + to user. type: string type: object conditions: @@ -264,20 +362,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/package/crds/database.azure.crossplane.io_postgresqlservervirtualnetworkrules.yaml b/package/crds/database.azure.crossplane.io_postgresqlservervirtualnetworkrules.yaml index ff9537f7..439d6f28 100644 --- a/package/crds/database.azure.crossplane.io_postgresqlservervirtualnetworkrules.yaml +++ b/package/crds/database.azure.crossplane.io_postgresqlservervirtualnetworkrules.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: postgresqlservervirtualnetworkrules.database.azure.crossplane.io spec: @@ -34,22 +33,30 @@ spec: name: v1alpha3 schema: openAPIV3Schema: - description: A PostgreSQLServerVirtualNetworkRule is a managed resource that represents an Azure PostgreSQL Database virtual network rule. + description: A PostgreSQLServerVirtualNetworkRule is a managed resource that + represents an Azure PostgreSQL Database virtual network rule. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object spec: - description: A PostgreSQLVirtualNetworkRuleSpec defines the desired state of a PostgreSQLVirtualNetworkRule. + description: A PostgreSQLVirtualNetworkRuleSpec defines the desired state + of a PostgreSQLVirtualNetworkRule. properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete @@ -58,13 +65,16 @@ spec: description: VirtualNetworkRuleProperties - Resource properties. properties: ignoreMissingVnetServiceEndpoint: - description: IgnoreMissingVnetServiceEndpoint - Create firewall rule before the virtual network has vnet service endpoint enabled. + description: IgnoreMissingVnetServiceEndpoint - Create firewall + rule before the virtual network has vnet service endpoint enabled. type: boolean virtualNetworkSubnetId: - description: VirtualNetworkSubnetID - The ARM resource id of the virtual network subnet. + description: VirtualNetworkSubnetID - The ARM resource id of the + virtual network subnet. type: string virtualNetworkSubnetIdRef: - description: VirtualNetworkSubnetIDRef - A reference to a Subnet to retrieve its ID + description: VirtualNetworkSubnetIDRef - A reference to a Subnet + to retrieve its ID properties: name: description: Name of the referenced object. @@ -73,22 +83,27 @@ spec: - name type: object virtualNetworkSubnetIdSelector: - description: VirtualNetworkSubnetIDRef - A selector for a Subnet to retrieve its ID + description: VirtualNetworkSubnetIDRef - A selector for a Subnet + to retrieve its ID properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object type: object providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -97,7 +112,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -105,11 +122,62 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object resourceGroupName: - description: ResourceGroupName - Name of the Virtual Network Rule's resource group. + description: ResourceGroupName - Name of the Virtual Network Rule's + resource group. type: string resourceGroupNameRef: - description: ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve its name + description: ResourceGroupNameRef - A reference to a ResourceGroup + object to retrieve its name properties: name: description: Name of the referenced object. @@ -118,22 +186,26 @@ spec: - name type: object resourceGroupNameSelector: - description: ResourceGroupNameSelector - A selector for a ResourceGroup object to retrieve its name + description: ResourceGroupNameSelector - A selector for a ResourceGroup + object to retrieve its name properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the same + controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object serverName: description: ServerName - Name of the Virtual Network Rule's PostgreSQLServer. type: string serverNameRef: - description: ServerNameRef - A reference to the Virtual Network Rule's PostgreSQLServer. + description: ServerNameRef - A reference to the Virtual Network Rule's + PostgreSQLServer. properties: name: description: Name of the referenced object. @@ -142,19 +214,29 @@ spec: - name type: object serverNameSelector: - description: ServerNameSelector - A selector of the Virtual Network Rule's PostgreSQLServer. + description: ServerNameSelector - A selector of the Virtual Network + Rule's PostgreSQLServer. properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the same + controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -170,7 +252,8 @@ spec: - properties type: object status: - description: A VirtualNetworkRuleStatus represents the observed state of a VirtualNetworkRule. + description: A VirtualNetworkRuleStatus represents the observed state + of a VirtualNetworkRule. properties: conditions: description: Conditions of the resource. @@ -178,20 +261,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime @@ -204,7 +292,8 @@ spec: description: ID - Resource ID type: string message: - description: A Message containing details about the state of this virtual network rule, if any. + description: A Message containing details about the state of this + virtual network rule, if any. type: string state: description: State of this virtual network rule. diff --git a/package/crds/dns.azure.crossplane.io_recordsets.yaml b/package/crds/dns.azure.crossplane.io_recordsets.yaml index 677f5907..74a33f7e 100644 --- a/package/crds/dns.azure.crossplane.io_recordsets.yaml +++ b/package/crds/dns.azure.crossplane.io_recordsets.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: recordsets.dns.azure.crossplane.io spec: @@ -34,13 +33,18 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: A RecordSet is a managed resource that represents an Azure DNS RecordSet + description: A RecordSet is a managed resource that represents an Azure DNS + RecordSet properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -49,13 +53,16 @@ spec: properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete type: string forProvider: - description: RecordSetParameters define the desired state of an Azure DNS RecordSet. + description: RecordSetParameters define the desired state of an Azure + DNS RecordSet. properties: aRecords: description: ARecords - The list of A records in the record set. @@ -68,22 +75,26 @@ spec: type: object type: array aaaaRecords: - description: AAAARecords - The list of AAAA records in the record set. + description: AAAARecords - The list of AAAA records in the record + set. items: description: AAAARecord an AAAA record. properties: ipV6Address: - description: IPV6Address - The IPv6 address of this AAAA record. + description: IPV6Address - The IPv6 address of this AAAA + record. type: string type: object type: array caaRecords: - description: CAARecords - The list of CAA records in the record set. + description: CAARecords - The list of CAA records in the record + set. items: description: CAARecord a CAA record. properties: flags: - description: Flags - The flags for this CAA record as an integer between 0 and 255. + description: Flags - The flags for this CAA record as an + integer between 0 and 255. type: integer tag: description: Tag - The tag for this CAA record. @@ -106,35 +117,42 @@ spec: description: Metadata - The metadata attached to the record set type: object mxRecords: - description: MXRecords - The list of MX records in the record set. + description: MXRecords - The list of MX records in the record + set. items: description: MXRecord an MX record. properties: exchange: - description: Exchange - The domain name of the mail host for this MX record. + description: Exchange - The domain name of the mail host + for this MX record. type: string preference: - description: Preference - The preference value for this MX record. + description: Preference - The preference value for this + MX record. type: integer type: object type: array nsRecords: - description: NSRecords - The list of NS records in the record set. + description: NSRecords - The list of NS records in the record + set. items: description: NSRecord an NS record. properties: nsDName: - description: NSDName - The name server name for this NS record. + description: NSDName - The name server name for this NS + record. type: string type: object type: array ptrRecords: - description: PTRRecords - The list of PTR records in the record set. + description: PTRRecords - The list of PTR records in the record + set. items: description: PTRRecord a PTR record. properties: ptrDName: - description: PTRDName - The PTR target domain name for this PTR record. + description: PTRDName - The PTR target domain name for this + PTR record. type: string type: object type: array @@ -142,10 +160,12 @@ spec: description: RecordType enumerates the values for record type. type: string resourceGroupName: - description: ResourceGroupName specifies the name of the resource group that should contain this DNS Zone. + description: ResourceGroupName specifies the name of the resource + group that should contain this DNS Zone. type: string resourceGroupNameRef: - description: ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve its name + description: ResourceGroupNameRef - A reference to a ResourceGroup + object to retrieve its name properties: name: description: Name of the referenced object. @@ -154,15 +174,18 @@ spec: - name type: object resourceGroupNameSelector: - description: ResourceGroupNameSelector - A selector for a ResourceGroup object to retrieve its name + description: ResourceGroupNameSelector - A selector for a ResourceGroup + object to retrieve its name properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object soaRecord: @@ -175,23 +198,29 @@ spec: description: ExpireTime - The expire time for this SOA record. type: integer host: - description: Host - The domain name of the authoritative name server for this SOA record. + description: Host - The domain name of the authoritative name + server for this SOA record. type: string minimumTTL: - description: MinimumTTL - The minimum value for this SOA record. By convention this is used to determine the negative caching duration. + description: MinimumTTL - The minimum value for this SOA record. + By convention this is used to determine the negative caching + duration. type: integer refreshTime: - description: RefreshTime - The refresh value for this SOA record. + description: RefreshTime - The refresh value for this SOA + record. type: integer retryTime: description: RetryTime - The retry time for this SOA record. type: integer serialNumber: - description: SerialNumber - The serial number for this SOA record. + description: SerialNumber - The serial number for this SOA + record. type: integer type: object srvRecords: - description: SRVRecords - The list of SRV records in the record set. + description: SRVRecords - The list of SRV records in the record + set. items: description: SRVRecord an SRV record. properties: @@ -199,10 +228,12 @@ spec: description: Port - The port value for this SRV record. type: integer priority: - description: Priority - The priority value for this SRV record. + description: Priority - The priority value for this SRV + record. type: integer target: - description: Target - The target domain name for this SRV record. + description: Target - The target domain name for this SRV + record. type: string weight: description: Weight - The weight value for this SRV record. @@ -210,17 +241,20 @@ spec: type: object type: array targetResource: - description: TargetResource - A reference to an azure resource from where the dns resource value is taken. + description: TargetResource - A reference to an azure resource + from where the dns resource value is taken. properties: id: description: ID - Resource id. type: string type: object ttl: - description: TTL - The TTL (time-to-live) of the records in the record set. + description: TTL - The TTL (time-to-live) of the records in the + record set. type: integer txtRecords: - description: TXTRecords - The list of TXT records in the record set. + description: TXTRecords - The list of TXT records in the record + set. items: description: TXTRecord a TXT record. properties: @@ -232,10 +266,12 @@ spec: type: object type: array zoneName: - description: ZoneName specifies the name of the Zone that should contain this DNS RecordSet. + description: ZoneName specifies the name of the Zone that should + contain this DNS RecordSet. type: string zoneNameRef: - description: ZoneNameRef - A reference to a Zone object to retrieve its name + description: ZoneNameRef - A reference to a Zone object to retrieve + its name properties: name: description: Name of the referenced object. @@ -244,15 +280,18 @@ spec: - name type: object zoneNameSelector: - description: ZoneNameSelector - A selector for a Zone object to retrieve its name + description: ZoneNameSelector - A selector for a Zone object to + retrieve its name properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object required: @@ -262,7 +301,9 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -271,7 +312,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -279,8 +322,64 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -299,13 +398,15 @@ spec: description: A RecordSetStatus represents the observed state of a RecordSet. properties: atProvider: - description: RecordSetObservation define the actual state of an Azure DNS RecordSet. + description: RecordSetObservation define the actual state of an Azure + DNS RecordSet. properties: etag: description: Etag - The etag of the zone. type: string fqdn: - description: FQDN - Fully qualified domain name of the record set. + description: FQDN - Fully qualified domain name of the record + set. type: string id: description: ID - Resource ID @@ -314,7 +415,8 @@ spec: description: Name - The name of the zone. type: string provisioningState: - description: ProvisioningState -provisioning State of the record set. + description: ProvisioningState -provisioning State of the record + set. type: string type: description: Type - Resource type. @@ -326,20 +428,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/package/crds/dns.azure.crossplane.io_zones.yaml b/package/crds/dns.azure.crossplane.io_zones.yaml index 576b1ad3..e5820653 100644 --- a/package/crds/dns.azure.crossplane.io_zones.yaml +++ b/package/crds/dns.azure.crossplane.io_zones.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: zones.dns.azure.crossplane.io spec: @@ -37,10 +36,14 @@ spec: description: A Zone is a managed resource that represents an Azure DNS Zone properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -49,19 +52,25 @@ spec: properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete type: string forProvider: - description: ZoneParameters define the desired state of an Azure DNS Zone. + description: ZoneParameters define the desired state of an Azure DNS + Zone. properties: location: - description: Location is the Azure location that the DNS Zone will be created in + description: Location is the Azure location that the DNS Zone + will be created in type: string registrationVirtualNetworks: - description: RegistrationVirtualNetworks - A list of references to virtual networks that register hostnames in this DNS zone. This is an only when ZoneType is Private. + description: RegistrationVirtualNetworks - A list of references + to virtual networks that register hostnames in this DNS zone. + This is an only when ZoneType is Private. items: description: SubResource a reference to another resource properties: @@ -71,7 +80,9 @@ spec: type: object type: array resolutionVirtualNetworks: - description: ResolutionVirtualNetworks - A list of references to virtual networks that resolve records in this DNS zone. This is an only when ZoneType is Private. + description: ResolutionVirtualNetworks - A list of references + to virtual networks that resolve records in this DNS zone. This + is an only when ZoneType is Private. items: description: SubResource a reference to another resource properties: @@ -81,10 +92,12 @@ spec: type: object type: array resourceGroupName: - description: ResourceGroupName specifies the name of the resource group that should contain this DNS Zone. + description: ResourceGroupName specifies the name of the resource + group that should contain this DNS Zone. type: string resourceGroupNameRef: - description: ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve its name + description: ResourceGroupNameRef - A reference to a ResourceGroup + object to retrieve its name properties: name: description: Name of the referenced object. @@ -93,15 +106,18 @@ spec: - name type: object resourceGroupNameSelector: - description: ResourceGroupNameSelector - A selector for a ResourceGroup object to retrieve its name + description: ResourceGroupNameSelector - A selector for a ResourceGroup + object to retrieve its name properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object tags: @@ -111,7 +127,8 @@ spec: type: object zoneType: default: Public - description: 'ZoneType - Type of DNS zone to create. Allowed values: Private, Public Default: Public' + description: 'ZoneType - Type of DNS zone to create. Allowed values: + Private, Public Default: Public' enum: - Public - Private @@ -122,7 +139,9 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -131,7 +150,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -139,8 +160,64 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -159,7 +236,8 @@ spec: description: A ZoneStatus represents the observed state of a Zone. properties: atProvider: - description: ZoneObservation define the actual state of an Azure DNS Zone. + description: ZoneObservation define the actual state of an Azure DNS + Zone. properties: etag: description: Etag - The etag of the zone. @@ -168,18 +246,24 @@ spec: description: ID - Resource ID type: string maxNumberOfRecordSets: - description: MaxNumberOfRecordSets - The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. + description: MaxNumberOfRecordSets - The maximum number of record + sets that can be created in this DNS zone. This is a read-only + property and any attempt to set this value will be ignored. type: integer name: description: Name - The name of the zone. type: string nameServers: - description: NameServers - The name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored. + description: NameServers - The name servers for this DNS zone. + This is a read-only property and any attempt to set this value + will be ignored. items: type: string type: array numberOfRecordSets: - description: NumberOfRecordSets - The current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. + description: NumberOfRecordSets - The current number of record + sets in this DNS zone. This is a read-only property and any + attempt to set this value will be ignored. type: integer type: description: Type - Resource type. @@ -191,20 +275,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/package/crds/keyvault.azure.crossplane.io_keyvaultsecrets.yaml b/package/crds/keyvault.azure.crossplane.io_keyvaultsecrets.yaml index 0a257d73..c8d690d9 100644 --- a/package/crds/keyvault.azure.crossplane.io_keyvaultsecrets.yaml +++ b/package/crds/keyvault.azure.crossplane.io_keyvaultsecrets.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: keyvaultsecrets.keyvault.azure.crossplane.io spec: @@ -33,13 +32,18 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: A KeyVaultSecret is a managed resource that represents an Azure KeyVaultSecret cluster. + description: A KeyVaultSecret is a managed resource that represents an Azure + KeyVaultSecret cluster. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -48,13 +52,16 @@ spec: properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete type: string forProvider: - description: KeyVaultSecretParameters defines the desired state of an Azure Key Vault Secret. https://docs.microsoft.com/en-us/rest/api/keyvault/#secret-operations + description: KeyVaultSecretParameters defines the desired state of + an Azure Key Vault Secret. https://docs.microsoft.com/en-us/rest/api/keyvault/#secret-operations properties: attributes: description: SecretAttributes - The secret management attributes @@ -67,12 +74,14 @@ spec: format: date-time type: string notBeforeDate: - description: NotBeforeDate - Not before date in UTC (RFC3339 format). + description: NotBeforeDate - Not before date in UTC (RFC3339 + format). format: date-time type: string type: object contentType: - description: ContentType - Type of the secret value such as a password + description: ContentType - Type of the secret value such as a + password type: string name: description: Name - The name of the secret @@ -80,7 +89,8 @@ spec: tags: additionalProperties: type: string - description: Tags - Application-specific metadata in the form of key-value pairs + description: Tags - Application-specific metadata in the form + of key-value pairs type: object value: description: Value - The value of the secret @@ -110,7 +120,9 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -119,7 +131,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -127,8 +141,64 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -144,10 +214,12 @@ spec: - forProvider type: object status: - description: A KeyVaultSecretStatus represents the observed state of a Secret. + description: A KeyVaultSecretStatus represents the observed state of a + Secret. properties: atProvider: - description: KeyVaultSecretObservation represents the observed state of the Secret object in Azure. + description: KeyVaultSecretObservation represents the observed state + of the Secret object in Azure. properties: attributes: description: Attributes - The secret management attributes. @@ -157,7 +229,14 @@ spec: format: date-time type: string recoveryLevel: - description: 'RecoveryLevel - READ-ONLY; Reflects the deletion recovery level currently in effect for secrets in the current vault. If it contains ''Purgeable'', the secret can be permanently deleted by a privileged user; otherwise, only the system can purge the secret, at the end of the retention interval. Possible values include: ''Purgeable'', ''RecoverablePurgeable'', ''Recoverable'', ''RecoverableProtectedSubscription'', ''CustomizedRecoverablePurgeable'', ''CustomizedRecoverable'', ''CustomizedRecoverableProtectedSubscription''' + description: 'RecoveryLevel - READ-ONLY; Reflects the deletion + recovery level currently in effect for secrets in the current + vault. If it contains ''Purgeable'', the secret can be permanently + deleted by a privileged user; otherwise, only the system + can purge the secret, at the end of the retention interval. + Possible values include: ''Purgeable'', ''RecoverablePurgeable'', + ''Recoverable'', ''RecoverableProtectedSubscription'', ''CustomizedRecoverablePurgeable'', + ''CustomizedRecoverable'', ''CustomizedRecoverableProtectedSubscription''' type: string updated: description: Updated - READ-ONLY; Last updated time in UTC. @@ -168,10 +247,14 @@ spec: description: ID - The secret id. type: string kid: - description: Kid - READ-ONLY; If this is a secret backing a KV certificate, then this field specifies the corresponding key backing the KV certificate. + description: Kid - READ-ONLY; If this is a secret backing a KV + certificate, then this field specifies the corresponding key + backing the KV certificate. type: string managed: - description: Managed - READ-ONLY; True if the secret's lifetime is managed by key vault. If this is a secret backing a certificate, then managed will be true. + description: Managed - READ-ONLY; True if the secret's lifetime + is managed by key vault. If this is a secret backing a certificate, + then managed will be true. type: boolean type: object conditions: @@ -180,20 +263,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/package/crds/network.azure.crossplane.io_publicipaddresses.yaml b/package/crds/network.azure.crossplane.io_publicipaddresses.yaml index 5536b025..1f308492 100644 --- a/package/crds/network.azure.crossplane.io_publicipaddresses.yaml +++ b/package/crds/network.azure.crossplane.io_publicipaddresses.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: publicipaddresses.network.azure.crossplane.io spec: @@ -37,13 +36,18 @@ spec: name: v1alpha3 schema: openAPIV3Schema: - description: A PublicIPAddress is a managed resource that represents an Azure PublicIPAddress. + description: A PublicIPAddress is a managed resource that represents an Azure + PublicIPAddress. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -52,7 +56,9 @@ spec: properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete @@ -61,34 +67,48 @@ spec: description: PublicIPAddressProperties defines properties of the PublicIPAddress. properties: allocationMethod: - description: 'PublicIPAllocationMethod - The public IP address allocation method. Possible values include: ''Static'', ''Dynamic''' + description: 'PublicIPAllocationMethod - The public IP address + allocation method. Possible values include: ''Static'', ''Dynamic''' enum: - Static - Dynamic type: string dnsSettings: - description: PublicIPAddressDNSSettings - The FQDN of the DNS record associated with the public IP address. + description: PublicIPAddressDNSSettings - The FQDN of the DNS + record associated with the public IP address. properties: domainNameLabel: - description: DomainNameLabel -the Domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. + description: DomainNameLabel -the Domain name label. The concatenation + of the domain name label and the regionalized DNS zone make + up the fully qualified domain name associated with the public + IP address. If a domain name label is specified, an A DNS + record is created for the public IP in the Microsoft Azure + DNS system. minLength: 1 type: string reverseFqdn: - description: ReverseFQDN - Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. + description: ReverseFQDN - Gets or Sets the Reverse FQDN. + A user-visible, fully qualified domain name that resolves + to this public IP address. If the reverseFqdn is specified, + then a PTR DNS record is created pointing from the IP address + in the in-addr.arpa domain to the reverse FQDN. type: string required: - domainNameLabel type: object ipTags: - description: IPTags - IP tags to be assigned to this public IP address + description: IPTags - IP tags to be assigned to this public IP + address items: - description: IPTag list of tags to be assigned to this public IP + description: IPTag list of tags to be assigned to this public + IP properties: ipTagType: description: 'IPTagType - Type of the IP tag. Example: FirstPartyUsage.' type: string tag: - description: Tag - Value of the IpTag associated with the public IP. Example SQL, Storage etc. + description: Tag - Value of the IpTag associated with the + public IP. Example SQL, Storage etc. type: string required: - ipTagType @@ -100,13 +120,16 @@ spec: minLength: 1 type: string publicIPPrefixID: - description: PublicIPPrefixID - The Public IP Prefix this Public IP Address should be allocated from. + description: PublicIPPrefixID - The Public IP Prefix this Public + IP Address should be allocated from. type: string resourceGroupName: - description: ResourceGroupName - Name of the Public IP address's resource group. + description: ResourceGroupName - Name of the Public IP address's + resource group. type: string resourceGroupNameRef: - description: ResourceGroupNameRef - A reference to the the Public IP address's resource group. + description: ResourceGroupNameRef - A reference to the the Public + IP address's resource group. properties: name: description: Name of the referenced object. @@ -115,22 +138,26 @@ spec: - name type: object resourceGroupNameSelector: - description: ResourceGroupNameSelector - Select a reference to the Public IP address's resource group. + description: ResourceGroupNameSelector - Select a reference to + the Public IP address's resource group. properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object sku: description: SKU of PublicIPAddress properties: name: - description: 'Name - Name of sku. Possible values include: [''Standard'', ''Basic'']' + description: 'Name - Name of sku. Possible values include: + [''Standard'', ''Basic'']' enum: - Standard - Basic @@ -144,12 +171,14 @@ spec: description: Tags - Resource tags. type: object tcpIdleTimeoutInMinutes: - description: TCPIdleTimeoutInMinutes - Timeout in minutes for idle TCP connections + description: TCPIdleTimeoutInMinutes - Timeout in minutes for + idle TCP connections format: int32 minimum: 0 type: integer version: - description: 'PublicIPAllocationMethod - The public IP address version. Possible values include: ''IPv4'', ''IPv6''' + description: 'PublicIPAllocationMethod - The public IP address + version. Possible values include: ''IPv4'', ''IPv6''' enum: - IPv4 - IPv6 @@ -162,7 +191,9 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -171,7 +202,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -179,8 +212,64 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -196,51 +285,74 @@ spec: - forProvider type: object status: - description: A PublicIPAddressStatus represents the observed state of a SQLServer. + description: A PublicIPAddressStatus represents the observed state of + a SQLServer. properties: atProvider: - description: A PublicIPAddressObservation represents the observed state of a PublicIPAddress. + description: A PublicIPAddressObservation represents the observed + state of a PublicIPAddress. properties: address: - description: Address - A string identifying address of PublicIPAddress resource + description: Address - A string identifying address of PublicIPAddress + resource type: string dnsSettings: description: DNSSettings observed DNS settings of the IP address properties: domainNameLabel: - description: DomainNameLabel -the Domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. + description: DomainNameLabel -the Domain name label. The concatenation + of the domain name label and the regionalized DNS zone make + up the fully qualified domain name associated with the public + IP address. If a domain name label is specified, an A DNS + record is created for the public IP in the Microsoft Azure + DNS system. type: string fqdn: - description: FQDN - Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. + description: FQDN - Gets the FQDN, Fully qualified domain + name of the A DNS record associated with the public IP. + This is the concatenation of the domainNameLabel and the + regionalized DNS zone. type: string reverseFqdn: - description: ReverseFQDN - Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. + description: ReverseFQDN - Gets or Sets the Reverse FQDN. + A user-visible, fully qualified domain name that resolves + to this public IP address. If the reverseFqdn is specified, + then a PTR DNS record is created pointing from the IP address + in the in-addr.arpa domain to the reverse FQDN. type: string type: object etag: - description: Etag - A unique string that changes whenever the resource is updated. + description: Etag - A unique string that changes whenever the + resource is updated. type: string id: description: ID of this PublicIPAddress. type: string ipConfiguration: - description: IPConfiguration - The IP configuration associated with the public IP address + description: IPConfiguration - The IP configuration associated + with the public IP address properties: privateIPAddress: - description: PrivateIPAddress - The private IP address of the IP configuration. + description: PrivateIPAddress - The private IP address of + the IP configuration. type: string privateIPAllocationMethod: - description: 'PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: ''Static'', ''Dynamic''' + description: 'PrivateIPAllocationMethod - The private IP address + allocation method. Possible values include: ''Static'', + ''Dynamic''' type: string provisioningState: - description: 'ProvisioningState - Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + description: 'ProvisioningState - Gets the provisioning state + of the public IP resource. Possible values are: ''Updating'', + ''Deleting'', and ''Failed''.' type: string required: - privateIPAllocationMethod - provisioningState type: object message: - description: A Message providing detail about the state of this PublicIPAddress, if any. + description: A Message providing detail about the state of this + PublicIPAddress, if any. type: string state: description: State of this PublicIPAddress. @@ -258,20 +370,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/package/crds/network.azure.crossplane.io_subnets.yaml b/package/crds/network.azure.crossplane.io_subnets.yaml index a408c90c..13ea0991 100644 --- a/package/crds/network.azure.crossplane.io_subnets.yaml +++ b/package/crds/network.azure.crossplane.io_subnets.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: subnets.network.azure.crossplane.io spec: @@ -37,10 +36,14 @@ spec: description: A Subnet is a managed resource that represents an Azure Subnet. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -49,7 +52,9 @@ spec: properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete @@ -63,7 +68,8 @@ spec: serviceEndpoints: description: ServiceEndpoints - An array of service endpoints. items: - description: ServiceEndpointPropertiesFormat defines properties of a service endpoint. + description: ServiceEndpointPropertiesFormat defines properties + of a service endpoint. properties: locations: description: Locations - A list of locations. @@ -71,7 +77,8 @@ spec: type: string type: array provisioningState: - description: ProvisioningState - The provisioning state of the resource. + description: ProvisioningState - The provisioning state + of the resource. type: string service: description: Service - The type of the endpoint service. @@ -84,7 +91,9 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -93,7 +102,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -101,11 +112,61 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object resourceGroupName: description: ResourceGroupName - Name of the Subnet's resource group. type: string resourceGroupNameRef: - description: ResourceGroupNameRef - A reference to the the Subnets's resource group. + description: ResourceGroupNameRef - A reference to the the Subnets's + resource group. properties: name: description: Name of the referenced object. @@ -114,22 +175,26 @@ spec: - name type: object resourceGroupNameSelector: - description: ResourceGroupNameSelector - Selects a reference to the the Subnets's resource group. + description: ResourceGroupNameSelector - Selects a reference to the + the Subnets's resource group. properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the same + controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object virtualNetworkName: description: VirtualNetworkName - Name of the Subnet's virtual network. type: string virtualNetworkNameRef: - description: VirtualNetworkNameRef references to a VirtualNetwork to retrieve its name + description: VirtualNetworkNameRef references to a VirtualNetwork + to retrieve its name properties: name: description: Name of the referenced object. @@ -138,19 +203,29 @@ spec: - name type: object virtualNetworkNameSelector: - description: VirtualNetworkNameSelector selects a reference to a VirtualNetwork to retrieve its name + description: VirtualNetworkNameSelector selects a reference to a VirtualNetwork + to retrieve its name properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the same + controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -174,20 +249,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime @@ -197,16 +277,19 @@ spec: type: object type: array etag: - description: Etag - A unique string that changes whenever the resource is updated. + description: Etag - A unique string that changes whenever the resource + is updated. type: string id: description: ID of this Subnet. type: string message: - description: A Message providing detail about the state of this Subnet, if any. + description: A Message providing detail about the state of this Subnet, + if any. type: string purpose: - description: Purpose - A string identifying the intention of use for this subnet based on delegations and other user-defined properties. + description: Purpose - A string identifying the intention of use for + this subnet based on delegations and other user-defined properties. type: string state: description: State of this Subnet. diff --git a/package/crds/network.azure.crossplane.io_virtualnetworks.yaml b/package/crds/network.azure.crossplane.io_virtualnetworks.yaml index ef3dfb15..0be2aa42 100644 --- a/package/crds/network.azure.crossplane.io_virtualnetworks.yaml +++ b/package/crds/network.azure.crossplane.io_virtualnetworks.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: virtualnetworks.network.azure.crossplane.io spec: @@ -37,13 +36,18 @@ spec: name: v1alpha3 schema: openAPIV3Schema: - description: A VirtualNetwork is a managed resource that represents an Azure Virtual Network. + description: A VirtualNetwork is a managed resource that represents an Azure + Virtual Network. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -52,7 +56,9 @@ spec: properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete @@ -61,13 +67,16 @@ spec: description: Location - Resource location. type: string properties: - description: VirtualNetworkPropertiesFormat - Properties of the virtual network. + description: VirtualNetworkPropertiesFormat - Properties of the virtual + network. properties: addressSpace: - description: AddressSpace - The AddressSpace that contains an array of IP address ranges that can be used by subnets. + description: AddressSpace - The AddressSpace that contains an + array of IP address ranges that can be used by subnets. properties: addressPrefixes: - description: AddressPrefixes - A list of address blocks reserved for this virtual network in CIDR notation. + description: AddressPrefixes - A list of address blocks reserved + for this virtual network in CIDR notation. items: type: string type: array @@ -75,16 +84,21 @@ spec: - addressPrefixes type: object enableDdosProtection: - description: EnableDDOSProtection - Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource. + description: EnableDDOSProtection - Indicates if DDoS protection + is enabled for all the protected resources in the virtual network. + It requires a DDoS protection plan associated with the resource. type: boolean enableVmProtection: - description: EnableVMProtection - Indicates if VM protection is enabled for all the subnets in the virtual network. + description: EnableVMProtection - Indicates if VM protection is + enabled for all the subnets in the virtual network. type: boolean type: object providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -93,7 +107,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -101,11 +117,62 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object resourceGroupName: - description: ResourceGroupName - Name of the Virtual Network's resource group. + description: ResourceGroupName - Name of the Virtual Network's resource + group. type: string resourceGroupNameRef: - description: ResourceGroupNameRef - A reference to the the Virtual Network's resource group. + description: ResourceGroupNameRef - A reference to the the Virtual + Network's resource group. properties: name: description: Name of the referenced object. @@ -114,15 +181,18 @@ spec: - name type: object resourceGroupNameSelector: - description: ResourceGroupNameSelector - Select a reference to the the Virtual Network's resource group. + description: ResourceGroupNameSelector - Select a reference to the + the Virtual Network's resource group. properties: matchControllerRef: - description: MatchControllerRef ensures an object with the same controller reference as the selecting object is selected. + description: MatchControllerRef ensures an object with the same + controller reference as the selecting object is selected. type: boolean matchLabels: additionalProperties: type: string - description: MatchLabels ensures an object with matching labels is selected. + description: MatchLabels ensures an object with matching labels + is selected. type: object type: object tags: @@ -131,7 +201,14 @@ spec: description: Tags - Resource tags. type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -148,7 +225,8 @@ spec: - properties type: object status: - description: A VirtualNetworkStatus represents the observed state of a VirtualNetwork. + description: A VirtualNetworkStatus represents the observed state of a + VirtualNetwork. properties: conditions: description: Conditions of the resource. @@ -156,20 +234,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime @@ -179,13 +262,15 @@ spec: type: object type: array etag: - description: Etag - A unique read-only string that changes whenever the resource is updated. + description: Etag - A unique read-only string that changes whenever + the resource is updated. type: string id: description: ID of this VirtualNetwork. type: string message: - description: A Message providing detail about the state of this VirtualNetwork, if any. + description: A Message providing detail about the state of this VirtualNetwork, + if any. type: string resourceGuid: description: ResourceGUID - The GUID of this VirtualNetwork. diff --git a/package/crds/storage.azure.crossplane.io_accounts.yaml b/package/crds/storage.azure.crossplane.io_accounts.yaml index c56bb1e1..e8395026 100644 --- a/package/crds/storage.azure.crossplane.io_accounts.yaml +++ b/package/crds/storage.azure.crossplane.io_accounts.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: accounts.storage.azure.crossplane.io spec: @@ -31,13 +30,18 @@ spec: name: v1alpha3 schema: openAPIV3Schema: - description: An Account is a managed resource that represents an Azure Blob Service Account. + description: An Account is a managed resource that represents an Azure Blob + Service Account. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -46,7 +50,9 @@ spec: properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete @@ -54,7 +60,9 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -63,7 +71,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -71,11 +81,62 @@ spec: required: - name type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object resourceGroupName: - description: ResourceGroupName specifies the resource group for this Account. + description: ResourceGroupName specifies the resource group for this + Account. type: string storageAccountSpec: - description: StorageAccountSpec specifies the desired state of this Account. + description: StorageAccountSpec specifies the desired state of this + Account. properties: identity: description: Identity - The identity of the resource. @@ -91,44 +152,61 @@ spec: type: string type: object kind: - description: 'Kind - Indicates the type of storage account. Possible values include: ''Storage'', ''BlobStorage''' + description: 'Kind - Indicates the type of storage account. Possible + values include: ''Storage'', ''BlobStorage''' enum: - Storage - BlobStorage type: string location: - description: Location - The location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). + description: Location - The location of the resource. This will + be one of the supported and registered Azure Geo Regions (e.g. + West US, East US, Southeast Asia, etc.). type: string properties: - description: StorageAccountSpecProperties - The parameters used to create the storage account. + description: StorageAccountSpecProperties - The parameters used + to create the storage account. properties: accessTier: - description: 'AccessTier - Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: ''Hot'', ''Cool''' + description: 'AccessTier - Required for storage accounts where + kind = BlobStorage. The access tier used for billing. Possible + values include: ''Hot'', ''Cool''' enum: - Hot - Cool type: string customDomain: - description: CustomDomain - User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. to clear the existing custom domain, use an empty string for the custom domain name property. + description: CustomDomain - User domain assigned to the storage + account. Name is the CNAME source. Only one custom domain + is supported per storage account at this time. to clear + the existing custom domain, use an empty string for the + custom domain name property. properties: name: - description: Name - custom domain name assigned to the storage account. Name is the CNAME source. + description: Name - custom domain name assigned to the + storage account. Name is the CNAME source. type: string useSubDomainName: - description: UseSubDomainName - Indicates whether indirect CNAME validation is enabled. + description: UseSubDomainName - Indicates whether indirect + CNAME validation is enabled. type: boolean type: object encryption: - description: Encryption - Provides the encryption settings on the account. If left unspecified the account encryption settings will remain the same. The default setting is unencrypted. + description: Encryption - Provides the encryption settings + on the account. If left unspecified the account encryption + settings will remain the same. The default setting is unencrypted. properties: keySource: - description: "KeySource - The encryption keySource (provider). \n Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault" + description: "KeySource - The encryption keySource (provider). + \n Possible values (case-insensitive): Microsoft.Storage, + Microsoft.Keyvault" enum: - Microsoft.Storage - Microsoft.Keyvault type: string keyvaultproperties: - description: KeyVaultProperties - Properties provided by key vault. + description: KeyVaultProperties - Properties provided + by key vault. properties: keyname: description: KeyName - The name of KeyVault key. @@ -137,17 +215,21 @@ spec: description: KeyVaultURI - The Uri of KeyVault. type: string keyversion: - description: KeyVersion - The version of KeyVault key. + description: KeyVersion - The version of KeyVault + key. type: string type: object services: - description: Services - List of services which support encryption. + description: Services - List of services which support + encryption. properties: blob: - description: Blob - The encryption function of the blob storage service. + description: Blob - The encryption function of the + blob storage service. type: boolean file: - description: File - The encryption function of the file storage service. + description: File - The encryption function of the + file storage service. type: boolean type: object type: object @@ -155,10 +237,17 @@ spec: description: NetworkRuleSet - Network rule set properties: bypass: - description: 'Bypass - Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. Possible values include: ''None'', ''Logging'', ''Metrics'', ''AzureServices''' + description: 'Bypass - Specifies whether traffic is bypassed + for Logging/Metrics/AzureServices. Possible values are + any combination of Logging|Metrics|AzureServices (For + example, "Logging, Metrics"), or None to bypass none + of those traffics. Possible values include: ''None'', + ''Logging'', ''Metrics'', ''AzureServices''' type: string defaultAction: - description: "DefaultAction - Specifies the default action of allow or deny when no other rules match. \n Possible values include: 'Allow', 'Deny'" + description: "DefaultAction - Specifies the default action + of allow or deny when no other rules match. \n Possible + values include: 'Allow', 'Deny'" enum: - Allow - Deny @@ -166,51 +255,66 @@ spec: ipRules: description: IPRules - Sets the IP ACL rules items: - description: IPRule IP rule with specific IP or IP range in CIDR format. + description: IPRule IP rule with specific IP or IP range + in CIDR format. properties: action: - description: 'Action - The action of IP ACL rule. Possible values include: ''Allow''' + description: 'Action - The action of IP ACL rule. + Possible values include: ''Allow''' enum: - Allow type: string value: - description: IPAddressOrRange - Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. + description: IPAddressOrRange - Specifies the IP + or IP range in CIDR format. Only IPV4 address + is allowed. type: string type: object type: array virtualNetworkRules: - description: VirtualNetworkRules - Sets the virtual network rules + description: VirtualNetworkRules - Sets the virtual network + rules items: description: VirtualNetworkRule virtual Network rule. properties: action: - description: 'Action - The action of virtual network rule. Possible values include: ''Allow''' + description: 'Action - The action of virtual network + rule. Possible values include: ''Allow''' enum: - Allow type: string id: - description: 'VirtualNetworkResourceID - Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.' + description: 'VirtualNetworkResourceID - Resource + ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.' type: string type: object type: array type: object supportsHttpsTrafficOnly: - description: EnableHTTPSTrafficOnly - Allows https traffic only to storage service if sets to true. + description: EnableHTTPSTrafficOnly - Allows https traffic + only to storage service if sets to true. type: boolean type: object sku: description: Sku of the storage account. properties: capabilities: - description: Capabilities - The capability information in the specified sku, including file encryption, network acls, change notification, etc. + description: Capabilities - The capability information in + the specified sku, including file encryption, network acls, + change notification, etc. items: - description: skuCapability the capability information in the specified sku, including file encryption, network acls, change notification, etc. + description: skuCapability the capability information in + the specified sku, including file encryption, network + acls, change notification, etc. properties: name: - description: Name - The name of capability, The capability information in the specified sku, including file encryption, network acls, change notification, etc. + description: Name - The name of capability, The capability + information in the specified sku, including file encryption, + network acls, change notification, etc. type: string value: - description: Value - A string value to indicate states of given capability. Possibly 'true' or 'false'. + description: Value - A string value to indicate states + of given capability. Possibly 'true' or 'false'. enum: - true - false @@ -218,18 +322,25 @@ spec: type: object type: array kind: - description: "Kind - Indicates the type of storage account. \n Possible values include: 'Storage', 'BlobStorage'" + description: "Kind - Indicates the type of storage account. + \n Possible values include: 'Storage', 'BlobStorage'" enum: - Storage - BlobStorage type: string locations: - description: Locations - The set of locations that the Sku is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). + description: Locations - The set of locations that the Sku + is available. This will be supported and registered Azure + Geo Regions (e.g. West US, East US, Southeast Asia, etc.). items: type: string type: array name: - description: "Name - Gets or sets the sku name. Required for account creation; optional for update. Note that in older versions, sku name was called accountType. \n Possible values include: 'Standard_LRS', 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS', 'Premium_LRS'" + description: "Name - Gets or sets the sku name. Required for + account creation; optional for update. Note that in older + versions, sku name was called accountType. \n Possible values + include: 'Standard_LRS', 'Standard_GRS', 'Standard_RAGRS', + 'Standard_ZRS', 'Premium_LRS'" enum: - Standard_LRS - Standard_GRS @@ -238,10 +349,12 @@ spec: - Premium_LRS type: string resourceType: - description: ResourceType - The type of the resource, usually it is 'storageAccounts'. + description: ResourceType - The type of the resource, usually + it is 'storageAccounts'. type: string tier: - description: "Tier - Gets the sku tier. This is based on the Sku name. \n Possible values include: 'Standard', 'Premium'" + description: "Tier - Gets the sku tier. This is based on the + Sku name. \n Possible values include: 'Standard', 'Premium'" enum: - Standard - Premium @@ -252,7 +365,12 @@ spec: tags: additionalProperties: type: string - description: Tags - A list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters. + description: Tags - A list of key value pairs that describe the + resource. These tags can be used for viewing and grouping this + resource (across resource groups). A maximum of 15 tags can + be provided for a resource. Each tag must have a key with a + length no greater than 128 characters and a value with a length + no greater than 256 characters. type: object required: - kind @@ -260,7 +378,14 @@ spec: - sku type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -285,20 +410,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime @@ -317,15 +447,22 @@ spec: description: Properties of this Account. properties: creationTime: - description: CreationTime - the creation date and time of the storage account in UTC. + description: CreationTime - the creation date and time of the + storage account in UTC. format: date-time type: string lastGeoFailoverTime: - description: LastGeoFailoverTime - the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS. + description: LastGeoFailoverTime - the timestamp of the most recent + instance of a failover to the secondary location. Only the most + recent timestamp is retained. This element is not returned if + there has never been a failover instance. Only available if + the accountType is Standard_GRS or Standard_RAGRS. format: date-time type: string primaryEndpoints: - description: PrimaryEndpoints - the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint. + description: PrimaryEndpoints - the URLs that are used to perform + a retrieval of a public blob, queue, or table object. Note that + Standard_ZRS and Premium_LRS accounts only return the blob endpoint. properties: blob: description: Blob - the blob endpoint. @@ -341,17 +478,23 @@ spec: type: string type: object primaryLocation: - description: PrimaryLocation - the location of the primary data center for the storage account. + description: PrimaryLocation - the location of the primary data + center for the storage account. type: string provisioningState: - description: 'ProvisioningState - the status of the storage account at the time the operation was called. Possible values include: ''Creating'', ''ResolvingDNS'', ''Succeeded''' + description: 'ProvisioningState - the status of the storage account + at the time the operation was called. Possible values include: + ''Creating'', ''ResolvingDNS'', ''Succeeded''' enum: - Creating - ResolvingDNS - Succeeded type: string secondaryEndpoints: - description: SecondaryEndpoints - the URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the Sku name is Standard_RAGRS. + description: SecondaryEndpoints - the URLs that are used to perform + a retrieval of a public blob, queue, or table object from the + secondary location of the storage account. Only available if + the Sku name is Standard_RAGRS. properties: blob: description: Blob - the blob endpoint. @@ -367,13 +510,20 @@ spec: type: string type: object secondaryLocation: - description: SecondaryLocation - the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS. + description: SecondaryLocation - the location of the geo-replicated + secondary for the storage account. Only available if the accountType + is Standard_GRS or Standard_RAGRS. type: string statusOfPrimary: - description: 'StatusOfPrimary - the status indicating whether the primary location of the storage account is available or unavailable. Possible values include: ''Available'', ''Unavailable''' + description: 'StatusOfPrimary - the status indicating whether + the primary location of the storage account is available or + unavailable. Possible values include: ''Available'', ''Unavailable''' type: string statusOfSecondary: - description: 'StatusOfSecondary - the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the Sku name is Standard_GRS or Standard_RAGRS. Possible values include: ''Available'', ''Unavailable''' + description: 'StatusOfSecondary - the status indicating whether + the secondary location of the storage account is available or + unavailable. Only available if the Sku name is Standard_GRS + or Standard_RAGRS. Possible values include: ''Available'', ''Unavailable''' enum: - Available - Unavailable diff --git a/package/crds/storage.azure.crossplane.io_containers.yaml b/package/crds/storage.azure.crossplane.io_containers.yaml index a6fefeeb..96f38481 100644 --- a/package/crds/storage.azure.crossplane.io_containers.yaml +++ b/package/crds/storage.azure.crossplane.io_containers.yaml @@ -1,8 +1,7 @@ -apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.4.0 + controller-gen.kubebuilder.io/version: v0.8.0 creationTimestamp: null name: containers.storage.azure.crossplane.io spec: @@ -37,13 +36,18 @@ spec: name: v1alpha3 schema: openAPIV3Schema: - description: A Container is a managed resource that represents an Azure Blob Storage Container. + description: A Container is a managed resource that represents an Azure Blob + Storage Container. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -52,7 +56,9 @@ spec: properties: deletionPolicy: default: Delete - description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. enum: - Orphan - Delete @@ -65,7 +71,9 @@ spec: providerConfigRef: default: name: default - description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured. + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. properties: name: description: Name of the referenced object. @@ -74,7 +82,9 @@ spec: - name type: object providerRef: - description: 'ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' properties: name: description: Name of the referenced object. @@ -83,10 +93,67 @@ spec: - name type: object publicAccessType: - description: PublicAccessType for this container; either "blob" or "container". + description: PublicAccessType for this container; either "blob" or + "container". type: string + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object writeConnectionSecretToRef: - description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. properties: name: description: Name of the secret. @@ -108,20 +175,25 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition transitioned from one status to another. + description: LastTransitionTime is the last time this condition + transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's last transition from one status to another, if any. + description: A Message containing details about this condition's + last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from one status to another. + description: A Reason for this condition's last transition from + one status to another. type: string status: - description: Status of this condition; is it currently True, False, or Unknown? + description: Status of this condition; is it currently True, + False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. type: string required: - lastTransitionTime From 0623215b24b40a89a29ab82a165e81471cff04b3 Mon Sep 17 00:00:00 2001 From: Hasan Turken Date: Thu, 31 Mar 2022 17:55:56 +0300 Subject: [PATCH 04/12] Add StoreConfig type Signed-off-by: Hasan Turken --- apis/v1alpha1/doc.go | 21 ++ apis/v1alpha1/register.go | 50 +++ apis/v1alpha1/storeconfig_types.go | 75 +++++ apis/v1alpha1/zz_generated.deepcopy.go | 117 +++++++ .../azure.crossplane.io_storeconfigs.yaml | 316 ++++++++++++++++++ 5 files changed, 579 insertions(+) create mode 100644 apis/v1alpha1/doc.go create mode 100644 apis/v1alpha1/register.go create mode 100644 apis/v1alpha1/storeconfig_types.go create mode 100644 apis/v1alpha1/zz_generated.deepcopy.go create mode 100644 package/crds/azure.crossplane.io_storeconfigs.yaml diff --git a/apis/v1alpha1/doc.go b/apis/v1alpha1/doc.go new file mode 100644 index 00000000..e50bf315 --- /dev/null +++ b/apis/v1alpha1/doc.go @@ -0,0 +1,21 @@ +/* +Copyright 2022 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Package v1alpha1 contains core Azure resources. +// +kubebuilder:object:generate=true +// +groupName=azure.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 diff --git a/apis/v1alpha1/register.go b/apis/v1alpha1/register.go new file mode 100644 index 00000000..350e7cca --- /dev/null +++ b/apis/v1alpha1/register.go @@ -0,0 +1,50 @@ +/* +Copyright 2022 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + "reflect" + + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + Group = "azure.crossplane.io" + Version = "v1alpha1" +) + +var ( + // SchemeGroupVersion is group version used to register these objects + SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} + + // SchemeBuilder is used to add go types to the GroupVersionKind scheme + SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} +) + +// StoreConfig type metadata. +var ( + StoreConfigKind = reflect.TypeOf(StoreConfig{}).Name() + StoreConfigGroupKind = schema.GroupKind{Group: Group, Kind: StoreConfigKind}.String() + StoreConfigKindAPIVersion = StoreConfigKind + "." + SchemeGroupVersion.String() + StoreConfigGroupVersionKind = SchemeGroupVersion.WithKind(StoreConfigKind) +) + +func init() { + SchemeBuilder.Register(&StoreConfig{}, &StoreConfigList{}) +} diff --git a/apis/v1alpha1/storeconfig_types.go b/apis/v1alpha1/storeconfig_types.go new file mode 100644 index 00000000..e0b0b4eb --- /dev/null +++ b/apis/v1alpha1/storeconfig_types.go @@ -0,0 +1,75 @@ +/* +Copyright 2022 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + + xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +// A StoreConfigSpec defines the desired state of a ProviderConfig. +type StoreConfigSpec struct { + xpv1.SecretStoreConfig `json:",inline"` +} + +// A StoreConfigStatus represents the status of a StoreConfig. +type StoreConfigStatus struct { + xpv1.ConditionedStatus `json:",inline"` +} + +// +kubebuilder:object:root=true + +// A StoreConfig configures how GCP controller should store connection details. +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:printcolumn:name="TYPE",type="string",JSONPath=".spec.type" +// +kubebuilder:printcolumn:name="DEFAULT-SCOPE",type="string",JSONPath=".spec.defaultScope" +// +kubebuilder:resource:scope=Cluster,categories={crossplane,store,gcp} +// +kubebuilder:subresource:status +type StoreConfig struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + + Spec StoreConfigSpec `json:"spec"` + Status StoreConfigStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// StoreConfigList contains a list of StoreConfig +type StoreConfigList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []StoreConfig `json:"items"` +} + +// Note(turkenh): To be generated with AngryJet + +// GetStoreConfig returns SecretStoreConfig +func (in *StoreConfig) GetStoreConfig() xpv1.SecretStoreConfig { + return in.Spec.SecretStoreConfig +} + +// GetCondition of this StoreConfig. +func (in *StoreConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return in.Status.GetCondition(ct) +} + +// SetConditions of this StoreConfig. +func (in *StoreConfig) SetConditions(c ...xpv1.Condition) { + in.Status.SetConditions(c...) +} diff --git a/apis/v1alpha1/zz_generated.deepcopy.go b/apis/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 00000000..84eee07a --- /dev/null +++ b/apis/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,117 @@ +//go:build !ignore_autogenerated +// +build !ignore_autogenerated + +/* +Copyright 2019 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StoreConfig) DeepCopyInto(out *StoreConfig) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreConfig. +func (in *StoreConfig) DeepCopy() *StoreConfig { + if in == nil { + return nil + } + out := new(StoreConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *StoreConfig) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StoreConfigList) DeepCopyInto(out *StoreConfigList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]StoreConfig, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreConfigList. +func (in *StoreConfigList) DeepCopy() *StoreConfigList { + if in == nil { + return nil + } + out := new(StoreConfigList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *StoreConfigList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StoreConfigSpec) DeepCopyInto(out *StoreConfigSpec) { + *out = *in + in.SecretStoreConfig.DeepCopyInto(&out.SecretStoreConfig) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreConfigSpec. +func (in *StoreConfigSpec) DeepCopy() *StoreConfigSpec { + if in == nil { + return nil + } + out := new(StoreConfigSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StoreConfigStatus) DeepCopyInto(out *StoreConfigStatus) { + *out = *in + in.ConditionedStatus.DeepCopyInto(&out.ConditionedStatus) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreConfigStatus. +func (in *StoreConfigStatus) DeepCopy() *StoreConfigStatus { + if in == nil { + return nil + } + out := new(StoreConfigStatus) + in.DeepCopyInto(out) + return out +} diff --git a/package/crds/azure.crossplane.io_storeconfigs.yaml b/package/crds/azure.crossplane.io_storeconfigs.yaml new file mode 100644 index 00000000..fd0f2b40 --- /dev/null +++ b/package/crds/azure.crossplane.io_storeconfigs.yaml @@ -0,0 +1,316 @@ +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + creationTimestamp: null + name: storeconfigs.azure.crossplane.io +spec: + group: azure.crossplane.io + names: + categories: + - crossplane + - store + - gcp + kind: StoreConfig + listKind: StoreConfigList + plural: storeconfigs + singular: storeconfig + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + - jsonPath: .spec.type + name: TYPE + type: string + - jsonPath: .spec.defaultScope + name: DEFAULT-SCOPE + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: A StoreConfig configures how GCP controller should store connection + details. + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: A StoreConfigSpec defines the desired state of a ProviderConfig. + properties: + defaultScope: + description: DefaultScope used for scoping secrets for "cluster-scoped" + resources. If store type is "Kubernetes", this would mean the default + namespace to store connection secrets for cluster scoped resources. + In case of "Vault", this would be used as the default parent path. + Typically, should be set as Crossplane installation namespace. + type: string + kubernetes: + description: Kubernetes configures a Kubernetes secret store. If the + "type" is "Kubernetes" but no config provided, in cluster config + will be used. + properties: + auth: + description: Credentials used to connect to the Kubernetes API. + properties: + env: + description: Env is a reference to an environment variable + that contains credentials that must be used to connect to + the provider. + properties: + name: + description: Name is the name of an environment variable. + type: string + required: + - name + type: object + fs: + description: Fs is a reference to a filesystem location that + contains credentials that must be used to connect to the + provider. + properties: + path: + description: Path is a filesystem path. + type: string + required: + - path + type: object + secretRef: + description: A SecretRef is a reference to a secret key that + contains the credentials that must be used to connect to + the provider. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + source: + description: Source of the credentials. + enum: + - None + - Secret + - Environment + - Filesystem + type: string + required: + - source + type: object + required: + - auth + type: object + type: + default: Kubernetes + description: Type configures which secret store to be used. Only the + configuration block for this store will be used and others will + be ignored if provided. Default is Kubernetes. + type: string + vault: + description: Vault configures a Vault secret store. + properties: + auth: + description: Auth configures an authentication method for Vault. + properties: + method: + description: Method configures which auth method will be used. + type: string + token: + description: Token configures Token Auth for Vault. + properties: + env: + description: Env is a reference to an environment variable + that contains credentials that must be used to connect + to the provider. + properties: + name: + description: Name is the name of an environment variable. + type: string + required: + - name + type: object + fs: + description: Fs is a reference to a filesystem location + that contains credentials that must be used to connect + to the provider. + properties: + path: + description: Path is a filesystem path. + type: string + required: + - path + type: object + secretRef: + description: A SecretRef is a reference to a secret key + that contains the credentials that must be used to connect + to the provider. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + source: + description: Source of the credentials. + enum: + - None + - Secret + - Environment + - Filesystem + type: string + required: + - source + type: object + required: + - method + type: object + caBundle: + description: CABundle configures CA bundle for Vault Server. + properties: + env: + description: Env is a reference to an environment variable + that contains credentials that must be used to connect to + the provider. + properties: + name: + description: Name is the name of an environment variable. + type: string + required: + - name + type: object + fs: + description: Fs is a reference to a filesystem location that + contains credentials that must be used to connect to the + provider. + properties: + path: + description: Path is a filesystem path. + type: string + required: + - path + type: object + secretRef: + description: A SecretRef is a reference to a secret key that + contains the credentials that must be used to connect to + the provider. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + source: + description: Source of the credentials. + enum: + - None + - Secret + - Environment + - Filesystem + type: string + required: + - source + type: object + mountPath: + description: MountPath is the mount path of the KV secrets engine. + type: string + server: + description: Server is the url of the Vault server, e.g. "https://vault.acme.org" + type: string + version: + default: v2 + description: Version of the KV Secrets engine of Vault. https://www.vaultproject.io/docs/secrets/kv + type: string + required: + - auth + - mountPath + - server + type: object + required: + - defaultScope + type: object + status: + description: A StoreConfigStatus represents the status of a StoreConfig. + properties: + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] From 4bc301a96c5561929d32d2efc0cff77d846e7d1c Mon Sep 17 00:00:00 2001 From: Hasan Turken Date: Fri, 1 Apr 2022 12:00:34 +0300 Subject: [PATCH 05/12] Add Secret Store connection manager as publisher if enabled Signed-off-by: Hasan Turken --- Makefile | 8 -- apis/azure.go | 2 + cmd/provider/main.go | 74 ++++++++++++++++--- go.sum | 38 ++++++++++ .../azure.crossplane.io_providerconfigs.yaml | 2 + ...re.crossplane.io_providerconfigusages.yaml | 2 + .../crds/azure.crossplane.io_providers.yaml | 2 + .../azure.crossplane.io_resourcegroups.yaml | 2 + .../azure.crossplane.io_storeconfigs.yaml | 2 + .../crds/cache.azure.crossplane.io_redis.yaml | 2 + ...mpute.azure.crossplane.io_aksclusters.yaml | 2 + ....azure.crossplane.io_cosmosdbaccounts.yaml | 2 + ...ossplane.io_mysqlserverconfigurations.yaml | 2 + ...rossplane.io_mysqlserverfirewallrules.yaml | 2 + ...base.azure.crossplane.io_mysqlservers.yaml | 2 + ...ane.io_mysqlservervirtualnetworkrules.yaml | 2 + ...ane.io_postgresqlserverconfigurations.yaml | 2 + ...lane.io_postgresqlserverfirewallrules.yaml | 2 + ...azure.crossplane.io_postgresqlservers.yaml | 2 + ...o_postgresqlservervirtualnetworkrules.yaml | 2 + .../dns.azure.crossplane.io_recordsets.yaml | 2 + .../crds/dns.azure.crossplane.io_zones.yaml | 2 + ...t.azure.crossplane.io_keyvaultsecrets.yaml | 2 + ...azure.crossplane.io_publicipaddresses.yaml | 2 + .../network.azure.crossplane.io_subnets.yaml | 2 + ...k.azure.crossplane.io_virtualnetworks.yaml | 2 + .../storage.azure.crossplane.io_accounts.yaml | 2 + ...torage.azure.crossplane.io_containers.yaml | 2 + pkg/controller/azure.go | 13 ++-- pkg/controller/cache/redis.go | 27 ++++--- pkg/controller/compute/managed.go | 27 ++++--- pkg/controller/config/config.go | 13 +--- pkg/controller/database/cosmosdb/managed.go | 27 ++++--- .../database/mysqlserver/managed.go | 28 +++---- .../mysqlserverconfiguration/managed.go | 27 ++++--- .../mysqlserverfirewallrule/managed.go | 27 ++++--- .../mysqlservervirtualnetworkrule/managed.go | 27 ++++--- .../database/postgresqlserver/managed.go | 30 ++++---- .../postgresqlserverconfiguration/managed.go | 31 ++++---- .../postgresqlserverfirewallrule/managed.go | 27 ++++--- .../managed.go | 33 +++++---- pkg/controller/dns/recordset/managed.go | 43 ++++++----- pkg/controller/dns/zone/managed.go | 43 ++++++----- .../keyvault/secret/keyvault_secret.go | 43 ++++++----- .../network/publicipaddress/managed.go | 27 ++++--- pkg/controller/network/subnet/managed.go | 27 ++++--- .../network/virtualnetwork/managed.go | 27 ++++--- pkg/controller/resourcegroup/resourcegroup.go | 31 ++++---- pkg/controller/storage/account/account.go | 16 ++-- pkg/controller/storage/container/container.go | 17 ++--- pkg/features/features.go | 27 +++++++ 51 files changed, 500 insertions(+), 308 deletions(-) create mode 100644 pkg/features/features.go diff --git a/Makefile b/Makefile index 4e83d3c0..2a72a4b9 100644 --- a/Makefile +++ b/Makefile @@ -80,14 +80,6 @@ cobertura: grep -v zz_generated.deepcopy | \ $(GOCOVER_COBERTURA) > $(GO_TEST_OUTPUT)/cobertura-coverage.xml -crds.clean: - @$(INFO) cleaning generated CRDs - @find package/crds -name *.yaml -exec sed -i.sed -e '1,2d' {} \; || $(FAIL) - @find package/crds -name *.yaml.sed -delete || $(FAIL) - @$(OK) cleaned generated CRDs - -generate: crds.clean - # Ensure a PR is ready for review. reviewable: generate lint @go mod tidy diff --git a/apis/azure.go b/apis/azure.go index 87566a5c..e8bb9360 100644 --- a/apis/azure.go +++ b/apis/azure.go @@ -28,6 +28,7 @@ import ( keyvaultv1alpha1 "github.com/crossplane/provider-azure/apis/keyvault/v1alpha1" networkv1alpha3 "github.com/crossplane/provider-azure/apis/network/v1alpha3" storagev1alpha3 "github.com/crossplane/provider-azure/apis/storage/v1alpha3" + azurev1alpha1 "github.com/crossplane/provider-azure/apis/v1alpha1" azurev1alpha3 "github.com/crossplane/provider-azure/apis/v1alpha3" azurev1beta1 "github.com/crossplane/provider-azure/apis/v1beta1" ) @@ -35,6 +36,7 @@ import ( func init() { // Register the types with the Scheme so the components can map objects to GroupVersionKinds and back AddToSchemes = append(AddToSchemes, + azurev1alpha1.SchemeBuilder.AddToScheme, azurev1alpha3.SchemeBuilder.AddToScheme, azurev1beta1.SchemeBuilder.AddToScheme, cachev1beta1.SchemeBuilder.AddToScheme, diff --git a/cmd/provider/main.go b/cmd/provider/main.go index f18ab35a..a5f34be9 100644 --- a/cmd/provider/main.go +++ b/cmd/provider/main.go @@ -17,27 +17,42 @@ limitations under the License. package main import ( + "context" "os" "path/filepath" + "time" "gopkg.in/alecthomas/kingpin.v2" + kerrors "k8s.io/apimachinery/pkg/api/errors" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/log/zap" + xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + xpcontroller "github.com/crossplane/crossplane-runtime/pkg/controller" + "github.com/crossplane/crossplane-runtime/pkg/feature" "github.com/crossplane/crossplane-runtime/pkg/logging" "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/provider-azure/apis" + "github.com/crossplane/provider-azure/apis/v1alpha1" "github.com/crossplane/provider-azure/pkg/controller" + "github.com/crossplane/provider-azure/pkg/features" ) func main() { var ( - app = kingpin.New(filepath.Base(os.Args[0]), "Azure support for Crossplane.").DefaultEnvars() - debug = app.Flag("debug", "Run with debug logging.").Short('d').Bool() - syncInterval = app.Flag("sync", "Sync interval controls how often all resources will be double checked for drift.").Short('s').Default("1h").Duration() - pollInterval = app.Flag("poll", "Poll interval controls how often an individual resource should be checked for drift.").Default("1m").Duration() - leaderElection = app.Flag("leader-election", "Use leader election for the conroller manager.").Short('l').Default("false").OverrideDefaultFromEnvar("LEADER_ELECTION").Bool() + app = kingpin.New(filepath.Base(os.Args[0]), "Azure support for Crossplane.").DefaultEnvars() + debug = app.Flag("debug", "Run with debug logging.").Short('d').Bool() + syncInterval = app.Flag("sync", "Sync interval controls how often all resources will be double checked for drift.").Short('s').Default("1h").Duration() + pollInterval = app.Flag("poll", "Poll interval controls how often an individual resource should be checked for drift.").Default("1m").Duration() + leaderElection = app.Flag("leader-election", "Use leader election for the conroller manager.").Short('l').Default("false").OverrideDefaultFromEnvar("LEADER_ELECTION").Bool() + maxReconcileRate = app.Flag("max-reconcile-rate", "The global maximum rate per second at which resources may checked for drift from the desired state.").Default("10").Int() + + namespace = app.Flag("namespace", "Namespace used to set as default scope in default secret store config.").Default("crossplane-system").Envar("POD_NAMESPACE").String() + enableExternalSecretStores = app.Flag("enable-external-secret-stores", "Enable support for ExternalSecretStores.").Default("false").Envar("ENABLE_EXTERNAL_SECRET_STORES").Bool() ) kingpin.MustParse(app.Parse(os.Args[1:])) @@ -56,14 +71,51 @@ func main() { kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(cfg, ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-azure", - SyncPeriod: syncInterval, + SyncPeriod: syncInterval, + + // controller-runtime uses both ConfigMaps and Leases for leader + // election by default. Leases expire after 15 seconds, with a + // 10 second renewal deadline. We've observed leader loss due to + // renewal deadlines being exceeded when under high load - i.e. + // hundreds of reconciles per second and ~200rps to the API + // server. Switching to Leases only and longer leases appears to + // alleviate this. + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-azure", + LeaderElectionResourceLock: resourcelock.LeasesResourceLock, + LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), + RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), }) kingpin.FatalIfError(err, "Cannot create controller manager") - kingpin.FatalIfError(apis.AddToScheme(mgr.GetScheme()), "Cannot add Azure APIs to scheme") - kingpin.FatalIfError(controller.Setup(mgr, log, ratelimiter.NewDefaultProviderRateLimiter(ratelimiter.DefaultProviderRPS), *pollInterval), "Cannot setup Azure controllers") - kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") + o := xpcontroller.Options{ + Logger: log, + MaxConcurrentReconciles: *maxReconcileRate, + PollInterval: *pollInterval, + GlobalRateLimiter: ratelimiter.NewGlobal(*maxReconcileRate), + Features: &feature.Flags{}, + } + + if *enableExternalSecretStores { + o.Features.Enable(features.EnableAlphaExternalSecretStores) + log.Info("Alpha feature enabled", "flag", features.EnableAlphaExternalSecretStores) + + // Ensure default store config exists. + kingpin.FatalIfError(resource.Ignore(kerrors.IsAlreadyExists, mgr.GetClient().Create(context.Background(), &v1alpha1.StoreConfig{ + ObjectMeta: metav1.ObjectMeta{ + Name: "default", + }, + Spec: v1alpha1.StoreConfigSpec{ + // NOTE(turkenh): We only set required spec and expect optional + // ones to properly be initialized with CRD level default values. + SecretStoreConfig: xpv1.SecretStoreConfig{ + DefaultScope: *namespace, + }, + }, + })), "cannot create default store config") + } + + kingpin.FatalIfError(controller.Setup(mgr, o), "Cannot setup Azure controllers") + kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/go.sum b/go.sum index 97d64075..04234fe5 100644 --- a/go.sum +++ b/go.sum @@ -103,8 +103,10 @@ github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kd github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20210826220005-b48c857c3a0e/go.mod h1:F7bn7fEU90QkQ3tnmaTx3LTKLEDqnwWODIYppRQ5hnY= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= +github.com/armon/go-metrics v0.3.9 h1:O2sNqxBdvq8Eq5xmzljcYzAORli6RWCvEym4cJf9m18= github.com/armon/go-metrics v0.3.9/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= +github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM= @@ -120,6 +122,7 @@ github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kB github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/cenkalti/backoff/v3 v3.0.0 h1:ske+9nBpD9qZsTBoF41nW5L+AIuFBKMeze18XQ3eG1c= github.com/cenkalti/backoff/v3 v3.0.0/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= @@ -187,12 +190,14 @@ github.com/evanphx/json-patch/v5 v5.5.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2Vvl github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.12.0 h1:mRhaKNwANqRgUBGKmnI5ZxEk7QXmjQeCcuYFMX2bfcc= github.com/fatih/color v1.12.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= +github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/form3tech-oss/jwt-go v3.2.3+incompatible h1:7ZaBxOI7TMoYBfyA3cQHErNNyAWIKUMIwqxEtgHOs5c= github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/frankban/quicktest v1.10.0/go.mod h1:ui7WezCLWMWxVWr1GETZY3smRy0G4KWq9vcPtJmFl7Y= +github.com/frankban/quicktest v1.13.0 h1:yNZif1OkDfNoDfb9zZa9aXIpejNR4F23Wely0c+Qdqk= github.com/frankban/quicktest v1.13.0/go.mod h1:qLE0fzW0VuyUAJgPU19zByoIr0HtCHN/r/VLSOOIySU= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= @@ -226,6 +231,7 @@ github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= +github.com/go-test/deep v1.0.2 h1:onZX1rnHT3Wv6cqNgYyFOOlgVKJrksuCMCRvJStbMYw= github.com/go-test/deep v1.0.2/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/gobuffalo/flect v0.2.3 h1:f/ZukRnSNA/DUpSNDadko7Qc0PhGvsew35p/2tu+CRY= github.com/gobuffalo/flect v0.2.3/go.mod h1:vmkQwuZYhN5Pc4ljYQZzP+1sq+NEkK+lh20jmEmX3jc= @@ -271,6 +277,7 @@ github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaS github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -329,51 +336,70 @@ github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFb github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/go-getter v1.4.0/go.mod h1:7qxyCd8rBfcShwsvxgIguu4KbS3l8bUCwg2Umn7RjeY= github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= github.com/hashicorp/go-hclog v0.14.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= +github.com/hashicorp/go-hclog v0.16.2 h1:K4ev2ib4LdQETX5cSZBG0DVLk1jwGqSPXBjdah3veNs= github.com/hashicorp/go-hclog v0.16.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc= github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-kms-wrapping/entropy v0.1.0/go.mod h1:d1g9WGtAunDNpek8jUIEJnBlbgKS1N2Q61QkHiZyR1g= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= +github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= +github.com/hashicorp/go-plugin v1.4.3 h1:DXmvivbWD5qdiBts9TpBC7BYL1Aia5sxbRgQB+v6UZM= github.com/hashicorp/go-plugin v1.4.3/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= +github.com/hashicorp/go-retryablehttp v0.6.6 h1:HJunrbHTDDbBb/ay4kxa1n+dLmttUlnP3V9oNE4hmsM= github.com/hashicorp/go-retryablehttp v0.6.6/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= +github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5Oi2viEzc= github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoDHxNAB65b+Rj1I= github.com/hashicorp/go-secure-stdlib/base62 v0.1.1/go.mod h1:EdWO6czbmthiwZ3/PUsDV+UD1D5IRU4ActiaWGwt0Yw= +github.com/hashicorp/go-secure-stdlib/mlock v0.1.1 h1:cCRo8gK7oq6A2L6LICkUZ+/a5rLiRXFMf1Qd4xSwxTc= github.com/hashicorp/go-secure-stdlib/mlock v0.1.1/go.mod h1:zq93CJChV6L9QTfGKtfBxKqD7BqqXx5O04A/ns2p5+I= +github.com/hashicorp/go-secure-stdlib/parseutil v0.1.1 h1:78ki3QBevHwYrVxnyVeaEz+7WtifHhauYF23es/0KlI= github.com/hashicorp/go-secure-stdlib/parseutil v0.1.1/go.mod h1:QmrqtbKuxxSWTN3ETMPuB+VtEiBJ/A9XhoYGv8E1uD8= github.com/hashicorp/go-secure-stdlib/password v0.1.1/go.mod h1:9hH302QllNwu1o2TGYtSk8I8kTAN0ca1EHpwhm5Mmzo= +github.com/hashicorp/go-secure-stdlib/strutil v0.1.1 h1:nd0HIW15E6FG1MsnArYaHfuw9C2zgzM8LxkG5Ty/788= github.com/hashicorp/go-secure-stdlib/strutil v0.1.1/go.mod h1:gKOamz3EwoIoJq7mlMIRBpVTAUn8qPCrEclOKKWhD3U= github.com/hashicorp/go-secure-stdlib/tlsutil v0.1.1/go.mod h1:l8slYwnJA26yBz+ErHpp2IRCLr0vuOMGBORIz4rRiAs= github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= +github.com/hashicorp/go-sockaddr v1.0.2 h1:ztczhD1jLxIRjVejw8gFomI1BQZOe2WoVOu0SyteCQc= github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A= github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.2 h1:cfejS+Tpcp13yd5nYHWDI6qVCny6wyX2Mt5SGur2IGE= github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.2.0 h1:3vNe/fWF5CBgRIguda1meWhsZHy3m8gCJ5wx+dIzX/E= github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= +github.com/hashicorp/vault/api v1.3.1 h1:pkDkcgTh47PRjY1NEFeofqR4W/HkNUi9qIakESO2aRM= github.com/hashicorp/vault/api v1.3.1/go.mod h1:QeJoWxMFt+MsuWcYhmwRLwKEXrjwAFFywzhptMsTIUw= +github.com/hashicorp/vault/sdk v0.3.0 h1:kR3dpxNkhh/wr6ycaJYqp6AFT/i2xaftbfnwZduTKEY= github.com/hashicorp/vault/sdk v0.3.0/go.mod h1:aZ3fNuL5VNydQk8GcLJ2TV8YCRVvyaakYkhZRoVuhj0= +github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb h1:b5rjCoWHc7eqmAS4/qyk21ZsHyb6Mxv/jykxvNTkU4M= github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= @@ -384,6 +410,7 @@ github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= +github.com/jhump/protoreflect v1.6.0 h1:h5jfMVslIg6l29nsMs0D8Wj17RDVdNYti0vDN/PZZoE= github.com/jhump/protoreflect v1.6.0/go.mod h1:eaTn3RZAmMBcV0fifFvlm6VHNz3wSkYyXYWUh7ymB74= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= @@ -411,6 +438,7 @@ github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= @@ -449,6 +477,7 @@ github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrk github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= +github.com/mitchellh/go-testing-interface v1.0.0 h1:fzU/JVNcaqHQEcVFAKeR41fkiLdIPrefOvVG1VZ96U0= github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= @@ -456,6 +485,7 @@ github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0Qu github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/mapstructure v1.4.2 h1:6h7AQ0yhTcIsmFmnAwQls75jp2Gzs4iB8W7pjMO+rqo= github.com/mitchellh/mapstructure v1.4.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= @@ -479,6 +509,7 @@ github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLA github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= +github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw= github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= @@ -495,10 +526,12 @@ github.com/onsi/gomega v1.17.0 h1:9Luw4uT5HTjHTN8+aNcSThgH1vdXnmdJ8xIfZ4wyTRE= github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= +github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY= github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= +github.com/pierrec/lz4 v2.5.2+incompatible h1:WCjObylUIOlKy/+7Abdn34TLIkXiA4UWUMhxq9m9ZXI= github.com/pierrec/lz4 v2.5.2+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -544,6 +577,7 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= +github.com/ryanuber/go-glob v1.0.0 h1:iQh3xXAumdQ+4Ufa5b25cRpC5TYKlno6hsv6Cb3pkBk= github.com/ryanuber/go-glob v1.0.0/go.mod h1:807d1WSdnB0XRJzKNil9Om6lcp/3a0v4qIHxIXzX/Yc= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= @@ -576,6 +610,7 @@ github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5q github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns= github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1 h1:2vfRuCMp5sSVIDSqO8oNnWJq7mPa6KVP3iPIwFBuy8A= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= @@ -1005,6 +1040,7 @@ google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2 h1:NHN4wOCScVzKhPenJ2dt+BTs3X/XkBVI/Rh4iDt55T8= google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= @@ -1029,6 +1065,7 @@ google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAG google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.41.0 h1:f+PlOh7QV4iIJkPrx5NQ7qaNGFQ3OTse67yaDHfju4E= google.golang.org/grpc v1.41.0/go.mod h1:U3l9uK9J0sini8mHphKoXyaqDA/8VyGnDee1zzIUK6k= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -1061,6 +1098,7 @@ gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= +gopkg.in/square/go-jose.v2 v2.5.1 h1:7odma5RETjNHWJnR32wx8t+Io4djHE1PqxCFx3iiZ2w= gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= diff --git a/package/crds/azure.crossplane.io_providerconfigs.yaml b/package/crds/azure.crossplane.io_providerconfigs.yaml index 9ef8cd9c..b1d1223d 100644 --- a/package/crds/azure.crossplane.io_providerconfigs.yaml +++ b/package/crds/azure.crossplane.io_providerconfigs.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/azure.crossplane.io_providerconfigusages.yaml b/package/crds/azure.crossplane.io_providerconfigusages.yaml index 06dd6b6a..09687511 100644 --- a/package/crds/azure.crossplane.io_providerconfigusages.yaml +++ b/package/crds/azure.crossplane.io_providerconfigusages.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/azure.crossplane.io_providers.yaml b/package/crds/azure.crossplane.io_providers.yaml index 087ee2d2..b0ee7911 100644 --- a/package/crds/azure.crossplane.io_providers.yaml +++ b/package/crds/azure.crossplane.io_providers.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/azure.crossplane.io_resourcegroups.yaml b/package/crds/azure.crossplane.io_resourcegroups.yaml index 297a5dfc..fe8939da 100644 --- a/package/crds/azure.crossplane.io_resourcegroups.yaml +++ b/package/crds/azure.crossplane.io_resourcegroups.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/azure.crossplane.io_storeconfigs.yaml b/package/crds/azure.crossplane.io_storeconfigs.yaml index fd0f2b40..f0bce034 100644 --- a/package/crds/azure.crossplane.io_storeconfigs.yaml +++ b/package/crds/azure.crossplane.io_storeconfigs.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/cache.azure.crossplane.io_redis.yaml b/package/crds/cache.azure.crossplane.io_redis.yaml index f993684c..307dfcc6 100644 --- a/package/crds/cache.azure.crossplane.io_redis.yaml +++ b/package/crds/cache.azure.crossplane.io_redis.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/compute.azure.crossplane.io_aksclusters.yaml b/package/crds/compute.azure.crossplane.io_aksclusters.yaml index 48af34cb..31e94878 100644 --- a/package/crds/compute.azure.crossplane.io_aksclusters.yaml +++ b/package/crds/compute.azure.crossplane.io_aksclusters.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/database.azure.crossplane.io_cosmosdbaccounts.yaml b/package/crds/database.azure.crossplane.io_cosmosdbaccounts.yaml index 232e9752..00a05b51 100644 --- a/package/crds/database.azure.crossplane.io_cosmosdbaccounts.yaml +++ b/package/crds/database.azure.crossplane.io_cosmosdbaccounts.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/database.azure.crossplane.io_mysqlserverconfigurations.yaml b/package/crds/database.azure.crossplane.io_mysqlserverconfigurations.yaml index 03a07552..22be5624 100644 --- a/package/crds/database.azure.crossplane.io_mysqlserverconfigurations.yaml +++ b/package/crds/database.azure.crossplane.io_mysqlserverconfigurations.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/database.azure.crossplane.io_mysqlserverfirewallrules.yaml b/package/crds/database.azure.crossplane.io_mysqlserverfirewallrules.yaml index 326d5b60..8cc5af22 100644 --- a/package/crds/database.azure.crossplane.io_mysqlserverfirewallrules.yaml +++ b/package/crds/database.azure.crossplane.io_mysqlserverfirewallrules.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/database.azure.crossplane.io_mysqlservers.yaml b/package/crds/database.azure.crossplane.io_mysqlservers.yaml index bb4fe577..f3d8afcb 100644 --- a/package/crds/database.azure.crossplane.io_mysqlservers.yaml +++ b/package/crds/database.azure.crossplane.io_mysqlservers.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/database.azure.crossplane.io_mysqlservervirtualnetworkrules.yaml b/package/crds/database.azure.crossplane.io_mysqlservervirtualnetworkrules.yaml index b379305e..85bdf799 100644 --- a/package/crds/database.azure.crossplane.io_mysqlservervirtualnetworkrules.yaml +++ b/package/crds/database.azure.crossplane.io_mysqlservervirtualnetworkrules.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/database.azure.crossplane.io_postgresqlserverconfigurations.yaml b/package/crds/database.azure.crossplane.io_postgresqlserverconfigurations.yaml index 0c034cda..f28025d7 100644 --- a/package/crds/database.azure.crossplane.io_postgresqlserverconfigurations.yaml +++ b/package/crds/database.azure.crossplane.io_postgresqlserverconfigurations.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/database.azure.crossplane.io_postgresqlserverfirewallrules.yaml b/package/crds/database.azure.crossplane.io_postgresqlserverfirewallrules.yaml index f554534f..3c195a98 100644 --- a/package/crds/database.azure.crossplane.io_postgresqlserverfirewallrules.yaml +++ b/package/crds/database.azure.crossplane.io_postgresqlserverfirewallrules.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/database.azure.crossplane.io_postgresqlservers.yaml b/package/crds/database.azure.crossplane.io_postgresqlservers.yaml index 301d5739..dd56d93f 100644 --- a/package/crds/database.azure.crossplane.io_postgresqlservers.yaml +++ b/package/crds/database.azure.crossplane.io_postgresqlservers.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/database.azure.crossplane.io_postgresqlservervirtualnetworkrules.yaml b/package/crds/database.azure.crossplane.io_postgresqlservervirtualnetworkrules.yaml index 439d6f28..6374a496 100644 --- a/package/crds/database.azure.crossplane.io_postgresqlservervirtualnetworkrules.yaml +++ b/package/crds/database.azure.crossplane.io_postgresqlservervirtualnetworkrules.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/dns.azure.crossplane.io_recordsets.yaml b/package/crds/dns.azure.crossplane.io_recordsets.yaml index 74a33f7e..0590967a 100644 --- a/package/crds/dns.azure.crossplane.io_recordsets.yaml +++ b/package/crds/dns.azure.crossplane.io_recordsets.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/dns.azure.crossplane.io_zones.yaml b/package/crds/dns.azure.crossplane.io_zones.yaml index e5820653..80d1c009 100644 --- a/package/crds/dns.azure.crossplane.io_zones.yaml +++ b/package/crds/dns.azure.crossplane.io_zones.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/keyvault.azure.crossplane.io_keyvaultsecrets.yaml b/package/crds/keyvault.azure.crossplane.io_keyvaultsecrets.yaml index c8d690d9..0fbbeef4 100644 --- a/package/crds/keyvault.azure.crossplane.io_keyvaultsecrets.yaml +++ b/package/crds/keyvault.azure.crossplane.io_keyvaultsecrets.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/network.azure.crossplane.io_publicipaddresses.yaml b/package/crds/network.azure.crossplane.io_publicipaddresses.yaml index 1f308492..0a644493 100644 --- a/package/crds/network.azure.crossplane.io_publicipaddresses.yaml +++ b/package/crds/network.azure.crossplane.io_publicipaddresses.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/network.azure.crossplane.io_subnets.yaml b/package/crds/network.azure.crossplane.io_subnets.yaml index 13ea0991..f803a2ce 100644 --- a/package/crds/network.azure.crossplane.io_subnets.yaml +++ b/package/crds/network.azure.crossplane.io_subnets.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/network.azure.crossplane.io_virtualnetworks.yaml b/package/crds/network.azure.crossplane.io_virtualnetworks.yaml index 0be2aa42..d7aa4c9a 100644 --- a/package/crds/network.azure.crossplane.io_virtualnetworks.yaml +++ b/package/crds/network.azure.crossplane.io_virtualnetworks.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/storage.azure.crossplane.io_accounts.yaml b/package/crds/storage.azure.crossplane.io_accounts.yaml index e8395026..e9ee67ee 100644 --- a/package/crds/storage.azure.crossplane.io_accounts.yaml +++ b/package/crds/storage.azure.crossplane.io_accounts.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/package/crds/storage.azure.crossplane.io_containers.yaml b/package/crds/storage.azure.crossplane.io_containers.yaml index 96f38481..25b5c88d 100644 --- a/package/crds/storage.azure.crossplane.io_containers.yaml +++ b/package/crds/storage.azure.crossplane.io_containers.yaml @@ -1,3 +1,5 @@ +--- +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: diff --git a/pkg/controller/azure.go b/pkg/controller/azure.go index 30678bbb..a1dd1c1c 100644 --- a/pkg/controller/azure.go +++ b/pkg/controller/azure.go @@ -17,12 +17,9 @@ limitations under the License. package controller import ( - "time" - - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" - "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/provider-azure/pkg/controller/cache" "github.com/crossplane/provider-azure/pkg/controller/compute" @@ -48,8 +45,8 @@ import ( ) // Setup Azure controllers. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { - for _, setup := range []func(ctrl.Manager, logging.Logger, workqueue.RateLimiter, time.Duration) error{ +func Setup(mgr ctrl.Manager, o controller.Options) error { + for _, setup := range []func(ctrl.Manager, controller.Options) error{ cache.SetupRedis, compute.SetupAKSCluster, mysqlserver.Setup, @@ -71,9 +68,9 @@ func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll ti zone.Setup, recordset.Setup, } { - if err := setup(mgr, l, rl, poll); err != nil { + if err := setup(mgr, o); err != nil { return err } } - return config.Setup(mgr, l, rl) + return config.Setup(mgr, o) } diff --git a/pkg/controller/cache/redis.go b/pkg/controller/cache/redis.go index 2faccaed..1de452a9 100644 --- a/pkg/controller/cache/redis.go +++ b/pkg/controller/cache/redis.go @@ -19,27 +19,26 @@ package cache import ( "context" "strconv" - "time" "github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis" "github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/redisapi" "github.com/pkg/errors" - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/provider-azure/apis/cache/v1beta1" + "github.com/crossplane/provider-azure/apis/v1alpha1" azure "github.com/crossplane/provider-azure/pkg/clients" redisclients "github.com/crossplane/provider-azure/pkg/clients/redis" + "github.com/crossplane/provider-azure/pkg/features" ) const ( @@ -55,22 +54,26 @@ const ( ) // SetupRedis adds a controller that reconciles Redis resources. -func SetupRedis(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func SetupRedis(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1beta1.RedisGroupKind) + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } + return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1beta1.Redis{}). Complete(managed.NewReconciler(mgr, resource.ManagedKind(v1beta1.RedisGroupVersionKind), managed.WithExternalConnecter(&connector{kube: mgr.GetClient()}), managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connector struct { diff --git a/pkg/controller/compute/managed.go b/pkg/controller/compute/managed.go index 9547aaaa..59f3f87f 100644 --- a/pkg/controller/compute/managed.go +++ b/pkg/controller/compute/managed.go @@ -18,30 +18,29 @@ package compute import ( "context" - "time" "github.com/Azure/go-autorest/autorest/to" "github.com/pkg/errors" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/tools/clientcmd" - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" "github.com/crossplane/crossplane-runtime/pkg/meta" "github.com/crossplane/crossplane-runtime/pkg/password" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/provider-azure/apis/compute/v1alpha3" + "github.com/crossplane/provider-azure/apis/v1alpha1" azure "github.com/crossplane/provider-azure/pkg/clients" "github.com/crossplane/provider-azure/pkg/clients/compute" + "github.com/crossplane/provider-azure/pkg/features" ) // Error strings. @@ -56,22 +55,26 @@ const ( ) // SetupAKSCluster adds a controller that reconciles AKSClusters. -func SetupAKSCluster(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func SetupAKSCluster(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1alpha3.AKSClusterGroupKind) + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } + return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1alpha3.AKSCluster{}). Complete(managed.NewReconciler(mgr, resource.ManagedKind(v1alpha3.AKSClusterGroupVersionKind), managed.WithExternalConnecter(&connecter{client: mgr.GetClient()}), managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connecter struct { diff --git a/pkg/controller/config/config.go b/pkg/controller/config/config.go index 16437649..c04cf358 100644 --- a/pkg/controller/config/config.go +++ b/pkg/controller/config/config.go @@ -17,14 +17,11 @@ limitations under the License. package config import ( - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" - "sigs.k8s.io/controller-runtime/pkg/controller" "sigs.k8s.io/controller-runtime/pkg/source" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/providerconfig" "github.com/crossplane/crossplane-runtime/pkg/resource" @@ -33,7 +30,7 @@ import ( // Setup adds a controller that reconciles ProviderConfigs by accounting for // their current usage. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter) error { +func Setup(mgr ctrl.Manager, o controller.Options) error { name := providerconfig.ControllerName(v1beta1.ProviderConfigGroupKind) of := resource.ProviderConfigKinds{ @@ -43,12 +40,10 @@ func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter) error { return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1beta1.ProviderConfig{}). Watches(&source.Kind{Type: &v1beta1.ProviderConfigUsage{}}, &resource.EnqueueRequestForProviderConfig{}). Complete(providerconfig.NewReconciler(mgr, of, - providerconfig.WithLogger(l.WithValues("controller", name)), + providerconfig.WithLogger(o.Logger.WithValues("controller", name)), providerconfig.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) } diff --git a/pkg/controller/database/cosmosdb/managed.go b/pkg/controller/database/cosmosdb/managed.go index e9b91aa8..5da23524 100644 --- a/pkg/controller/database/cosmosdb/managed.go +++ b/pkg/controller/database/cosmosdb/managed.go @@ -19,26 +19,25 @@ package cosmosdb import ( "context" "net/http" - "time" "github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb" "github.com/pkg/errors" - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/provider-azure/apis/database/v1alpha3" + "github.com/crossplane/provider-azure/apis/v1alpha1" azure "github.com/crossplane/provider-azure/pkg/clients" "github.com/crossplane/provider-azure/pkg/clients/database/cosmosdb" + "github.com/crossplane/provider-azure/pkg/features" ) // Error strings @@ -50,23 +49,27 @@ const ( ) // Setup adds a controller that reconciles NoSQLAccount. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func Setup(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1alpha3.CosmosDBAccountGroupKind) + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } + return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1alpha3.CosmosDBAccount{}). Complete(managed.NewReconciler(mgr, resource.ManagedKind(v1alpha3.CosmosDBAccountGroupVersionKind), managed.WithConnectionPublishers(), managed.WithExternalConnecter(&connecter{kube: mgr.GetClient()}), managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connecter struct { diff --git a/pkg/controller/database/mysqlserver/managed.go b/pkg/controller/database/mysqlserver/managed.go index a778c3ee..d75c5a88 100644 --- a/pkg/controller/database/mysqlserver/managed.go +++ b/pkg/controller/database/mysqlserver/managed.go @@ -19,28 +19,26 @@ package mysqlserver import ( "context" "fmt" - "time" "github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql" - "k8s.io/client-go/util/workqueue" - "sigs.k8s.io/controller-runtime/pkg/controller" - "github.com/pkg/errors" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" "github.com/crossplane/crossplane-runtime/pkg/meta" "github.com/crossplane/crossplane-runtime/pkg/password" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/provider-azure/apis/database/v1beta1" + "github.com/crossplane/provider-azure/apis/v1alpha1" azure "github.com/crossplane/provider-azure/pkg/clients" "github.com/crossplane/provider-azure/pkg/clients/database" + "github.com/crossplane/provider-azure/pkg/features" ) // Error strings. @@ -56,22 +54,26 @@ const ( ) // Setup adds a controller that reconciles MySQLServers. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func Setup(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1beta1.MySQLServerGroupKind) + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } + return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1beta1.MySQLServer{}). Complete(managed.NewReconciler(mgr, resource.ManagedKind(v1beta1.MySQLServerGroupVersionKind), managed.WithExternalConnecter(&connecter{client: mgr.GetClient()}), managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connecter struct { diff --git a/pkg/controller/database/mysqlserverconfiguration/managed.go b/pkg/controller/database/mysqlserverconfiguration/managed.go index e89cc0e0..65ea5370 100644 --- a/pkg/controller/database/mysqlserverconfiguration/managed.go +++ b/pkg/controller/database/mysqlserverconfiguration/managed.go @@ -19,26 +19,25 @@ package mysqlserverconfiguration import ( "context" "fmt" - "time" "github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql" "github.com/pkg/errors" - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/provider-azure/apis/database/v1beta1" + "github.com/crossplane/provider-azure/apis/v1alpha1" azure "github.com/crossplane/provider-azure/pkg/clients" "github.com/crossplane/provider-azure/pkg/clients/database/configuration" + "github.com/crossplane/provider-azure/pkg/features" ) const ( @@ -55,23 +54,27 @@ const ( ) // Setup adds a controller that reconciles MySQLInstances. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func Setup(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1beta1.MySQLServerConfigurationGroupKind) + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } + return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1beta1.MySQLServerConfiguration{}). Complete(managed.NewReconciler(mgr, resource.ManagedKind(v1beta1.MySQLServerConfigurationGroupVersionKind), managed.WithExternalConnecter(&connecter{client: mgr.GetClient()}), managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())), managed.WithInitializers(managed.NewDefaultProviderConfig(mgr.GetClient())), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connecter struct { diff --git a/pkg/controller/database/mysqlserverfirewallrule/managed.go b/pkg/controller/database/mysqlserverfirewallrule/managed.go index b9849c6d..6d84d9f8 100644 --- a/pkg/controller/database/mysqlserverfirewallrule/managed.go +++ b/pkg/controller/database/mysqlserverfirewallrule/managed.go @@ -18,27 +18,26 @@ package mysqlserverfirewallrule import ( "context" - "time" "github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql" "github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/mysqlapi" "github.com/pkg/errors" - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/provider-azure/apis/database/v1alpha3" + "github.com/crossplane/provider-azure/apis/v1alpha1" azure "github.com/crossplane/provider-azure/pkg/clients" "github.com/crossplane/provider-azure/pkg/clients/database" + "github.com/crossplane/provider-azure/pkg/features" ) // Error strings. @@ -51,23 +50,27 @@ const ( ) // Setup adds a controller that reconciles MySQLServerFirewallRules. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func Setup(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1alpha3.MySQLServerFirewallRuleGroupKind) + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } + return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1alpha3.MySQLServerFirewallRule{}). Complete(managed.NewReconciler(mgr, resource.ManagedKind(v1alpha3.MySQLServerFirewallRuleGroupVersionKind), managed.WithConnectionPublishers(), managed.WithExternalConnecter(&connecter{client: mgr.GetClient()}), managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connecter struct { diff --git a/pkg/controller/database/mysqlservervirtualnetworkrule/managed.go b/pkg/controller/database/mysqlservervirtualnetworkrule/managed.go index 969e34b9..43e4faa1 100644 --- a/pkg/controller/database/mysqlservervirtualnetworkrule/managed.go +++ b/pkg/controller/database/mysqlservervirtualnetworkrule/managed.go @@ -18,27 +18,26 @@ package mysqlservervirtualnetworkrule import ( "context" - "time" "github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql" "github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/mysqlapi" "github.com/pkg/errors" - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/provider-azure/apis/database/v1alpha3" + "github.com/crossplane/provider-azure/apis/v1alpha1" azure "github.com/crossplane/provider-azure/pkg/clients" "github.com/crossplane/provider-azure/pkg/clients/database" + "github.com/crossplane/provider-azure/pkg/features" ) // Error strings. @@ -51,23 +50,27 @@ const ( ) // Setup adds a controller that reconciles MySQLServerVirtualNetworkRules. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func Setup(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1alpha3.MySQLServerVirtualNetworkRuleGroupKind) + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } + return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1alpha3.MySQLServerVirtualNetworkRule{}). Complete(managed.NewReconciler(mgr, resource.ManagedKind(v1alpha3.MySQLServerVirtualNetworkRuleGroupVersionKind), managed.WithConnectionPublishers(), managed.WithExternalConnecter(&connecter{client: mgr.GetClient()}), managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connecter struct { diff --git a/pkg/controller/database/postgresqlserver/managed.go b/pkg/controller/database/postgresqlserver/managed.go index 37ff3232..29b54a8d 100644 --- a/pkg/controller/database/postgresqlserver/managed.go +++ b/pkg/controller/database/postgresqlserver/managed.go @@ -19,30 +19,28 @@ package postgresqlserver import ( "context" "fmt" - "time" "github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql" + "github.com/pkg/errors" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types" - "k8s.io/client-go/util/workqueue" - "sigs.k8s.io/controller-runtime/pkg/controller" - - "github.com/pkg/errors" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" "github.com/crossplane/crossplane-runtime/pkg/meta" "github.com/crossplane/crossplane-runtime/pkg/password" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/provider-azure/apis/database/v1beta1" + "github.com/crossplane/provider-azure/apis/v1alpha1" azure "github.com/crossplane/provider-azure/pkg/clients" "github.com/crossplane/provider-azure/pkg/clients/database" + "github.com/crossplane/provider-azure/pkg/features" ) // Error strings. @@ -59,22 +57,26 @@ const ( ) // Setup adds a controller that reconciles PostgreSQLInstances. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func Setup(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1beta1.PostgreSQLServerGroupKind) + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } + return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1beta1.PostgreSQLServer{}). Complete(managed.NewReconciler(mgr, resource.ManagedKind(v1beta1.PostgreSQLServerGroupVersionKind), managed.WithExternalConnecter(&connecter{client: mgr.GetClient()}), managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connecter struct { diff --git a/pkg/controller/database/postgresqlserverconfiguration/managed.go b/pkg/controller/database/postgresqlserverconfiguration/managed.go index a5ec2aa6..1f6410c7 100644 --- a/pkg/controller/database/postgresqlserverconfiguration/managed.go +++ b/pkg/controller/database/postgresqlserverconfiguration/managed.go @@ -19,26 +19,25 @@ package postgresqlserverconfiguration import ( "context" "fmt" - "time" "github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql" - xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" - "github.com/crossplane/crossplane-runtime/pkg/meta" "github.com/pkg/errors" - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" + xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/pkg/meta" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/provider-azure/apis/database/v1beta1" + "github.com/crossplane/provider-azure/apis/v1alpha1" azure "github.com/crossplane/provider-azure/pkg/clients" "github.com/crossplane/provider-azure/pkg/clients/database/configuration" + "github.com/crossplane/provider-azure/pkg/features" ) const ( @@ -54,23 +53,27 @@ const ( ) // Setup adds a controller that reconciles PostgreSQLInstances. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func Setup(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1beta1.PostgreSQLServerConfigurationGroupKind) + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } + return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1beta1.PostgreSQLServerConfiguration{}). Complete(managed.NewReconciler(mgr, resource.ManagedKind(v1beta1.PostgreSQLServerConfigurationGroupVersionKind), managed.WithExternalConnecter(&connecter{client: mgr.GetClient()}), managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())), managed.WithInitializers(managed.NewDefaultProviderConfig(mgr.GetClient())), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connecter struct { diff --git a/pkg/controller/database/postgresqlserverfirewallrule/managed.go b/pkg/controller/database/postgresqlserverfirewallrule/managed.go index 38d732b6..b051dd92 100644 --- a/pkg/controller/database/postgresqlserverfirewallrule/managed.go +++ b/pkg/controller/database/postgresqlserverfirewallrule/managed.go @@ -18,27 +18,26 @@ package postgresqlserverfirewallrule import ( "context" - "time" "github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql" "github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/postgresqlapi" "github.com/pkg/errors" - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/provider-azure/apis/database/v1alpha3" + "github.com/crossplane/provider-azure/apis/v1alpha1" azure "github.com/crossplane/provider-azure/pkg/clients" "github.com/crossplane/provider-azure/pkg/clients/database" + "github.com/crossplane/provider-azure/pkg/features" ) // Error strings. @@ -51,23 +50,27 @@ const ( ) // Setup adds a controller that reconciles PostgreSQLServerFirewallRules. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func Setup(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1alpha3.PostgreSQLServerFirewallRuleGroupKind) + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } + return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1alpha3.PostgreSQLServerFirewallRule{}). Complete(managed.NewReconciler(mgr, resource.ManagedKind(v1alpha3.PostgreSQLServerFirewallRuleGroupVersionKind), managed.WithConnectionPublishers(), managed.WithExternalConnecter(&connecter{client: mgr.GetClient()}), managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connecter struct { diff --git a/pkg/controller/database/postgresqlservervirtualnetworkrule/managed.go b/pkg/controller/database/postgresqlservervirtualnetworkrule/managed.go index e7e13b76..64208c97 100644 --- a/pkg/controller/database/postgresqlservervirtualnetworkrule/managed.go +++ b/pkg/controller/database/postgresqlservervirtualnetworkrule/managed.go @@ -18,29 +18,26 @@ package postgresqlservervirtualnetworkrule import ( "context" - "time" - - "github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/postgresqlapi" - "k8s.io/client-go/util/workqueue" - "sigs.k8s.io/controller-runtime/pkg/controller" "github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql" - - "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" + "github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/postgresqlapi" "github.com/pkg/errors" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" + "github.com/crossplane/crossplane-runtime/pkg/event" "github.com/crossplane/crossplane-runtime/pkg/meta" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/provider-azure/apis/database/v1alpha3" + "github.com/crossplane/provider-azure/apis/v1alpha1" azure "github.com/crossplane/provider-azure/pkg/clients" "github.com/crossplane/provider-azure/pkg/clients/database" + "github.com/crossplane/provider-azure/pkg/features" ) // Error strings. @@ -53,23 +50,27 @@ const ( ) // Setup adds a controller that reconciles PostgreSQLServerVirtualNetworkRules. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func Setup(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1alpha3.PostgreSQLServerVirtualNetworkRuleGroupKind) + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } + return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1alpha3.PostgreSQLServerVirtualNetworkRule{}). Complete(managed.NewReconciler(mgr, resource.ManagedKind(v1alpha3.PostgreSQLServerVirtualNetworkRuleGroupVersionKind), managed.WithConnectionPublishers(), managed.WithExternalConnecter(&connecter{client: mgr.GetClient()}), managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connecter struct { diff --git a/pkg/controller/dns/recordset/managed.go b/pkg/controller/dns/recordset/managed.go index 6405eb00..ef848a6d 100644 --- a/pkg/controller/dns/recordset/managed.go +++ b/pkg/controller/dns/recordset/managed.go @@ -18,25 +18,24 @@ package recordset import ( "context" - "time" "github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns" "github.com/pkg/errors" - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/dns/v1alpha1" + dnsv1alpha1 "github.com/crossplane/provider-azure/apis/dns/v1alpha1" + "github.com/crossplane/provider-azure/apis/v1alpha1" azureclients "github.com/crossplane/provider-azure/pkg/clients" dnsclients "github.com/crossplane/provider-azure/pkg/clients/dns" + "github.com/crossplane/provider-azure/pkg/features" ) // Error strings. @@ -49,23 +48,27 @@ const ( ) // Setup adds a controller that reconciles DNS RecordSets. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { - name := managed.ControllerName(v1alpha1.RecordSetGroupKind) +func Setup(mgr ctrl.Manager, o controller.Options) error { + name := managed.ControllerName(dnsv1alpha1.RecordSetGroupKind) + + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). - For(&v1alpha1.RecordSet{}). + WithOptions(o.ForControllerRuntime()). + For(&dnsv1alpha1.RecordSet{}). Complete(managed.NewReconciler(mgr, - resource.ManagedKind(v1alpha1.RecordSetGroupVersionKind), + resource.ManagedKind(dnsv1alpha1.RecordSetGroupVersionKind), managed.WithConnectionPublishers(), managed.WithExternalConnecter(&connecter{client: mgr.GetClient()}), managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connecter struct { @@ -89,7 +92,7 @@ type external struct { } func (e *external) Observe(ctx context.Context, mg resource.Managed) (managed.ExternalObservation, error) { - r, ok := mg.(*v1alpha1.RecordSet) + r, ok := mg.(*dnsv1alpha1.RecordSet) if !ok { return managed.ExternalObservation{}, errors.New(errNotDNSRecordSet) } @@ -121,7 +124,7 @@ func (e *external) Observe(ctx context.Context, mg resource.Managed) (managed.Ex } func (e *external) Create(ctx context.Context, mg resource.Managed) (managed.ExternalCreation, error) { - r, ok := mg.(*v1alpha1.RecordSet) + r, ok := mg.(*dnsv1alpha1.RecordSet) if !ok { return managed.ExternalCreation{}, errors.New(errNotDNSRecordSet) } @@ -130,7 +133,7 @@ func (e *external) Create(ctx context.Context, mg resource.Managed) (managed.Ext } func (e *external) Update(ctx context.Context, mg resource.Managed) (managed.ExternalUpdate, error) { - r, ok := mg.(*v1alpha1.RecordSet) + r, ok := mg.(*dnsv1alpha1.RecordSet) if !ok { return managed.ExternalUpdate{}, errors.New(errNotDNSRecordSet) } @@ -146,7 +149,7 @@ func (e *external) Update(ctx context.Context, mg resource.Managed) (managed.Ext } func (e *external) Delete(ctx context.Context, mg resource.Managed) error { - r, ok := mg.(*v1alpha1.RecordSet) + r, ok := mg.(*dnsv1alpha1.RecordSet) if !ok { return errors.New(errNotDNSRecordSet) } diff --git a/pkg/controller/dns/zone/managed.go b/pkg/controller/dns/zone/managed.go index 52720048..aecac3b7 100644 --- a/pkg/controller/dns/zone/managed.go +++ b/pkg/controller/dns/zone/managed.go @@ -18,25 +18,24 @@ package zone import ( "context" - "time" dnsapi "github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns" "github.com/pkg/errors" - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/dns/v1alpha1" + dnsv1alpha1 "github.com/crossplane/provider-azure/apis/dns/v1alpha1" + "github.com/crossplane/provider-azure/apis/v1alpha1" azureclients "github.com/crossplane/provider-azure/pkg/clients" "github.com/crossplane/provider-azure/pkg/clients/dns" + "github.com/crossplane/provider-azure/pkg/features" ) // Error strings. @@ -49,23 +48,27 @@ const ( ) // Setup adds a controller that reconciles DNS Zones. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { - name := managed.ControllerName(v1alpha1.ZoneGroupKind) +func Setup(mgr ctrl.Manager, o controller.Options) error { + name := managed.ControllerName(dnsv1alpha1.ZoneGroupKind) + + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). - For(&v1alpha1.Zone{}). + WithOptions(o.ForControllerRuntime()). + For(&dnsv1alpha1.Zone{}). Complete(managed.NewReconciler(mgr, - resource.ManagedKind(v1alpha1.ZoneGroupVersionKind), + resource.ManagedKind(dnsv1alpha1.ZoneGroupVersionKind), managed.WithConnectionPublishers(), managed.WithExternalConnecter(&connecter{client: mgr.GetClient()}), managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connecter struct { @@ -89,7 +92,7 @@ type external struct { } func (e *external) Observe(ctx context.Context, mg resource.Managed) (managed.ExternalObservation, error) { - z, ok := mg.(*v1alpha1.Zone) + z, ok := mg.(*dnsv1alpha1.Zone) if !ok { return managed.ExternalObservation{}, errors.New(errNotDNSZone) } @@ -115,7 +118,7 @@ func (e *external) Observe(ctx context.Context, mg resource.Managed) (managed.Ex } func (e *external) Create(ctx context.Context, mg resource.Managed) (managed.ExternalCreation, error) { - z, ok := mg.(*v1alpha1.Zone) + z, ok := mg.(*dnsv1alpha1.Zone) if !ok { return managed.ExternalCreation{}, errors.New(errNotDNSZone) } @@ -124,7 +127,7 @@ func (e *external) Create(ctx context.Context, mg resource.Managed) (managed.Ext } func (e *external) Update(ctx context.Context, mg resource.Managed) (managed.ExternalUpdate, error) { - z, ok := mg.(*v1alpha1.Zone) + z, ok := mg.(*dnsv1alpha1.Zone) if !ok { return managed.ExternalUpdate{}, errors.New(errNotDNSZone) } @@ -140,7 +143,7 @@ func (e *external) Update(ctx context.Context, mg resource.Managed) (managed.Ext } func (e *external) Delete(ctx context.Context, mg resource.Managed) error { - z, ok := mg.(*v1alpha1.Zone) + z, ok := mg.(*dnsv1alpha1.Zone) if !ok { return errors.New(errNotDNSZone) } diff --git a/pkg/controller/keyvault/secret/keyvault_secret.go b/pkg/controller/keyvault/secret/keyvault_secret.go index 741f6e27..e972842c 100644 --- a/pkg/controller/keyvault/secret/keyvault_secret.go +++ b/pkg/controller/keyvault/secret/keyvault_secret.go @@ -18,27 +18,26 @@ package secret import ( "context" - "time" "github.com/Azure/azure-sdk-for-go/services/keyvault/v7.0/keyvault" "github.com/Azure/azure-sdk-for-go/services/keyvault/v7.0/keyvault/keyvaultapi" "github.com/google/go-cmp/cmp" "github.com/pkg/errors" - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/keyvault/v1alpha1" + keyvaultv1alpha1 "github.com/crossplane/provider-azure/apis/keyvault/v1alpha1" + "github.com/crossplane/provider-azure/apis/v1alpha1" azure "github.com/crossplane/provider-azure/pkg/clients" secretclients "github.com/crossplane/provider-azure/pkg/clients/keyvault/secret" + "github.com/crossplane/provider-azure/pkg/features" ) const ( @@ -53,21 +52,25 @@ const ( ) // SetupSecret adds a controller that reconciles KeyVaultSecret resources. -func SetupSecret(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { - name := managed.ControllerName(v1alpha1.KeyVaultSecretGroupKind) +func SetupSecret(mgr ctrl.Manager, o controller.Options) error { + name := managed.ControllerName(keyvaultv1alpha1.KeyVaultSecretGroupKind) + + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). - For(&v1alpha1.KeyVaultSecret{}). + WithOptions(o.ForControllerRuntime()). + For(&keyvaultv1alpha1.KeyVaultSecret{}). Complete(managed.NewReconciler(mgr, - resource.ManagedKind(v1alpha1.KeyVaultSecretGroupVersionKind), + resource.ManagedKind(keyvaultv1alpha1.KeyVaultSecretGroupVersionKind), managed.WithExternalConnecter(&connector{kube: mgr.GetClient()}), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connector struct { @@ -90,7 +93,7 @@ type external struct { } func (c *external) Observe(ctx context.Context, mg resource.Managed) (managed.ExternalObservation, error) { - cr, ok := mg.(*v1alpha1.KeyVaultSecret) + cr, ok := mg.(*keyvaultv1alpha1.KeyVaultSecret) if !ok { return managed.ExternalObservation{}, errors.New(errNotSecret) } @@ -124,7 +127,7 @@ func (c *external) Observe(ctx context.Context, mg resource.Managed) (managed.Ex } func (c *external) Create(ctx context.Context, mg resource.Managed) (managed.ExternalCreation, error) { - cr, ok := mg.(*v1alpha1.KeyVaultSecret) + cr, ok := mg.(*keyvaultv1alpha1.KeyVaultSecret) if !ok { return managed.ExternalCreation{}, errors.New(errNotSecret) } @@ -149,7 +152,7 @@ func (c *external) Create(ctx context.Context, mg resource.Managed) (managed.Ext } func (c *external) Update(ctx context.Context, mg resource.Managed) (managed.ExternalUpdate, error) { - cr, ok := mg.(*v1alpha1.KeyVaultSecret) + cr, ok := mg.(*keyvaultv1alpha1.KeyVaultSecret) if !ok { return managed.ExternalUpdate{}, errors.New(errNotSecret) } @@ -174,7 +177,7 @@ func (c *external) Update(ctx context.Context, mg resource.Managed) (managed.Ext } func (c *external) Delete(ctx context.Context, mg resource.Managed) error { - cr, ok := mg.(*v1alpha1.KeyVaultSecret) + cr, ok := mg.(*keyvaultv1alpha1.KeyVaultSecret) if !ok { return errors.New(errNotSecret) } diff --git a/pkg/controller/network/publicipaddress/managed.go b/pkg/controller/network/publicipaddress/managed.go index e8e6bde4..00514fb5 100644 --- a/pkg/controller/network/publicipaddress/managed.go +++ b/pkg/controller/network/publicipaddress/managed.go @@ -18,27 +18,26 @@ package publicipaddress import ( "context" - "time" azurenetwork "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network" "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/networkapi" "github.com/pkg/errors" - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/provider-azure/apis/network/v1alpha3" + "github.com/crossplane/provider-azure/apis/v1alpha1" azureclients "github.com/crossplane/provider-azure/pkg/clients" "github.com/crossplane/provider-azure/pkg/clients/network" + "github.com/crossplane/provider-azure/pkg/features" ) // Error strings. @@ -52,23 +51,27 @@ const ( ) // Setup adds a controller that reconciles Public Ip Address. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func Setup(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1alpha3.PublicIPAddressGroupKind) + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } + return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1alpha3.PublicIPAddress{}). Complete(managed.NewReconciler(mgr, resource.ManagedKind(v1alpha3.PublicIPAddressGroupVersionKind), managed.WithConnectionPublishers(), managed.WithExternalConnecter(&connecter{client: mgr.GetClient()}), managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connecter struct { diff --git a/pkg/controller/network/subnet/managed.go b/pkg/controller/network/subnet/managed.go index a7b4f209..0d5d2152 100644 --- a/pkg/controller/network/subnet/managed.go +++ b/pkg/controller/network/subnet/managed.go @@ -18,27 +18,26 @@ package subnet import ( "context" - "time" azurenetwork "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network" "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/networkapi" "github.com/pkg/errors" - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/provider-azure/apis/network/v1alpha3" + "github.com/crossplane/provider-azure/apis/v1alpha1" azureclients "github.com/crossplane/provider-azure/pkg/clients" "github.com/crossplane/provider-azure/pkg/clients/network" + "github.com/crossplane/provider-azure/pkg/features" ) // Error strings. @@ -51,23 +50,27 @@ const ( ) // Setup adds a controller that reconciles Subnets. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func Setup(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1alpha3.SubnetGroupKind) + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } + return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1alpha3.Subnet{}). Complete(managed.NewReconciler(mgr, resource.ManagedKind(v1alpha3.SubnetGroupVersionKind), managed.WithConnectionPublishers(), managed.WithExternalConnecter(&connecter{client: mgr.GetClient()}), managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connecter struct { diff --git a/pkg/controller/network/virtualnetwork/managed.go b/pkg/controller/network/virtualnetwork/managed.go index 12c4b87d..361d48c9 100644 --- a/pkg/controller/network/virtualnetwork/managed.go +++ b/pkg/controller/network/virtualnetwork/managed.go @@ -18,27 +18,26 @@ package virtualnetwork import ( "context" - "time" azurenetwork "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network" "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/networkapi" "github.com/pkg/errors" - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/provider-azure/apis/network/v1alpha3" + "github.com/crossplane/provider-azure/apis/v1alpha1" azureclients "github.com/crossplane/provider-azure/pkg/clients" "github.com/crossplane/provider-azure/pkg/clients/network" + "github.com/crossplane/provider-azure/pkg/features" ) // Error strings. @@ -51,23 +50,27 @@ const ( ) // Setup adds a controller that reconciles VirtualNetworks. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func Setup(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1alpha3.VirtualNetworkGroupKind) + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } + return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1alpha3.VirtualNetwork{}). Complete(managed.NewReconciler(mgr, resource.ManagedKind(v1alpha3.VirtualNetworkGroupVersionKind), managed.WithConnectionPublishers(), managed.WithExternalConnecter(&connecter{client: mgr.GetClient()}), managed.WithReferenceResolver(managed.NewAPISimpleReferenceResolver(mgr.GetClient())), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connecter struct { diff --git a/pkg/controller/resourcegroup/resourcegroup.go b/pkg/controller/resourcegroup/resourcegroup.go index 28283bc5..f184f6cd 100644 --- a/pkg/controller/resourcegroup/resourcegroup.go +++ b/pkg/controller/resourcegroup/resourcegroup.go @@ -19,29 +19,26 @@ package resourcegroup import ( "context" "net/http" - "time" "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources" - "k8s.io/client-go/util/workqueue" - "sigs.k8s.io/controller-runtime/pkg/controller" - - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/Azure/go-autorest/autorest/to" "github.com/pkg/errors" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/event" - "github.com/crossplane/crossplane-runtime/pkg/logging" "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" + "github.com/crossplane/provider-azure/apis/v1alpha1" "github.com/crossplane/provider-azure/apis/v1alpha3" + azure "github.com/crossplane/provider-azure/pkg/clients" "github.com/crossplane/provider-azure/pkg/clients/resourcegroup" + "github.com/crossplane/provider-azure/pkg/features" ) // Error strings @@ -54,22 +51,26 @@ const ( ) // Setup adds a controller that reconciles ResourceGroups. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func Setup(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1alpha3.ResourceGroupGroupKind) + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.Features.Enabled(features.EnableAlphaExternalSecretStores) { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), v1alpha1.StoreConfigGroupVersionKind)) + } + return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1alpha3.ResourceGroup{}). Complete(managed.NewReconciler(mgr, resource.ManagedKind(v1alpha3.ResourceGroupGroupVersionKind), managed.WithConnectionPublishers(), managed.WithExternalConnecter(&connecter{kube: mgr.GetClient()}), - managed.WithPollInterval(poll), - managed.WithLogger(l.WithValues("controller", name)), - managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))))) + managed.WithPollInterval(o.PollInterval), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithConnectionPublishers(cps...))) } type connecter struct { diff --git a/pkg/controller/storage/account/account.go b/pkg/controller/storage/account/account.go index e30d9941..223c369a 100644 --- a/pkg/controller/storage/account/account.go +++ b/pkg/controller/storage/account/account.go @@ -27,16 +27,14 @@ import ( corev1 "k8s.io/api/core/v1" kerrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/types" - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" "sigs.k8s.io/controller-runtime/pkg/reconcile" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/logging" "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" @@ -71,22 +69,22 @@ type Reconciler struct { } // Setup adds a controller that reconciles Accounts. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func Setup(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1alpha3.AccountGroupKind) + // NOTE(turkenh): We cannot add support for external secret stores to this + // resource since it does not use Crossplane Runtime Managed Reconciler. r := &Reconciler{ Client: mgr.GetClient(), syncdeleterMaker: &accountSyncdeleterMaker{mgr.GetClient()}, Initializer: managed.NewNameAsExternalName(mgr.GetClient()), - poll: poll, - log: l.WithValues("controller", name), + poll: o.PollInterval, + log: o.Logger.WithValues("controller", name), } return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1alpha3.Account{}). Owns(&corev1.Secret{}). Complete(r) diff --git a/pkg/controller/storage/container/container.go b/pkg/controller/storage/container/container.go index 65d0ddb5..4f03b0a8 100644 --- a/pkg/controller/storage/container/container.go +++ b/pkg/controller/storage/container/container.go @@ -27,22 +27,19 @@ import ( corev1 "k8s.io/api/core/v1" kerrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/types" - "k8s.io/client-go/util/workqueue" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/controller" "sigs.k8s.io/controller-runtime/pkg/reconcile" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/controller" "github.com/crossplane/crossplane-runtime/pkg/logging" "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/apis/storage/v1alpha3" + azure "github.com/crossplane/provider-azure/pkg/clients" "github.com/crossplane/provider-azure/pkg/clients/storage" ) @@ -75,22 +72,20 @@ type Reconciler struct { } // Setup adds a controller that reconciles Containers. -func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, poll time.Duration) error { +func Setup(mgr ctrl.Manager, o controller.Options) error { name := managed.ControllerName(v1alpha3.ContainerGroupKind) r := &Reconciler{ Client: mgr.GetClient(), syncdeleterMaker: &containerSyncdeleterMaker{mgr.GetClient()}, Initializer: managed.NewNameAsExternalName(mgr.GetClient()), - poll: poll, - log: l.WithValues("controller", name), + poll: o.PollInterval, + log: o.Logger.WithValues("controller", name), } return ctrl.NewControllerManagedBy(mgr). Named(name). - WithOptions(controller.Options{ - RateLimiter: ratelimiter.NewDefaultManagedRateLimiter(rl), - }). + WithOptions(o.ForControllerRuntime()). For(&v1alpha3.Container{}). Complete(r) } diff --git a/pkg/features/features.go b/pkg/features/features.go new file mode 100644 index 00000000..8ab0c0bb --- /dev/null +++ b/pkg/features/features.go @@ -0,0 +1,27 @@ +/* + Copyright 2022 The Crossplane Authors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +package features + +import "github.com/crossplane/crossplane-runtime/pkg/feature" + +// Feature flags. +const ( + // EnableAlphaExternalSecretStores enables alpha support for + // External Secret Stores. See the below design for more details. + // https://github.com/crossplane/crossplane/blob/390ddd/design/design-doc-external-secret-stores.md + EnableAlphaExternalSecretStores feature.Flag = "EnableAlphaExternalSecretStores" +) From 4bdbf19ab0190a75da2e40048d92b3b49e0cd282 Mon Sep 17 00:00:00 2001 From: Hasan Turken Date: Fri, 1 Apr 2022 12:01:27 +0300 Subject: [PATCH 06/12] Add example for StoreConfig Signed-off-by: Hasan Turken --- examples/storeconfig/vault.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 examples/storeconfig/vault.yaml diff --git a/examples/storeconfig/vault.yaml b/examples/storeconfig/vault.yaml new file mode 100644 index 00000000..13fdf3e9 --- /dev/null +++ b/examples/storeconfig/vault.yaml @@ -0,0 +1,19 @@ +apiVersion: azure.crossplane.io/v1alpha1 +kind: StoreConfig +metadata: + name: vault +spec: + type: Vault + defaultScope: crossplane-system + vault: + server: http://vault.vault-system:8200 + mountPath: secret/ + version: v2 + auth: + method: Token + token: + source: Secret + secretRef: + namespace: crossplane-system + name: vault-token + key: token \ No newline at end of file From 49207096f357295ffff9f10e21140046c388104b Mon Sep 17 00:00:00 2001 From: Hasan Turken Date: Fri, 1 Apr 2022 15:22:25 +0300 Subject: [PATCH 07/12] Bump go version to 1.17 Signed-off-by: Hasan Turken --- go.mod | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- go.sum | 1 - 2 files changed, 106 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 0f2513f9..b19db173 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,8 @@ module github.com/crossplane/provider-azure -go 1.13 +go 1.17 require ( - github.com/Azure/azure-pipeline-go v0.2.2 // indirect github.com/Azure/azure-sdk-for-go v61.4.0+incompatible github.com/Azure/azure-storage-blob-go v0.7.0 // azure-sdk-for-go repository does not use go.mod so we need to maintain this dependency manually. @@ -12,13 +11,10 @@ require ( github.com/Azure/go-autorest/autorest/azure/auth v0.4.0 github.com/Azure/go-autorest/autorest/date v0.3.0 github.com/Azure/go-autorest/autorest/to v0.3.0 - github.com/Azure/go-autorest/autorest/validation v0.2.0 // indirect github.com/crossplane/crossplane-runtime v0.15.1-0.20220315141414-988c9ba9c255 github.com/crossplane/crossplane-tools v0.0.0-20220310165030-1f43fc12793e - github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/google/go-cmp v0.5.6 github.com/google/uuid v1.1.2 - github.com/mattn/go-ieproxy v0.0.0-20190805055040-f9202b1cfdeb // indirect github.com/mitchellh/copystructure v1.2.0 github.com/onsi/gomega v1.17.0 github.com/pkg/errors v0.9.1 @@ -29,3 +25,108 @@ require ( sigs.k8s.io/controller-runtime v0.11.0 sigs.k8s.io/controller-tools v0.8.0 ) + +require ( + github.com/Azure/azure-pipeline-go v0.2.2 // indirect + github.com/Azure/go-autorest v14.2.0+incompatible // indirect + github.com/Azure/go-autorest/autorest/azure/cli v0.3.0 // indirect + github.com/Azure/go-autorest/autorest/validation v0.2.0 // indirect + github.com/Azure/go-autorest/logger v0.2.1 // indirect + github.com/Azure/go-autorest/tracing v0.6.0 // indirect + github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect + github.com/alecthomas/units v0.0.0-20210912230133-d1bdfacee922 // indirect + github.com/armon/go-metrics v0.3.9 // indirect + github.com/armon/go-radix v1.0.0 // indirect + github.com/beorn7/perks v1.0.1 // indirect + github.com/cenkalti/backoff/v3 v3.0.0 // indirect + github.com/cespare/xxhash/v2 v2.1.1 // indirect + github.com/dave/jennifer v1.4.1 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/dimchansky/utfbom v1.1.0 // indirect + github.com/evanphx/json-patch v4.12.0+incompatible // indirect + github.com/fatih/color v1.12.0 // indirect + github.com/form3tech-oss/jwt-go v3.2.3+incompatible // indirect + github.com/fsnotify/fsnotify v1.5.1 // indirect + github.com/go-logr/logr v1.2.0 // indirect + github.com/go-logr/zapr v1.2.0 // indirect + github.com/gobuffalo/flect v0.2.3 // indirect + github.com/gofrs/uuid v4.2.0+incompatible // indirect + github.com/gogo/protobuf v1.3.2 // indirect + github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/golang/protobuf v1.5.2 // indirect + github.com/golang/snappy v0.0.4 // indirect + github.com/google/gofuzz v1.1.0 // indirect + github.com/googleapis/gnostic v0.5.5 // indirect + github.com/hashicorp/errwrap v1.1.0 // indirect + github.com/hashicorp/go-cleanhttp v0.5.2 // indirect + github.com/hashicorp/go-hclog v0.16.2 // indirect + github.com/hashicorp/go-immutable-radix v1.3.1 // indirect + github.com/hashicorp/go-multierror v1.1.1 // indirect + github.com/hashicorp/go-plugin v1.4.3 // indirect + github.com/hashicorp/go-retryablehttp v0.6.6 // indirect + github.com/hashicorp/go-rootcerts v1.0.2 // indirect + github.com/hashicorp/go-secure-stdlib/mlock v0.1.1 // indirect + github.com/hashicorp/go-secure-stdlib/parseutil v0.1.1 // indirect + github.com/hashicorp/go-secure-stdlib/strutil v0.1.1 // indirect + github.com/hashicorp/go-sockaddr v1.0.2 // indirect + github.com/hashicorp/go-uuid v1.0.2 // indirect + github.com/hashicorp/go-version v1.2.0 // indirect + github.com/hashicorp/golang-lru v0.5.4 // indirect + github.com/hashicorp/hcl v1.0.0 // indirect + github.com/hashicorp/vault/api v1.3.1 // indirect + github.com/hashicorp/vault/sdk v0.3.0 // indirect + github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb // indirect + github.com/imdario/mergo v0.3.12 // indirect + github.com/inconshreveable/mousetrap v1.0.0 // indirect + github.com/json-iterator/go v1.1.12 // indirect + github.com/mattn/go-colorable v0.1.8 // indirect + github.com/mattn/go-ieproxy v0.0.0-20190805055040-f9202b1cfdeb // indirect + github.com/mattn/go-isatty v0.0.12 // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect + github.com/mitchellh/go-homedir v1.1.0 // indirect + github.com/mitchellh/go-testing-interface v1.0.0 // indirect + github.com/mitchellh/mapstructure v1.4.2 // indirect + github.com/mitchellh/reflectwalk v1.0.2 // indirect + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/oklog/run v1.0.0 // indirect + github.com/pierrec/lz4 v2.5.2+incompatible // indirect + github.com/prometheus/client_golang v1.11.0 // indirect + github.com/prometheus/client_model v0.2.0 // indirect + github.com/prometheus/common v0.28.0 // indirect + github.com/prometheus/procfs v0.6.0 // indirect + github.com/ryanuber/go-glob v1.0.0 // indirect + github.com/spf13/afero v1.8.0 // indirect + github.com/spf13/cobra v1.2.1 // indirect + github.com/spf13/pflag v1.0.5 // indirect + go.uber.org/atomic v1.9.0 // indirect + go.uber.org/multierr v1.6.0 // indirect + go.uber.org/zap v1.19.1 // indirect + golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa // indirect + golang.org/x/mod v0.4.2 // indirect + golang.org/x/net v0.0.0-20210825183410-e898025ed96a // indirect + golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect + golang.org/x/sys v0.0.0-20211029165221-6e7872819dc8 // indirect + golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect + golang.org/x/text v0.3.7 // indirect + golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect + golang.org/x/tools v0.1.6-0.20210820212750-d4cc65f0b2ff // indirect + golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect + gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect + google.golang.org/appengine v1.6.7 // indirect + google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2 // indirect + google.golang.org/grpc v1.41.0 // indirect + google.golang.org/protobuf v1.27.1 // indirect + gopkg.in/inf.v0 v0.9.1 // indirect + gopkg.in/square/go-jose.v2 v2.5.1 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect + gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect + k8s.io/apiextensions-apiserver v0.23.0 // indirect + k8s.io/component-base v0.23.0 // indirect + k8s.io/klog/v2 v2.30.0 // indirect + k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 // indirect + k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b // indirect + sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6 // indirect + sigs.k8s.io/structured-merge-diff/v4 v4.2.0 // indirect + sigs.k8s.io/yaml v1.3.0 // indirect +) diff --git a/go.sum b/go.sum index 04234fe5..2a7ce049 100644 --- a/go.sum +++ b/go.sum @@ -713,7 +713,6 @@ golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRu golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug= golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= From 13677a0e7a366851a36fb5066eb85c65f6b1457a Mon Sep 17 00:00:00 2001 From: Hasan Turken Date: Wed, 6 Apr 2022 18:58:47 +0300 Subject: [PATCH 08/12] Fix unit tests by using crossplane runtime error package Signed-off-by: Hasan Turken --- pkg/clients/keyvault/secret/keyvault_secret.go | 2 +- pkg/clients/keyvault/secret/keyvault_secret_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/clients/keyvault/secret/keyvault_secret.go b/pkg/clients/keyvault/secret/keyvault_secret.go index c57f1e49..902c504e 100644 --- a/pkg/clients/keyvault/secret/keyvault_secret.go +++ b/pkg/clients/keyvault/secret/keyvault_secret.go @@ -24,11 +24,11 @@ import ( "github.com/Azure/azure-sdk-for-go/services/keyvault/v7.0/keyvault" "github.com/Azure/go-autorest/autorest/date" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/errors" "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" "github.com/mitchellh/copystructure" - "github.com/pkg/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs.k8s.io/controller-runtime/pkg/client" diff --git a/pkg/clients/keyvault/secret/keyvault_secret_test.go b/pkg/clients/keyvault/secret/keyvault_secret_test.go index c49278c0..ee966c12 100644 --- a/pkg/clients/keyvault/secret/keyvault_secret_test.go +++ b/pkg/clients/keyvault/secret/keyvault_secret_test.go @@ -24,9 +24,9 @@ import ( "github.com/Azure/azure-sdk-for-go/services/keyvault/v7.0/keyvault" "github.com/Azure/go-autorest/autorest/date" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + "github.com/crossplane/crossplane-runtime/pkg/errors" "github.com/crossplane/crossplane-runtime/pkg/test" "github.com/google/go-cmp/cmp" - "github.com/pkg/errors" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs.k8s.io/controller-runtime/pkg/client" From 64d6995ac0d38cedb527594f76f176d8f46d5ac9 Mon Sep 17 00:00:00 2001 From: Alper Rifat Ulucinar Date: Thu, 7 Apr 2022 13:56:43 +0300 Subject: [PATCH 09/12] Bump linter version Signed-off-by: Alper Rifat Ulucinar --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00487c73..7ddf30ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,6 +46,11 @@ jobs: with: submodules: true + - name: Setup Go + uses: actions/setup-go@v2 + with: + go-version: ${{ env.GO_VERSION }} + - name: Find the Go Build Cache id: go run: echo "::set-output name=cache::$(make go.cachedir)" @@ -72,10 +77,9 @@ jobs: # version, but we prefer this action because it leaves 'annotations' (i.e. # it comments on PRs to point out linter violations). - name: Lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: version: ${{ env.GOLANGCI_VERSION }} - skip-go-installation: true check-diff: runs-on: ubuntu-18.04 From dcd50e3f72f8c5c8db42a6696df439016eeffb7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergen=20Yal=C3=A7=C4=B1n?= Date: Fri, 13 May 2022 18:30:44 +0300 Subject: [PATCH 10/12] Add nil check for IPConfigurationPropertiesFormat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sergen Yalçın --- pkg/clients/network/network.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/clients/network/network.go b/pkg/clients/network/network.go index ddd011c4..62667c71 100644 --- a/pkg/clients/network/network.go +++ b/pkg/clients/network/network.go @@ -182,7 +182,7 @@ func GeneratePublicIPAddressObservation(az networkmgmt.PublicIPAddress) *v1alpha v.ID = azure.ToString(az.ID) v.Address = azure.ToString(az.IPAddress) v.Version = string(az.PublicIPAddressVersion) - if az.IPConfiguration != nil { + if az.PublicIPAddressPropertiesFormat != nil && az.PublicIPAddressPropertiesFormat.IPConfiguration != nil && az.PublicIPAddressPropertiesFormat.IPConfiguration.IPConfigurationPropertiesFormat != nil { v.IPConfiguration = &v1alpha3.IPConfiguration{ PrivateIPAllocationMethod: string(az.IPConfiguration.PrivateIPAllocationMethod), PrivateIPAddress: az.IPConfiguration.PrivateIPAddress, From 62b672f0609a052e3fe68c875d86c21a68cb6d35 Mon Sep 17 00:00:00 2001 From: Nic Cope Date: Thu, 26 May 2022 18:53:24 -0700 Subject: [PATCH 11/12] Move from crossplane org to crossplane-contrib This commit is generated using `find -exec sed`. Signed-off-by: Nic Cope --- apis/azure.go | 22 +++++----- apis/cache/v1beta1/referencers.go | 2 +- apis/compute/v1alpha3/referencers.go | 4 +- apis/database/v1alpha3/referencers.go | 6 +-- apis/database/v1beta1/configuration_types.go | 2 +- apis/database/v1beta1/referencers.go | 2 +- apis/database/v1beta1/sql_types.go | 2 +- apis/dns/v1alpha1/referencers.go | 2 +- apis/network/v1alpha3/referencers.go | 2 +- apis/storage/v1alpha3/test/account.go | 2 +- apis/storage/v1alpha3/test/container.go | 2 +- cmd/provider/main.go | 8 ++-- pkg/clients/azure.go | 4 +- pkg/clients/azure_test.go | 2 +- pkg/clients/compute/aks.go | 4 +- pkg/clients/compute/fake/fake.go | 2 +- .../database/configuration/common_test.go | 2 +- pkg/clients/database/configuration/mysql.go | 6 +-- .../database/configuration/mysql_test.go | 2 +- .../database/configuration/postgresql.go | 6 +-- .../database/configuration/postgresql_test.go | 2 +- pkg/clients/database/cosmosdb/account.go | 4 +- pkg/clients/database/cosmosdb/account_test.go | 4 +- pkg/clients/database/mysql.go | 10 ++--- pkg/clients/database/mysql_test.go | 6 +-- pkg/clients/database/postgresql.go | 10 ++--- pkg/clients/database/postgresql_test.go | 6 +-- pkg/clients/database/util.go | 2 +- pkg/clients/dns/dns.go | 4 +- pkg/clients/dns/dns_test.go | 4 +- .../keyvault/secret/keyvault_secret.go | 4 +- .../keyvault/secret/keyvault_secret_test.go | 4 +- pkg/clients/network/network.go | 4 +- pkg/clients/network/network_test.go | 4 +- pkg/clients/redis/redis.go | 4 +- pkg/clients/redis/redis_test.go | 4 +- pkg/clients/resourcegroup/resourcegroup.go | 4 +- .../resourcegroup/resourcegroup_test.go | 4 +- pkg/clients/storage/account.go | 2 +- pkg/clients/storage/container.go | 2 +- pkg/clients/storage/fake/account.go | 2 +- pkg/clients/storage/fake/container.go | 2 +- pkg/controller/azure.go | 42 +++++++++---------- pkg/controller/cache/redis.go | 10 ++--- pkg/controller/cache/redis_test.go | 8 ++-- pkg/controller/compute/managed.go | 10 ++--- pkg/controller/compute/managed_test.go | 4 +- pkg/controller/config/config.go | 2 +- pkg/controller/database/cosmosdb/managed.go | 10 ++--- .../database/cosmosdb/managed_test.go | 6 +-- .../database/mysqlserver/managed.go | 10 ++--- .../database/mysqlserver/managed_test.go | 6 +-- .../mysqlserverconfiguration/managed.go | 10 ++--- .../mysqlserverconfiguration/managed_test.go | 4 +- .../mysqlserverfirewallrule/managed.go | 10 ++--- .../mysqlserverfirewallrule/managed_test.go | 6 +-- .../mysqlservervirtualnetworkrule/managed.go | 10 ++--- .../managed_test.go | 6 +-- .../database/postgresqlserver/managed.go | 10 ++--- .../database/postgresqlserver/managed_test.go | 6 +-- .../postgresqlserverconfiguration/managed.go | 10 ++--- .../managed_test.go | 4 +- .../postgresqlserverfirewallrule/managed.go | 10 ++--- .../managed_test.go | 6 +-- .../managed.go | 10 ++--- .../managed_test.go | 6 +-- pkg/controller/dns/recordset/managed.go | 10 ++--- pkg/controller/dns/recordset/managed_test.go | 2 +- pkg/controller/dns/zone/managed.go | 10 ++--- pkg/controller/dns/zone/managed_test.go | 2 +- .../keyvault/secret/keyvault_secret.go | 10 ++--- .../keyvault/secret/keyvault_secret_test.go | 6 +-- .../network/publicipaddress/managed.go | 10 ++--- .../network/publicipaddress/managed_test.go | 6 +-- pkg/controller/network/subnet/managed.go | 10 ++--- pkg/controller/network/subnet/managed_test.go | 6 +-- .../network/virtualnetwork/managed.go | 10 ++--- .../network/virtualnetwork/managed_test.go | 6 +-- pkg/controller/resourcegroup/resourcegroup.go | 10 ++--- .../resourcegroup/resourcegroup_test.go | 4 +- pkg/controller/storage/account/account.go | 6 +-- .../storage/account/account_test.go | 12 +++--- pkg/controller/storage/container/container.go | 6 +-- .../storage/container/container_test.go | 10 ++--- 84 files changed, 264 insertions(+), 264 deletions(-) diff --git a/apis/azure.go b/apis/azure.go index e8bb9360..b1ad1604 100644 --- a/apis/azure.go +++ b/apis/azure.go @@ -20,17 +20,17 @@ package apis import ( "k8s.io/apimachinery/pkg/runtime" - cachev1beta1 "github.com/crossplane/provider-azure/apis/cache/v1beta1" - computev1alpha3 "github.com/crossplane/provider-azure/apis/compute/v1alpha3" - databasev1alpha3 "github.com/crossplane/provider-azure/apis/database/v1alpha3" - databasev1beta1 "github.com/crossplane/provider-azure/apis/database/v1beta1" - dnsv1alpha1 "github.com/crossplane/provider-azure/apis/dns/v1alpha1" - keyvaultv1alpha1 "github.com/crossplane/provider-azure/apis/keyvault/v1alpha1" - networkv1alpha3 "github.com/crossplane/provider-azure/apis/network/v1alpha3" - storagev1alpha3 "github.com/crossplane/provider-azure/apis/storage/v1alpha3" - azurev1alpha1 "github.com/crossplane/provider-azure/apis/v1alpha1" - azurev1alpha3 "github.com/crossplane/provider-azure/apis/v1alpha3" - azurev1beta1 "github.com/crossplane/provider-azure/apis/v1beta1" + cachev1beta1 "github.com/crossplane-contrib/provider-azure/apis/cache/v1beta1" + computev1alpha3 "github.com/crossplane-contrib/provider-azure/apis/compute/v1alpha3" + databasev1alpha3 "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + databasev1beta1 "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + dnsv1alpha1 "github.com/crossplane-contrib/provider-azure/apis/dns/v1alpha1" + keyvaultv1alpha1 "github.com/crossplane-contrib/provider-azure/apis/keyvault/v1alpha1" + networkv1alpha3 "github.com/crossplane-contrib/provider-azure/apis/network/v1alpha3" + storagev1alpha3 "github.com/crossplane-contrib/provider-azure/apis/storage/v1alpha3" + azurev1alpha1 "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azurev1alpha3 "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" + azurev1beta1 "github.com/crossplane-contrib/provider-azure/apis/v1beta1" ) func init() { diff --git a/apis/cache/v1beta1/referencers.go b/apis/cache/v1beta1/referencers.go index 0fc0f816..ddc83546 100644 --- a/apis/cache/v1beta1/referencers.go +++ b/apis/cache/v1beta1/referencers.go @@ -24,7 +24,7 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reference" - "github.com/crossplane/provider-azure/apis/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" ) // ResolveReferences of this Redis. diff --git a/apis/compute/v1alpha3/referencers.go b/apis/compute/v1alpha3/referencers.go index 0f8a62ce..df65e08b 100644 --- a/apis/compute/v1alpha3/referencers.go +++ b/apis/compute/v1alpha3/referencers.go @@ -24,8 +24,8 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reference" - networkv1alpha3 "github.com/crossplane/provider-azure/apis/network/v1alpha3" - "github.com/crossplane/provider-azure/apis/v1alpha3" + networkv1alpha3 "github.com/crossplane-contrib/provider-azure/apis/network/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" ) // ResolveReferences of this AKSCluster. diff --git a/apis/database/v1alpha3/referencers.go b/apis/database/v1alpha3/referencers.go index 7ffcdbf8..df2e55b8 100644 --- a/apis/database/v1alpha3/referencers.go +++ b/apis/database/v1alpha3/referencers.go @@ -24,9 +24,9 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reference" - "github.com/crossplane/provider-azure/apis/database/v1beta1" - networkv1alpha3 "github.com/crossplane/provider-azure/apis/network/v1alpha3" - "github.com/crossplane/provider-azure/apis/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + networkv1alpha3 "github.com/crossplane-contrib/provider-azure/apis/network/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" ) // ResolveReferences of this MySQLServerVirtualNetworkRule. diff --git a/apis/database/v1beta1/configuration_types.go b/apis/database/v1beta1/configuration_types.go index 34387aea..c46b6927 100644 --- a/apis/database/v1beta1/configuration_types.go +++ b/apis/database/v1beta1/configuration_types.go @@ -21,7 +21,7 @@ import ( xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" - apisv1alpha3 "github.com/crossplane/provider-azure/apis/v1alpha3" + apisv1alpha3 "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" ) // +kubebuilder:object:root=true diff --git a/apis/database/v1beta1/referencers.go b/apis/database/v1beta1/referencers.go index bfc4f466..6327b608 100644 --- a/apis/database/v1beta1/referencers.go +++ b/apis/database/v1beta1/referencers.go @@ -24,7 +24,7 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reference" - "github.com/crossplane/provider-azure/apis/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" ) // ResolveReferences of this MySQLServer. diff --git a/apis/database/v1beta1/sql_types.go b/apis/database/v1beta1/sql_types.go index 5e143f35..3bcb4ddc 100644 --- a/apis/database/v1beta1/sql_types.go +++ b/apis/database/v1beta1/sql_types.go @@ -21,7 +21,7 @@ import ( xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" - apisv1alpha3 "github.com/crossplane/provider-azure/apis/v1alpha3" + apisv1alpha3 "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" ) // Possible state strings for SQL types. diff --git a/apis/dns/v1alpha1/referencers.go b/apis/dns/v1alpha1/referencers.go index 01b9fbdf..d58e15fb 100644 --- a/apis/dns/v1alpha1/referencers.go +++ b/apis/dns/v1alpha1/referencers.go @@ -24,7 +24,7 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reference" - "github.com/crossplane/provider-azure/apis/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" ) // ResolveReferences of this Zone diff --git a/apis/network/v1alpha3/referencers.go b/apis/network/v1alpha3/referencers.go index be8d5bc6..82b9c10f 100644 --- a/apis/network/v1alpha3/referencers.go +++ b/apis/network/v1alpha3/referencers.go @@ -25,7 +25,7 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reference" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" ) // SubnetID extracts status.ID from the supplied managed resource, which must be diff --git a/apis/storage/v1alpha3/test/account.go b/apis/storage/v1alpha3/test/account.go index b18e9fcc..6de15c44 100644 --- a/apis/storage/v1alpha3/test/account.go +++ b/apis/storage/v1alpha3/test/account.go @@ -24,7 +24,7 @@ import ( xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" "github.com/crossplane/crossplane-runtime/pkg/meta" - storagev1alpha3 "github.com/crossplane/provider-azure/apis/storage/v1alpha3" + storagev1alpha3 "github.com/crossplane-contrib/provider-azure/apis/storage/v1alpha3" ) // MockAccount builder for testing account object diff --git a/apis/storage/v1alpha3/test/container.go b/apis/storage/v1alpha3/test/container.go index afecb850..effd896f 100644 --- a/apis/storage/v1alpha3/test/container.go +++ b/apis/storage/v1alpha3/test/container.go @@ -22,7 +22,7 @@ import ( xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" "github.com/crossplane/crossplane-runtime/pkg/meta" - storagev1alpha3 "github.com/crossplane/provider-azure/apis/storage/v1alpha3" + storagev1alpha3 "github.com/crossplane-contrib/provider-azure/apis/storage/v1alpha3" "github.com/Azure/azure-storage-blob-go/azblob" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/cmd/provider/main.go b/cmd/provider/main.go index a5f34be9..95d70f20 100644 --- a/cmd/provider/main.go +++ b/cmd/provider/main.go @@ -36,10 +36,10 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis" - "github.com/crossplane/provider-azure/apis/v1alpha1" - "github.com/crossplane/provider-azure/pkg/controller" - "github.com/crossplane/provider-azure/pkg/features" + "github.com/crossplane-contrib/provider-azure/apis" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + "github.com/crossplane-contrib/provider-azure/pkg/controller" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) func main() { diff --git a/pkg/clients/azure.go b/pkg/clients/azure.go index 77eb46e4..e708bebf 100644 --- a/pkg/clients/azure.go +++ b/pkg/clients/azure.go @@ -33,8 +33,8 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/v1alpha3" - "github.com/crossplane/provider-azure/apis/v1beta1" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1beta1" ) const ( diff --git a/pkg/clients/azure_test.go b/pkg/clients/azure_test.go index a570b7cf..20978515 100644 --- a/pkg/clients/azure_test.go +++ b/pkg/clients/azure_test.go @@ -31,7 +31,7 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-azure/apis/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" ) const ( diff --git a/pkg/clients/compute/aks.go b/pkg/clients/compute/aks.go index 78cd28ec..6a47567a 100644 --- a/pkg/clients/compute/aks.go +++ b/pkg/clients/compute/aks.go @@ -35,8 +35,8 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/meta" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/compute/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/apis/compute/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) const ( diff --git a/pkg/clients/compute/fake/fake.go b/pkg/clients/compute/fake/fake.go index 5f23a694..afe4d02e 100644 --- a/pkg/clients/compute/fake/fake.go +++ b/pkg/clients/compute/fake/fake.go @@ -21,7 +21,7 @@ import ( "github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2018-03-31/containerservice" - "github.com/crossplane/provider-azure/apis/compute/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/compute/v1alpha3" ) // AKSClient is a fake AKS client. diff --git a/pkg/clients/database/configuration/common_test.go b/pkg/clients/database/configuration/common_test.go index d15afb33..3fc9a595 100644 --- a/pkg/clients/database/configuration/common_test.go +++ b/pkg/clients/database/configuration/common_test.go @@ -16,7 +16,7 @@ limitations under the License. package configuration -import azuredbv1beta1 "github.com/crossplane/provider-azure/apis/database/v1beta1" +import azuredbv1beta1 "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" const ( testValue1 = "testValue1" diff --git a/pkg/clients/database/configuration/mysql.go b/pkg/clients/database/configuration/mysql.go index 7c959302..a98d4b37 100644 --- a/pkg/clients/database/configuration/mysql.go +++ b/pkg/clients/database/configuration/mysql.go @@ -23,9 +23,9 @@ import ( "github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql" "github.com/Azure/go-autorest/autorest" - azuredbv1beta1 "github.com/crossplane/provider-azure/apis/database/v1beta1" - "github.com/crossplane/provider-azure/apis/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" + azuredbv1beta1 "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) // NOTE: postgresql and mysql structs and functions live in their respective diff --git a/pkg/clients/database/configuration/mysql_test.go b/pkg/clients/database/configuration/mysql_test.go index 01126fc8..1c9eabdb 100644 --- a/pkg/clients/database/configuration/mysql_test.go +++ b/pkg/clients/database/configuration/mysql_test.go @@ -22,7 +22,7 @@ import ( "github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql" "github.com/google/go-cmp/cmp" - azuredbv1beta1 "github.com/crossplane/provider-azure/apis/database/v1beta1" + azuredbv1beta1 "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" ) type mysqlConfigurationModifier func(configuration *mysql.Configuration) diff --git a/pkg/clients/database/configuration/postgresql.go b/pkg/clients/database/configuration/postgresql.go index 44053f84..8d327abe 100644 --- a/pkg/clients/database/configuration/postgresql.go +++ b/pkg/clients/database/configuration/postgresql.go @@ -23,9 +23,9 @@ import ( "github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql" "github.com/Azure/go-autorest/autorest" - azuredbv1beta1 "github.com/crossplane/provider-azure/apis/database/v1beta1" - "github.com/crossplane/provider-azure/apis/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" + azuredbv1beta1 "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) // NOTE: postgresql and mysql structs and functions live in their respective diff --git a/pkg/clients/database/configuration/postgresql_test.go b/pkg/clients/database/configuration/postgresql_test.go index b9e59a00..b8bfe922 100644 --- a/pkg/clients/database/configuration/postgresql_test.go +++ b/pkg/clients/database/configuration/postgresql_test.go @@ -22,7 +22,7 @@ import ( "github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql" "github.com/google/go-cmp/cmp" - "github.com/crossplane/provider-azure/apis/database/v1beta1" + "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" ) type postgresqlConfigurationModifier func(configuration *postgresql.Configuration) diff --git a/pkg/clients/database/cosmosdb/account.go b/pkg/clients/database/cosmosdb/account.go index 1b4b638e..61f7c998 100644 --- a/pkg/clients/database/cosmosdb/account.go +++ b/pkg/clients/database/cosmosdb/account.go @@ -27,8 +27,8 @@ import ( "github.com/Azure/go-autorest/autorest/azure/auth" "github.com/pkg/errors" - "github.com/crossplane/provider-azure/apis/database/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) // A AccountClient handles CRUD operations for Azure CosmosDB Accounts. diff --git a/pkg/clients/database/cosmosdb/account_test.go b/pkg/clients/database/cosmosdb/account_test.go index 9820d83f..0840f81a 100644 --- a/pkg/clients/database/cosmosdb/account_test.go +++ b/pkg/clients/database/cosmosdb/account_test.go @@ -25,8 +25,8 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-azure/apis/database/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) func TestNewCosmosDBAccountClient(t *testing.T) { diff --git a/pkg/clients/database/mysql.go b/pkg/clients/database/mysql.go index 5a4fd899..07d2d602 100644 --- a/pkg/clients/database/mysql.go +++ b/pkg/clients/database/mysql.go @@ -29,11 +29,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/meta" - azuredbv1alpha3 "github.com/crossplane/provider-azure/apis/database/v1alpha3" - "github.com/crossplane/provider-azure/apis/database/v1beta1" - azuredbv1beta1 "github.com/crossplane/provider-azure/apis/database/v1beta1" - "github.com/crossplane/provider-azure/apis/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" + azuredbv1alpha3 "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + azuredbv1beta1 "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) // NOTE: postgresql and mysql structs and functions live in their respective diff --git a/pkg/clients/database/mysql_test.go b/pkg/clients/database/mysql_test.go index a844e710..96823d40 100644 --- a/pkg/clients/database/mysql_test.go +++ b/pkg/clients/database/mysql_test.go @@ -26,9 +26,9 @@ import ( xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/provider-azure/apis/database/v1alpha3" - "github.com/crossplane/provider-azure/apis/database/v1beta1" - azure "github.com/crossplane/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) const ( diff --git a/pkg/clients/database/postgresql.go b/pkg/clients/database/postgresql.go index 53642e99..a2d8a404 100644 --- a/pkg/clients/database/postgresql.go +++ b/pkg/clients/database/postgresql.go @@ -30,11 +30,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/meta" - azuredbv1alpha3 "github.com/crossplane/provider-azure/apis/database/v1alpha3" - "github.com/crossplane/provider-azure/apis/database/v1beta1" - azuredbv1beta1 "github.com/crossplane/provider-azure/apis/database/v1beta1" - "github.com/crossplane/provider-azure/apis/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" + azuredbv1alpha3 "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + azuredbv1beta1 "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) // NOTE: postgresql and mysql structs and functions live in their respective diff --git a/pkg/clients/database/postgresql_test.go b/pkg/clients/database/postgresql_test.go index 716819a2..3c8abf36 100644 --- a/pkg/clients/database/postgresql_test.go +++ b/pkg/clients/database/postgresql_test.go @@ -26,9 +26,9 @@ import ( xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/provider-azure/apis/database/v1alpha3" - "github.com/crossplane/provider-azure/apis/database/v1beta1" - azure "github.com/crossplane/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) type postgreSQLVirtualNetworkRuleModifier func(*v1alpha3.PostgreSQLServerVirtualNetworkRule) diff --git a/pkg/clients/database/util.go b/pkg/clients/database/util.go index a585a10e..8ba3dd0c 100644 --- a/pkg/clients/database/util.go +++ b/pkg/clients/database/util.go @@ -20,7 +20,7 @@ import ( "github.com/Azure/go-autorest/autorest/date" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/crossplane/provider-azure/apis/database/v1beta1" + "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" ) // Get a pointer to a CreateMode diff --git a/pkg/clients/dns/dns.go b/pkg/clients/dns/dns.go index 6b901f77..139686d2 100644 --- a/pkg/clients/dns/dns.go +++ b/pkg/clients/dns/dns.go @@ -10,8 +10,8 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/provider-azure/apis/dns/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/apis/dns/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) const ( diff --git a/pkg/clients/dns/dns_test.go b/pkg/clients/dns/dns_test.go index 1bd62efb..179fc8e2 100644 --- a/pkg/clients/dns/dns_test.go +++ b/pkg/clients/dns/dns_test.go @@ -24,8 +24,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" - "github.com/crossplane/provider-azure/apis/dns/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/apis/dns/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) var ( diff --git a/pkg/clients/keyvault/secret/keyvault_secret.go b/pkg/clients/keyvault/secret/keyvault_secret.go index 902c504e..1f3cfa69 100644 --- a/pkg/clients/keyvault/secret/keyvault_secret.go +++ b/pkg/clients/keyvault/secret/keyvault_secret.go @@ -32,8 +32,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs.k8s.io/controller-runtime/pkg/client" - "github.com/crossplane/provider-azure/apis/keyvault/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/apis/keyvault/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) const ( diff --git a/pkg/clients/keyvault/secret/keyvault_secret_test.go b/pkg/clients/keyvault/secret/keyvault_secret_test.go index ee966c12..3454b764 100644 --- a/pkg/clients/keyvault/secret/keyvault_secret_test.go +++ b/pkg/clients/keyvault/secret/keyvault_secret_test.go @@ -31,8 +31,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs.k8s.io/controller-runtime/pkg/client" - "github.com/crossplane/provider-azure/apis/keyvault/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/apis/keyvault/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) var ( diff --git a/pkg/clients/network/network.go b/pkg/clients/network/network.go index 62667c71..b610f915 100644 --- a/pkg/clients/network/network.go +++ b/pkg/clients/network/network.go @@ -25,8 +25,8 @@ import ( "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" - "github.com/crossplane/provider-azure/apis/network/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/apis/network/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) // NewVirtualNetworkParameters returns an Azure VirtualNetwork object from a virtual network spec diff --git a/pkg/clients/network/network_test.go b/pkg/clients/network/network_test.go index 9a054e2c..b8b277a8 100644 --- a/pkg/clients/network/network_test.go +++ b/pkg/clients/network/network_test.go @@ -27,8 +27,8 @@ import ( xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" - "github.com/crossplane/provider-azure/apis/network/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/apis/network/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) var ( diff --git a/pkg/clients/redis/redis.go b/pkg/clients/redis/redis.go index 1011ae0e..abe56eae 100644 --- a/pkg/clients/redis/redis.go +++ b/pkg/clients/redis/redis.go @@ -21,8 +21,8 @@ import ( "github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis" - "github.com/crossplane/provider-azure/apis/cache/v1beta1" - azure "github.com/crossplane/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/apis/cache/v1beta1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) // Resource states diff --git a/pkg/clients/redis/redis_test.go b/pkg/clients/redis/redis_test.go index aeca6b29..57388f29 100644 --- a/pkg/clients/redis/redis_test.go +++ b/pkg/clients/redis/redis_test.go @@ -22,8 +22,8 @@ import ( redismgmt "github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis" "github.com/google/go-cmp/cmp" - "github.com/crossplane/provider-azure/apis/cache/v1beta1" - azure "github.com/crossplane/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/apis/cache/v1beta1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) const ( diff --git a/pkg/clients/resourcegroup/resourcegroup.go b/pkg/clients/resourcegroup/resourcegroup.go index 70519e2f..0d0c2d50 100644 --- a/pkg/clients/resourcegroup/resourcegroup.go +++ b/pkg/clients/resourcegroup/resourcegroup.go @@ -26,8 +26,8 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/provider-azure/apis/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) // A GroupsClient handles CRUD operations for Azure Resource Group resources. diff --git a/pkg/clients/resourcegroup/resourcegroup_test.go b/pkg/clients/resourcegroup/resourcegroup_test.go index 0d824092..4ca1f4c3 100644 --- a/pkg/clients/resourcegroup/resourcegroup_test.go +++ b/pkg/clients/resourcegroup/resourcegroup_test.go @@ -24,8 +24,8 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/provider-azure/apis/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) const ( diff --git a/pkg/clients/storage/account.go b/pkg/clients/storage/account.go index 1898e837..5f9dda5f 100644 --- a/pkg/clients/storage/account.go +++ b/pkg/clients/storage/account.go @@ -26,7 +26,7 @@ import ( "github.com/Azure/go-autorest/autorest/to" "github.com/pkg/errors" - azure "github.com/crossplane/provider-azure/pkg/clients" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) // NewStorageAccountClient create Azure storage.AccountClient using provided credentials data diff --git a/pkg/clients/storage/container.go b/pkg/clients/storage/container.go index 940d7446..afc3f472 100644 --- a/pkg/clients/storage/container.go +++ b/pkg/clients/storage/container.go @@ -24,7 +24,7 @@ import ( "github.com/Azure/azure-storage-blob-go/azblob" - azure "github.com/crossplane/provider-azure/pkg/clients" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" ) // ContainerOperations interface to perform operations on Container resources diff --git a/pkg/clients/storage/fake/account.go b/pkg/clients/storage/fake/account.go index 8466edf5..aae87b01 100644 --- a/pkg/clients/storage/fake/account.go +++ b/pkg/clients/storage/fake/account.go @@ -21,7 +21,7 @@ import ( "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2017-06-01/storage" - azurestorage "github.com/crossplane/provider-azure/pkg/clients/storage" + azurestorage "github.com/crossplane-contrib/provider-azure/pkg/clients/storage" ) // MockAccountOperations mock implementation of AccountOperations diff --git a/pkg/clients/storage/fake/container.go b/pkg/clients/storage/fake/container.go index 242eb963..5466c983 100644 --- a/pkg/clients/storage/fake/container.go +++ b/pkg/clients/storage/fake/container.go @@ -21,7 +21,7 @@ import ( "github.com/Azure/azure-storage-blob-go/azblob" - azurestorage "github.com/crossplane/provider-azure/pkg/clients/storage" + azurestorage "github.com/crossplane-contrib/provider-azure/pkg/clients/storage" ) // MockContainerOperations mock implementation of ContainerOperations diff --git a/pkg/controller/azure.go b/pkg/controller/azure.go index a1dd1c1c..865f5651 100644 --- a/pkg/controller/azure.go +++ b/pkg/controller/azure.go @@ -21,27 +21,27 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/controller" - "github.com/crossplane/provider-azure/pkg/controller/cache" - "github.com/crossplane/provider-azure/pkg/controller/compute" - "github.com/crossplane/provider-azure/pkg/controller/config" - "github.com/crossplane/provider-azure/pkg/controller/database/cosmosdb" - "github.com/crossplane/provider-azure/pkg/controller/database/mysqlserver" - "github.com/crossplane/provider-azure/pkg/controller/database/mysqlserverconfiguration" - "github.com/crossplane/provider-azure/pkg/controller/database/mysqlserverfirewallrule" - "github.com/crossplane/provider-azure/pkg/controller/database/mysqlservervirtualnetworkrule" - "github.com/crossplane/provider-azure/pkg/controller/database/postgresqlserver" - "github.com/crossplane/provider-azure/pkg/controller/database/postgresqlserverconfiguration" - "github.com/crossplane/provider-azure/pkg/controller/database/postgresqlserverfirewallrule" - "github.com/crossplane/provider-azure/pkg/controller/database/postgresqlservervirtualnetworkrule" - "github.com/crossplane/provider-azure/pkg/controller/dns/recordset" - "github.com/crossplane/provider-azure/pkg/controller/dns/zone" - "github.com/crossplane/provider-azure/pkg/controller/keyvault/secret" - "github.com/crossplane/provider-azure/pkg/controller/network/publicipaddress" - "github.com/crossplane/provider-azure/pkg/controller/network/subnet" - "github.com/crossplane/provider-azure/pkg/controller/network/virtualnetwork" - "github.com/crossplane/provider-azure/pkg/controller/resourcegroup" - "github.com/crossplane/provider-azure/pkg/controller/storage/account" - "github.com/crossplane/provider-azure/pkg/controller/storage/container" + "github.com/crossplane-contrib/provider-azure/pkg/controller/cache" + "github.com/crossplane-contrib/provider-azure/pkg/controller/compute" + "github.com/crossplane-contrib/provider-azure/pkg/controller/config" + "github.com/crossplane-contrib/provider-azure/pkg/controller/database/cosmosdb" + "github.com/crossplane-contrib/provider-azure/pkg/controller/database/mysqlserver" + "github.com/crossplane-contrib/provider-azure/pkg/controller/database/mysqlserverconfiguration" + "github.com/crossplane-contrib/provider-azure/pkg/controller/database/mysqlserverfirewallrule" + "github.com/crossplane-contrib/provider-azure/pkg/controller/database/mysqlservervirtualnetworkrule" + "github.com/crossplane-contrib/provider-azure/pkg/controller/database/postgresqlserver" + "github.com/crossplane-contrib/provider-azure/pkg/controller/database/postgresqlserverconfiguration" + "github.com/crossplane-contrib/provider-azure/pkg/controller/database/postgresqlserverfirewallrule" + "github.com/crossplane-contrib/provider-azure/pkg/controller/database/postgresqlservervirtualnetworkrule" + "github.com/crossplane-contrib/provider-azure/pkg/controller/dns/recordset" + "github.com/crossplane-contrib/provider-azure/pkg/controller/dns/zone" + "github.com/crossplane-contrib/provider-azure/pkg/controller/keyvault/secret" + "github.com/crossplane-contrib/provider-azure/pkg/controller/network/publicipaddress" + "github.com/crossplane-contrib/provider-azure/pkg/controller/network/subnet" + "github.com/crossplane-contrib/provider-azure/pkg/controller/network/virtualnetwork" + "github.com/crossplane-contrib/provider-azure/pkg/controller/resourcegroup" + "github.com/crossplane-contrib/provider-azure/pkg/controller/storage/account" + "github.com/crossplane-contrib/provider-azure/pkg/controller/storage/container" ) // Setup Azure controllers. diff --git a/pkg/controller/cache/redis.go b/pkg/controller/cache/redis.go index 1de452a9..92dead86 100644 --- a/pkg/controller/cache/redis.go +++ b/pkg/controller/cache/redis.go @@ -34,11 +34,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/cache/v1beta1" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" - redisclients "github.com/crossplane/provider-azure/pkg/clients/redis" - "github.com/crossplane/provider-azure/pkg/features" + "github.com/crossplane-contrib/provider-azure/apis/cache/v1beta1" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + redisclients "github.com/crossplane-contrib/provider-azure/pkg/clients/redis" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) const ( diff --git a/pkg/controller/cache/redis_test.go b/pkg/controller/cache/redis_test.go index 200b3efd..1fb96dec 100644 --- a/pkg/controller/cache/redis_test.go +++ b/pkg/controller/cache/redis_test.go @@ -34,10 +34,10 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-azure/apis/cache/v1beta1" - azure "github.com/crossplane/provider-azure/pkg/clients" - redisclient "github.com/crossplane/provider-azure/pkg/clients/redis" - "github.com/crossplane/provider-azure/pkg/clients/redis/fake" + "github.com/crossplane-contrib/provider-azure/apis/cache/v1beta1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + redisclient "github.com/crossplane-contrib/provider-azure/pkg/clients/redis" + "github.com/crossplane-contrib/provider-azure/pkg/clients/redis/fake" ) const ( diff --git a/pkg/controller/compute/managed.go b/pkg/controller/compute/managed.go index 59f3f87f..31780c2c 100644 --- a/pkg/controller/compute/managed.go +++ b/pkg/controller/compute/managed.go @@ -36,11 +36,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/compute/v1alpha3" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/compute" - "github.com/crossplane/provider-azure/pkg/features" + "github.com/crossplane-contrib/provider-azure/apis/compute/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/compute" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) // Error strings. diff --git a/pkg/controller/compute/managed_test.go b/pkg/controller/compute/managed_test.go index 21427a6b..80755617 100644 --- a/pkg/controller/compute/managed_test.go +++ b/pkg/controller/compute/managed_test.go @@ -34,8 +34,8 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-azure/apis/compute/v1alpha3" - "github.com/crossplane/provider-azure/pkg/clients/compute/fake" + "github.com/crossplane-contrib/provider-azure/apis/compute/v1alpha3" + "github.com/crossplane-contrib/provider-azure/pkg/clients/compute/fake" ) const ( diff --git a/pkg/controller/config/config.go b/pkg/controller/config/config.go index c04cf358..25ff8820 100644 --- a/pkg/controller/config/config.go +++ b/pkg/controller/config/config.go @@ -25,7 +25,7 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/providerconfig" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/v1beta1" + "github.com/crossplane-contrib/provider-azure/apis/v1beta1" ) // Setup adds a controller that reconciles ProviderConfigs by accounting for diff --git a/pkg/controller/database/cosmosdb/managed.go b/pkg/controller/database/cosmosdb/managed.go index 5da23524..08105cc4 100644 --- a/pkg/controller/database/cosmosdb/managed.go +++ b/pkg/controller/database/cosmosdb/managed.go @@ -33,11 +33,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/database/v1alpha3" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/database/cosmosdb" - "github.com/crossplane/provider-azure/pkg/features" + "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/database/cosmosdb" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) // Error strings diff --git a/pkg/controller/database/cosmosdb/managed_test.go b/pkg/controller/database/cosmosdb/managed_test.go index 026f611b..9c8fa8bf 100644 --- a/pkg/controller/database/cosmosdb/managed_test.go +++ b/pkg/controller/database/cosmosdb/managed_test.go @@ -35,9 +35,9 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-azure/apis/database/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" - cosmosdbclient "github.com/crossplane/provider-azure/pkg/clients/database/cosmosdb" + "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + cosmosdbclient "github.com/crossplane-contrib/provider-azure/pkg/clients/database/cosmosdb" ) const ( diff --git a/pkg/controller/database/mysqlserver/managed.go b/pkg/controller/database/mysqlserver/managed.go index d75c5a88..ff64f232 100644 --- a/pkg/controller/database/mysqlserver/managed.go +++ b/pkg/controller/database/mysqlserver/managed.go @@ -34,11 +34,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/database/v1beta1" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/database" - "github.com/crossplane/provider-azure/pkg/features" + "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/database" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) // Error strings. diff --git a/pkg/controller/database/mysqlserver/managed_test.go b/pkg/controller/database/mysqlserver/managed_test.go index 0541b21a..6564a348 100644 --- a/pkg/controller/database/mysqlserver/managed_test.go +++ b/pkg/controller/database/mysqlserver/managed_test.go @@ -35,9 +35,9 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-azure/apis/database/v1beta1" - azurev1alpha3 "github.com/crossplane/provider-azure/apis/v1alpha3" - "github.com/crossplane/provider-azure/pkg/clients/database" + "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + azurev1alpha3 "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" + "github.com/crossplane-contrib/provider-azure/pkg/clients/database" ) var ( diff --git a/pkg/controller/database/mysqlserverconfiguration/managed.go b/pkg/controller/database/mysqlserverconfiguration/managed.go index 65ea5370..c7554d37 100644 --- a/pkg/controller/database/mysqlserverconfiguration/managed.go +++ b/pkg/controller/database/mysqlserverconfiguration/managed.go @@ -33,11 +33,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/database/v1beta1" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/database/configuration" - "github.com/crossplane/provider-azure/pkg/features" + "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/database/configuration" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) const ( diff --git a/pkg/controller/database/mysqlserverconfiguration/managed_test.go b/pkg/controller/database/mysqlserverconfiguration/managed_test.go index 3916c126..75eae251 100644 --- a/pkg/controller/database/mysqlserverconfiguration/managed_test.go +++ b/pkg/controller/database/mysqlserverconfiguration/managed_test.go @@ -31,8 +31,8 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-azure/apis/database/v1beta1" - azurev1alpha3 "github.com/crossplane/provider-azure/apis/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + azurev1alpha3 "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" ) const ( diff --git a/pkg/controller/database/mysqlserverfirewallrule/managed.go b/pkg/controller/database/mysqlserverfirewallrule/managed.go index 6d84d9f8..5dfb180a 100644 --- a/pkg/controller/database/mysqlserverfirewallrule/managed.go +++ b/pkg/controller/database/mysqlserverfirewallrule/managed.go @@ -33,11 +33,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/database/v1alpha3" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/database" - "github.com/crossplane/provider-azure/pkg/features" + "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/database" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) // Error strings. diff --git a/pkg/controller/database/mysqlserverfirewallrule/managed_test.go b/pkg/controller/database/mysqlserverfirewallrule/managed_test.go index 493568ef..7559eb48 100644 --- a/pkg/controller/database/mysqlserverfirewallrule/managed_test.go +++ b/pkg/controller/database/mysqlserverfirewallrule/managed_test.go @@ -33,9 +33,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" - "github.com/crossplane/provider-azure/apis/database/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/fake" + "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/fake" ) const ( diff --git a/pkg/controller/database/mysqlservervirtualnetworkrule/managed.go b/pkg/controller/database/mysqlservervirtualnetworkrule/managed.go index 43e4faa1..c30b302a 100644 --- a/pkg/controller/database/mysqlservervirtualnetworkrule/managed.go +++ b/pkg/controller/database/mysqlservervirtualnetworkrule/managed.go @@ -33,11 +33,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/database/v1alpha3" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/database" - "github.com/crossplane/provider-azure/pkg/features" + "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/database" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) // Error strings. diff --git a/pkg/controller/database/mysqlservervirtualnetworkrule/managed_test.go b/pkg/controller/database/mysqlservervirtualnetworkrule/managed_test.go index dcdb2df9..a2e5ec0f 100644 --- a/pkg/controller/database/mysqlservervirtualnetworkrule/managed_test.go +++ b/pkg/controller/database/mysqlservervirtualnetworkrule/managed_test.go @@ -33,9 +33,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" - "github.com/crossplane/provider-azure/apis/database/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/fake" + "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/fake" ) const ( diff --git a/pkg/controller/database/postgresqlserver/managed.go b/pkg/controller/database/postgresqlserver/managed.go index 29b54a8d..28450784 100644 --- a/pkg/controller/database/postgresqlserver/managed.go +++ b/pkg/controller/database/postgresqlserver/managed.go @@ -36,11 +36,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/database/v1beta1" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/database" - "github.com/crossplane/provider-azure/pkg/features" + "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/database" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) // Error strings. diff --git a/pkg/controller/database/postgresqlserver/managed_test.go b/pkg/controller/database/postgresqlserver/managed_test.go index a7288cf0..36c45dd4 100644 --- a/pkg/controller/database/postgresqlserver/managed_test.go +++ b/pkg/controller/database/postgresqlserver/managed_test.go @@ -35,9 +35,9 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-azure/apis/database/v1beta1" - azurev1alpha3 "github.com/crossplane/provider-azure/apis/v1alpha3" - "github.com/crossplane/provider-azure/pkg/clients/database" + "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + azurev1alpha3 "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" + "github.com/crossplane-contrib/provider-azure/pkg/clients/database" ) var ( diff --git a/pkg/controller/database/postgresqlserverconfiguration/managed.go b/pkg/controller/database/postgresqlserverconfiguration/managed.go index 1f6410c7..49eedef0 100644 --- a/pkg/controller/database/postgresqlserverconfiguration/managed.go +++ b/pkg/controller/database/postgresqlserverconfiguration/managed.go @@ -33,11 +33,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/database/v1beta1" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/database/configuration" - "github.com/crossplane/provider-azure/pkg/features" + "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/database/configuration" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) const ( diff --git a/pkg/controller/database/postgresqlserverconfiguration/managed_test.go b/pkg/controller/database/postgresqlserverconfiguration/managed_test.go index fc1a19cb..ab2fd941 100644 --- a/pkg/controller/database/postgresqlserverconfiguration/managed_test.go +++ b/pkg/controller/database/postgresqlserverconfiguration/managed_test.go @@ -32,8 +32,8 @@ import ( "github.com/google/go-cmp/cmp" "github.com/pkg/errors" - "github.com/crossplane/provider-azure/apis/database/v1beta1" - azurev1alpha3 "github.com/crossplane/provider-azure/apis/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/database/v1beta1" + azurev1alpha3 "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" ) const ( diff --git a/pkg/controller/database/postgresqlserverfirewallrule/managed.go b/pkg/controller/database/postgresqlserverfirewallrule/managed.go index b051dd92..600a145a 100644 --- a/pkg/controller/database/postgresqlserverfirewallrule/managed.go +++ b/pkg/controller/database/postgresqlserverfirewallrule/managed.go @@ -33,11 +33,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/database/v1alpha3" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/database" - "github.com/crossplane/provider-azure/pkg/features" + "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/database" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) // Error strings. diff --git a/pkg/controller/database/postgresqlserverfirewallrule/managed_test.go b/pkg/controller/database/postgresqlserverfirewallrule/managed_test.go index 3af42596..1de1c537 100644 --- a/pkg/controller/database/postgresqlserverfirewallrule/managed_test.go +++ b/pkg/controller/database/postgresqlserverfirewallrule/managed_test.go @@ -33,9 +33,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" - "github.com/crossplane/provider-azure/apis/database/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/fake" + "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/fake" ) const ( diff --git a/pkg/controller/database/postgresqlservervirtualnetworkrule/managed.go b/pkg/controller/database/postgresqlservervirtualnetworkrule/managed.go index 64208c97..cd25175d 100644 --- a/pkg/controller/database/postgresqlservervirtualnetworkrule/managed.go +++ b/pkg/controller/database/postgresqlservervirtualnetworkrule/managed.go @@ -33,11 +33,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/database/v1alpha3" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/database" - "github.com/crossplane/provider-azure/pkg/features" + "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/database" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) // Error strings. diff --git a/pkg/controller/database/postgresqlservervirtualnetworkrule/managed_test.go b/pkg/controller/database/postgresqlservervirtualnetworkrule/managed_test.go index 3c383621..de6ccf35 100644 --- a/pkg/controller/database/postgresqlservervirtualnetworkrule/managed_test.go +++ b/pkg/controller/database/postgresqlservervirtualnetworkrule/managed_test.go @@ -33,9 +33,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" - "github.com/crossplane/provider-azure/apis/database/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/fake" + "github.com/crossplane-contrib/provider-azure/apis/database/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/fake" ) const ( diff --git a/pkg/controller/dns/recordset/managed.go b/pkg/controller/dns/recordset/managed.go index ef848a6d..e640040c 100644 --- a/pkg/controller/dns/recordset/managed.go +++ b/pkg/controller/dns/recordset/managed.go @@ -31,11 +31,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - dnsv1alpha1 "github.com/crossplane/provider-azure/apis/dns/v1alpha1" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azureclients "github.com/crossplane/provider-azure/pkg/clients" - dnsclients "github.com/crossplane/provider-azure/pkg/clients/dns" - "github.com/crossplane/provider-azure/pkg/features" + dnsv1alpha1 "github.com/crossplane-contrib/provider-azure/apis/dns/v1alpha1" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azureclients "github.com/crossplane-contrib/provider-azure/pkg/clients" + dnsclients "github.com/crossplane-contrib/provider-azure/pkg/clients/dns" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) // Error strings. diff --git a/pkg/controller/dns/recordset/managed_test.go b/pkg/controller/dns/recordset/managed_test.go index 0155dd12..a4209c49 100644 --- a/pkg/controller/dns/recordset/managed_test.go +++ b/pkg/controller/dns/recordset/managed_test.go @@ -31,7 +31,7 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-azure/apis/dns/v1alpha1" + "github.com/crossplane-contrib/provider-azure/apis/dns/v1alpha1" ) type MockRecordSetAPI struct { diff --git a/pkg/controller/dns/zone/managed.go b/pkg/controller/dns/zone/managed.go index aecac3b7..82842d6f 100644 --- a/pkg/controller/dns/zone/managed.go +++ b/pkg/controller/dns/zone/managed.go @@ -31,11 +31,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - dnsv1alpha1 "github.com/crossplane/provider-azure/apis/dns/v1alpha1" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azureclients "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/dns" - "github.com/crossplane/provider-azure/pkg/features" + dnsv1alpha1 "github.com/crossplane-contrib/provider-azure/apis/dns/v1alpha1" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azureclients "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/dns" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) // Error strings. diff --git a/pkg/controller/dns/zone/managed_test.go b/pkg/controller/dns/zone/managed_test.go index d9efb94f..c92f0f80 100644 --- a/pkg/controller/dns/zone/managed_test.go +++ b/pkg/controller/dns/zone/managed_test.go @@ -31,7 +31,7 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-azure/apis/dns/v1alpha1" + "github.com/crossplane-contrib/provider-azure/apis/dns/v1alpha1" ) type MockZoneAPI struct { diff --git a/pkg/controller/keyvault/secret/keyvault_secret.go b/pkg/controller/keyvault/secret/keyvault_secret.go index e972842c..4c393432 100644 --- a/pkg/controller/keyvault/secret/keyvault_secret.go +++ b/pkg/controller/keyvault/secret/keyvault_secret.go @@ -33,11 +33,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - keyvaultv1alpha1 "github.com/crossplane/provider-azure/apis/keyvault/v1alpha1" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" - secretclients "github.com/crossplane/provider-azure/pkg/clients/keyvault/secret" - "github.com/crossplane/provider-azure/pkg/features" + keyvaultv1alpha1 "github.com/crossplane-contrib/provider-azure/apis/keyvault/v1alpha1" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + secretclients "github.com/crossplane-contrib/provider-azure/pkg/clients/keyvault/secret" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) const ( diff --git a/pkg/controller/keyvault/secret/keyvault_secret_test.go b/pkg/controller/keyvault/secret/keyvault_secret_test.go index 64e9e0d3..ff2f5f0a 100644 --- a/pkg/controller/keyvault/secret/keyvault_secret_test.go +++ b/pkg/controller/keyvault/secret/keyvault_secret_test.go @@ -33,9 +33,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs.k8s.io/controller-runtime/pkg/client" - "github.com/crossplane/provider-azure/apis/keyvault/v1alpha1" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/keyvault/secret/fake" + "github.com/crossplane-contrib/provider-azure/apis/keyvault/v1alpha1" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/keyvault/secret/fake" ) var ( diff --git a/pkg/controller/network/publicipaddress/managed.go b/pkg/controller/network/publicipaddress/managed.go index 00514fb5..aca4442e 100644 --- a/pkg/controller/network/publicipaddress/managed.go +++ b/pkg/controller/network/publicipaddress/managed.go @@ -33,11 +33,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/network/v1alpha3" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azureclients "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/network" - "github.com/crossplane/provider-azure/pkg/features" + "github.com/crossplane-contrib/provider-azure/apis/network/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azureclients "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/network" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) // Error strings. diff --git a/pkg/controller/network/publicipaddress/managed_test.go b/pkg/controller/network/publicipaddress/managed_test.go index 57926389..3b9f9fa9 100644 --- a/pkg/controller/network/publicipaddress/managed_test.go +++ b/pkg/controller/network/publicipaddress/managed_test.go @@ -18,9 +18,9 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-azure/apis/network/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/network/fake" + "github.com/crossplane-contrib/provider-azure/apis/network/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/network/fake" ) const ( diff --git a/pkg/controller/network/subnet/managed.go b/pkg/controller/network/subnet/managed.go index 0d5d2152..bff54c5f 100644 --- a/pkg/controller/network/subnet/managed.go +++ b/pkg/controller/network/subnet/managed.go @@ -33,11 +33,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/network/v1alpha3" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azureclients "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/network" - "github.com/crossplane/provider-azure/pkg/features" + "github.com/crossplane-contrib/provider-azure/apis/network/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azureclients "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/network" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) // Error strings. diff --git a/pkg/controller/network/subnet/managed_test.go b/pkg/controller/network/subnet/managed_test.go index 39dd68c5..21c8ac2d 100644 --- a/pkg/controller/network/subnet/managed_test.go +++ b/pkg/controller/network/subnet/managed_test.go @@ -34,9 +34,9 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-azure/apis/network/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/network/fake" + "github.com/crossplane-contrib/provider-azure/apis/network/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/network/fake" ) const ( diff --git a/pkg/controller/network/virtualnetwork/managed.go b/pkg/controller/network/virtualnetwork/managed.go index 361d48c9..1549ca29 100644 --- a/pkg/controller/network/virtualnetwork/managed.go +++ b/pkg/controller/network/virtualnetwork/managed.go @@ -33,11 +33,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/network/v1alpha3" - "github.com/crossplane/provider-azure/apis/v1alpha1" - azureclients "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/network" - "github.com/crossplane/provider-azure/pkg/features" + "github.com/crossplane-contrib/provider-azure/apis/network/v1alpha3" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + azureclients "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/network" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) // Error strings. diff --git a/pkg/controller/network/virtualnetwork/managed_test.go b/pkg/controller/network/virtualnetwork/managed_test.go index 323d436a..73591315 100644 --- a/pkg/controller/network/virtualnetwork/managed_test.go +++ b/pkg/controller/network/virtualnetwork/managed_test.go @@ -34,9 +34,9 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-azure/apis/network/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/network/fake" + "github.com/crossplane-contrib/provider-azure/apis/network/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/network/fake" ) const ( diff --git a/pkg/controller/resourcegroup/resourcegroup.go b/pkg/controller/resourcegroup/resourcegroup.go index f184f6cd..cf47207e 100644 --- a/pkg/controller/resourcegroup/resourcegroup.go +++ b/pkg/controller/resourcegroup/resourcegroup.go @@ -34,11 +34,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/v1alpha1" - "github.com/crossplane/provider-azure/apis/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/resourcegroup" - "github.com/crossplane/provider-azure/pkg/features" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha1" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/resourcegroup" + "github.com/crossplane-contrib/provider-azure/pkg/features" ) // Error strings diff --git a/pkg/controller/resourcegroup/resourcegroup_test.go b/pkg/controller/resourcegroup/resourcegroup_test.go index 1bf2b8e8..553f214c 100644 --- a/pkg/controller/resourcegroup/resourcegroup_test.go +++ b/pkg/controller/resourcegroup/resourcegroup_test.go @@ -35,8 +35,8 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-azure/apis/v1alpha3" - fakerg "github.com/crossplane/provider-azure/pkg/clients/resourcegroup/fake" + "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" + fakerg "github.com/crossplane-contrib/provider-azure/pkg/clients/resourcegroup/fake" ) const ( diff --git a/pkg/controller/storage/account/account.go b/pkg/controller/storage/account/account.go index 223c369a..84682821 100644 --- a/pkg/controller/storage/account/account.go +++ b/pkg/controller/storage/account/account.go @@ -38,9 +38,9 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/storage/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" - azurestorage "github.com/crossplane/provider-azure/pkg/clients/storage" + "github.com/crossplane-contrib/provider-azure/apis/storage/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + azurestorage "github.com/crossplane-contrib/provider-azure/pkg/clients/storage" ) const ( diff --git a/pkg/controller/storage/account/account_test.go b/pkg/controller/storage/account/account_test.go index e98c0d10..98613e97 100644 --- a/pkg/controller/storage/account/account_test.go +++ b/pkg/controller/storage/account/account_test.go @@ -22,7 +22,7 @@ import ( "testing" "time" - "github.com/crossplane/provider-azure/apis" + "github.com/crossplane-contrib/provider-azure/apis" "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2017-06-01/storage" "github.com/Azure/go-autorest/autorest" @@ -43,11 +43,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-azure/apis/storage/v1alpha3" - v1alpha3test "github.com/crossplane/provider-azure/apis/storage/v1alpha3/test" - azurev1alpha3 "github.com/crossplane/provider-azure/apis/v1alpha3" - azurestorage "github.com/crossplane/provider-azure/pkg/clients/storage" - azurestoragefake "github.com/crossplane/provider-azure/pkg/clients/storage/fake" + "github.com/crossplane-contrib/provider-azure/apis/storage/v1alpha3" + v1alpha3test "github.com/crossplane-contrib/provider-azure/apis/storage/v1alpha3/test" + azurev1alpha3 "github.com/crossplane-contrib/provider-azure/apis/v1alpha3" + azurestorage "github.com/crossplane-contrib/provider-azure/pkg/clients/storage" + azurestoragefake "github.com/crossplane-contrib/provider-azure/pkg/clients/storage/fake" ) func init() { diff --git a/pkg/controller/storage/container/container.go b/pkg/controller/storage/container/container.go index 4f03b0a8..62a86237 100644 --- a/pkg/controller/storage/container/container.go +++ b/pkg/controller/storage/container/container.go @@ -38,9 +38,9 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-azure/apis/storage/v1alpha3" - azure "github.com/crossplane/provider-azure/pkg/clients" - "github.com/crossplane/provider-azure/pkg/clients/storage" + "github.com/crossplane-contrib/provider-azure/apis/storage/v1alpha3" + azure "github.com/crossplane-contrib/provider-azure/pkg/clients" + "github.com/crossplane-contrib/provider-azure/pkg/clients/storage" ) const ( diff --git a/pkg/controller/storage/container/container_test.go b/pkg/controller/storage/container/container_test.go index 2d8a18d9..625ba5de 100644 --- a/pkg/controller/storage/container/container_test.go +++ b/pkg/controller/storage/container/container_test.go @@ -23,7 +23,7 @@ import ( "testing" "time" - "github.com/crossplane/provider-azure/apis" + "github.com/crossplane-contrib/provider-azure/apis" "github.com/Azure/azure-storage-blob-go/azblob" "github.com/Azure/go-autorest/autorest" @@ -45,10 +45,10 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-azure/apis/storage/v1alpha3" - v1alpha3test "github.com/crossplane/provider-azure/apis/storage/v1alpha3/test" - "github.com/crossplane/provider-azure/pkg/clients/storage" - azurestoragefake "github.com/crossplane/provider-azure/pkg/clients/storage/fake" + "github.com/crossplane-contrib/provider-azure/apis/storage/v1alpha3" + v1alpha3test "github.com/crossplane-contrib/provider-azure/apis/storage/v1alpha3/test" + "github.com/crossplane-contrib/provider-azure/pkg/clients/storage" + azurestoragefake "github.com/crossplane-contrib/provider-azure/pkg/clients/storage/fake" ) func init() { From a476e026a1efcabb9a85c3f91ab9541b3643cc52 Mon Sep 17 00:00:00 2001 From: Nic Cope Date: Thu, 26 May 2022 18:53:59 -0700 Subject: [PATCH 12/12] Switch build machinery from crossplane to crossplane-contrib org Signed-off-by: Nic Cope --- .golangci.yml | 2 +- Makefile | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 63266e14..564e3fa5 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -38,7 +38,7 @@ linters-settings: goimports: # put imports beginning with prefix after 3rd-party packages; # it's a comma-separated list of prefixes - local-prefixes: github.com/crossplane/provider-azure + local-prefixes: github.com/crossplane-contrib/provider-azure gocyclo: # minimal code complexity to report, 30 by default (but we recommend 10-20) diff --git a/Makefile b/Makefile index 2a72a4b9..73d8ce62 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # Setup Project PROJECT_NAME := provider-azure -PROJECT_REPO := github.com/crossplane/$(PROJECT_NAME) +PROJECT_REPO := github.com/crossplane-contrib/$(PROJECT_NAME) PLATFORMS ?= linux_amd64 linux_arm64 diff --git a/go.mod b/go.mod index b19db173..371ecd7b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/crossplane/provider-azure +module github.com/crossplane-contrib/provider-azure go 1.17