Skip to content

Commit 1baec68

Browse files
committed
chore: migrate to zoned lb api
1 parent 1428e36 commit 1baec68

File tree

5 files changed

+95
-63
lines changed

5 files changed

+95
-63
lines changed

docs/loadbalancer-annotations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ Note:
2525
- If an annotation is not specified, the cloud controller manager will apply default configuration.
2626
2727
### `service.beta.kubernetes.io/scw-loadbalancer-id`
28-
This annotation is the ID of the loadbalancer to use. It is populated by the CCM with the new LB ID if it doesn't exist.
29-
It has the form `<region>/<lb-id>`.
28+
This annotation is the ID of the loadbalancer to use. It is populated by the CCM with the new LB ID if the annotation does not exist.
29+
It has the form `<zone>/<lb-id>`.
3030

3131
### `service.beta.kubernetes.io/scw-loadbalancer-forward-port-algorithm`
3232
This is the annotation to choose the load balancing algorithm.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/scaleway/scaleway-cloud-controller-manager
33
go 1.15
44

55
require (
6-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20201207195254-17763ced6080
6+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210817142252-2836d8ffcc09
77
github.com/spf13/pflag v1.0.5
88
k8s.io/api v0.20.0
99
k8s.io/apimachinery v0.20.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,8 @@ github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6So
355355
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
356356
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
357357
github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
358-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20201207195254-17763ced6080 h1:XiH2Y4P68/dm16NjXXQf8OzyDv7B6mxAgF4X+vWvYoI=
359-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20201207195254-17763ced6080/go.mod h1:CJJ5VAbozOl0yEw7nHB9+7BXTJbIn6h7W+f6Gau5IP8=
358+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210817142252-2836d8ffcc09 h1:yhJDl3IfiMEtenYzmBE8txehmXD9jztfUTtpdLb/WYU=
359+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210817142252-2836d8ffcc09/go.mod h1:CJJ5VAbozOl0yEw7nHB9+7BXTJbIn6h7W+f6Gau5IP8=
360360
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
361361
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
362362
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=

0 commit comments

Comments
 (0)