Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cloud-provider-aws instead of legacy-cloud-providers/aws #5138

Merged
merged 4 commits into from
Apr 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
go-version: '>=1.20.0'

- uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.19
FROM golang:1.20
LABEL maintainer="Marcin Wielgus <[email protected]>"

ENV GOPATH /gopath/
Expand Down
11 changes: 6 additions & 5 deletions cluster-autoscaler/cloudprovider/aws/aws_sdk_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,18 @@ package aws

import (
"fmt"
"gopkg.in/gcfg.v1"
"io"
"os"
"strconv"
"strings"

"gopkg.in/gcfg.v1"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/ec2metadata"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/session"
provider_aws "k8s.io/cloud-provider-aws/pkg/providers/v1"
"k8s.io/klog/v2"
provider_aws "k8s.io/legacy-cloud-providers/aws"
"os"
"strconv"
"strings"
)

// createAWSSDKProvider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"io"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/ec2metadata"
provider_aws "k8s.io/legacy-cloud-providers/aws"
provider_aws "k8s.io/cloud-provider-aws/pkg/providers/v1"
"net/http"
"net/http/httptest"
"os"
Expand Down
211 changes: 109 additions & 102 deletions cluster-autoscaler/go.mod

Large diffs are not rendered by default.

347 changes: 190 additions & 157 deletions cluster-autoscaler/go.sum

Large diffs are not rendered by default.

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.

202 changes: 202 additions & 0 deletions cluster-autoscaler/vendor/cloud.google.com/go/compute/metadata/LICENSE

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.

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

Loading