mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Remove aws cred provider dep on cloud provider
This commit is contained in:
parent
094938895a
commit
81c4fde489
@ -22,7 +22,6 @@ import (
|
|||||||
"k8s.io/klog"
|
"k8s.io/klog"
|
||||||
|
|
||||||
"k8s.io/apimachinery/pkg/util/sets"
|
"k8s.io/apimachinery/pkg/util/sets"
|
||||||
awscredentialprovider "k8s.io/kubernetes/pkg/credentialprovider/aws"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// wellKnownRegions is the complete list of regions known to the AWS cloudprovider
|
// wellKnownRegions is the complete list of regions known to the AWS cloudprovider
|
||||||
@ -78,8 +77,6 @@ func recognizeRegion(region string) {
|
|||||||
|
|
||||||
klog.V(4).Infof("found AWS region %q", region)
|
klog.V(4).Infof("found AWS region %q", region)
|
||||||
|
|
||||||
awscredentialprovider.RegisterCredentialsProvider(region)
|
|
||||||
|
|
||||||
awsRegions.Insert(region)
|
awsRegions.Insert(region)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user