Skip to content

Commit

Permalink
Merge pull request #1300 from andyzhangx/refine-private-endpoint-code
Browse files Browse the repository at this point in the history
chore: refine refine private endpoint to reduce error messages
  • Loading branch information
andyzhangx authored Mar 19, 2024
2 parents d0cd4d4 + ffac387 commit bb104ba
Show file tree
Hide file tree
Showing 8 changed files with 63 additions and 35 deletions.
12 changes: 6 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ require (
golang.org/x/net v0.22.0
google.golang.org/grpc v1.59.0
google.golang.org/protobuf v1.33.0
k8s.io/api v0.29.2
k8s.io/apimachinery v0.29.2
k8s.io/client-go v0.29.2
k8s.io/api v0.29.3
k8s.io/apimachinery v0.29.3
k8s.io/client-go v0.29.3
k8s.io/component-base v0.29.2
k8s.io/klog/v2 v2.120.1
k8s.io/kubernetes v1.29.0
k8s.io/mount-utils v0.29.0
k8s.io/utils v0.0.0-20231127182322-b307cd553661
sigs.k8s.io/cloud-provider-azure v1.27.1-0.20240308123135-28150a3f23d8
sigs.k8s.io/cloud-provider-azure/pkg/azclient/configloader v0.0.0-20240308123135-28150a3f23d8
sigs.k8s.io/cloud-provider-azure v1.27.1-0.20240319093822-58cad130d9dc
sigs.k8s.io/cloud-provider-azure/pkg/azclient/configloader v0.0.0-20240319093822-58cad130d9dc
sigs.k8s.io/yaml v1.4.0
)

Expand Down Expand Up @@ -156,7 +156,7 @@ require (
k8s.io/kubelet v0.29.2 // indirect
k8s.io/pod-security-admission v0.29.0
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.28.0 // indirect
sigs.k8s.io/cloud-provider-azure/pkg/azclient v0.0.0-20240218020800-ba9f211f36bf
sigs.k8s.io/cloud-provider-azure/pkg/azclient v0.0.0-20240312050048-978ce44d3559
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
)
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -462,12 +462,12 @@ k8s.io/utils v0.0.0-20231127182322-b307cd553661 h1:FepOBzJ0GXm8t0su67ln2wAZjbQ6R
k8s.io/utils v0.0.0-20231127182322-b307cd553661/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.28.0 h1:TgtAeesdhpm2SGwkQasmbeqDo8th5wOBA5h/AjTKA4I=
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.28.0/go.mod h1:VHVDI/KrK4fjnV61bE2g3sA7tiETLn8sooImelsCx3Y=
sigs.k8s.io/cloud-provider-azure v1.27.1-0.20240308123135-28150a3f23d8 h1:rY8tqbl7oTnsMVdrRshRfWbtrVNAJ6wPjJvt/iecNvI=
sigs.k8s.io/cloud-provider-azure v1.27.1-0.20240308123135-28150a3f23d8/go.mod h1:7YA0Tq3FmmhaMfVY/2VH+vZgsRsYgbtE3P5+a6UOyAk=
sigs.k8s.io/cloud-provider-azure/pkg/azclient v0.0.0-20240218020800-ba9f211f36bf h1:pyQe3MFQp1Hb8iya4LaZiBEh3M0RgZ/yv0/ws5memP4=
sigs.k8s.io/cloud-provider-azure/pkg/azclient v0.0.0-20240218020800-ba9f211f36bf/go.mod h1:cyVxBbpj/UR4Vi4KhxO3vhzBB2JcN08TngoPQ0J0aWc=
sigs.k8s.io/cloud-provider-azure/pkg/azclient/configloader v0.0.0-20240308123135-28150a3f23d8 h1:8vkgKNPp/DScHQCe8xnch5DaNNZAj2Mw93Mkx1CXSB4=
sigs.k8s.io/cloud-provider-azure/pkg/azclient/configloader v0.0.0-20240308123135-28150a3f23d8/go.mod h1:Lgaq/yv2awggDs6zFF85347o7L1ucRKx57b55qjh470=
sigs.k8s.io/cloud-provider-azure v1.27.1-0.20240319093822-58cad130d9dc h1:y/jDBU+4EcPiHGPMQeK6B4IKEhOp3CCts/ZaRH1sa3w=
sigs.k8s.io/cloud-provider-azure v1.27.1-0.20240319093822-58cad130d9dc/go.mod h1:nS6tUQgopFVyqFQW1P/luDXNNQfsQOg3WFs9GhzNjm8=
sigs.k8s.io/cloud-provider-azure/pkg/azclient v0.0.0-20240312050048-978ce44d3559 h1:F+99oLx87DQfrS4lstZ1Sp+88ADqzsmb9H383BhLFN0=
sigs.k8s.io/cloud-provider-azure/pkg/azclient v0.0.0-20240312050048-978ce44d3559/go.mod h1:JqLgOmF8R3ymzVYrSMXMssDVmbzSVrj7olvrQUffMkI=
sigs.k8s.io/cloud-provider-azure/pkg/azclient/configloader v0.0.0-20240319093822-58cad130d9dc h1:YHsVYAF6cioowCy+5vp4d3/GVHyypMhFkc6FgBF5E+g=
sigs.k8s.io/cloud-provider-azure/pkg/azclient/configloader v0.0.0-20240319093822-58cad130d9dc/go.mod h1:pPkJPx/eMVWP3R+LhPoOYGoY7lywcMJev5L2uSfH+Jo=
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4=
Expand Down
12 changes: 6 additions & 6 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ gopkg.in/yaml.v2
# gopkg.in/yaml.v3 v3.0.1
## explicit
gopkg.in/yaml.v3
# k8s.io/api v0.29.2 => k8s.io/api v0.29.0
# k8s.io/api v0.29.3 => k8s.io/api v0.29.0
## explicit; go 1.21
k8s.io/api/admission/v1
k8s.io/api/admission/v1beta1
Expand Down Expand Up @@ -818,7 +818,7 @@ k8s.io/api/storage/v1beta1
k8s.io/apiextensions-apiserver/pkg/apis/apiextensions
k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1
k8s.io/apiextensions-apiserver/pkg/features
# k8s.io/apimachinery v0.29.2 => k8s.io/apimachinery v0.29.0
# k8s.io/apimachinery v0.29.3 => k8s.io/apimachinery v0.29.0
## explicit; go 1.21
k8s.io/apimachinery/pkg/api/equality
k8s.io/apimachinery/pkg/api/errors
Expand Down Expand Up @@ -1029,7 +1029,7 @@ k8s.io/apiserver/plugin/pkg/audit/truncate
k8s.io/apiserver/plugin/pkg/audit/webhook
k8s.io/apiserver/plugin/pkg/authenticator/token/webhook
k8s.io/apiserver/plugin/pkg/authorizer/webhook
# k8s.io/client-go v0.29.2 => k8s.io/client-go v0.29.0
# k8s.io/client-go v0.29.3 => k8s.io/client-go v0.29.0
## explicit; go 1.21
k8s.io/client-go/applyconfigurations/admissionregistration/v1
k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1
Expand Down Expand Up @@ -1555,7 +1555,7 @@ sigs.k8s.io/apiserver-network-proxy/konnectivity-client/pkg/client
sigs.k8s.io/apiserver-network-proxy/konnectivity-client/pkg/client/metrics
sigs.k8s.io/apiserver-network-proxy/konnectivity-client/pkg/common/metrics
sigs.k8s.io/apiserver-network-proxy/konnectivity-client/proto/client
# sigs.k8s.io/cloud-provider-azure v1.27.1-0.20240308123135-28150a3f23d8
# sigs.k8s.io/cloud-provider-azure v1.27.1-0.20240319093822-58cad130d9dc
## explicit; go 1.21
sigs.k8s.io/cloud-provider-azure/pkg/azureclients
sigs.k8s.io/cloud-provider-azure/pkg/azureclients/armclient
Expand Down Expand Up @@ -1613,7 +1613,7 @@ sigs.k8s.io/cloud-provider-azure/pkg/util/string
sigs.k8s.io/cloud-provider-azure/pkg/util/taints
sigs.k8s.io/cloud-provider-azure/pkg/util/vm
sigs.k8s.io/cloud-provider-azure/pkg/version
# sigs.k8s.io/cloud-provider-azure/pkg/azclient v0.0.0-20240218020800-ba9f211f36bf
# sigs.k8s.io/cloud-provider-azure/pkg/azclient v0.0.0-20240312050048-978ce44d3559
## explicit; go 1.20
sigs.k8s.io/cloud-provider-azure/pkg/azclient
sigs.k8s.io/cloud-provider-azure/pkg/azclient/accountclient
Expand Down Expand Up @@ -1655,7 +1655,7 @@ sigs.k8s.io/cloud-provider-azure/pkg/azclient/virtualmachinescalesetclient
sigs.k8s.io/cloud-provider-azure/pkg/azclient/virtualmachinescalesetvmclient
sigs.k8s.io/cloud-provider-azure/pkg/azclient/virtualnetworkclient
sigs.k8s.io/cloud-provider-azure/pkg/azclient/virtualnetworklinkclient
# sigs.k8s.io/cloud-provider-azure/pkg/azclient/configloader v0.0.0-20240308123135-28150a3f23d8
# sigs.k8s.io/cloud-provider-azure/pkg/azclient/configloader v0.0.0-20240319093822-58cad130d9dc
## explicit; go 1.21
sigs.k8s.io/cloud-provider-azure/pkg/azclient/configloader
# sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd
Expand Down
14 changes: 14 additions & 0 deletions vendor/sigs.k8s.io/cloud-provider-azure/pkg/azclient/auth.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions vendor/sigs.k8s.io/cloud-provider-azure/pkg/azclient/cloud.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions vendor/sigs.k8s.io/cloud-provider-azure/pkg/consts/consts.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bb104ba

Please sign in to comment.