updated to latest k8s version

This commit is contained in:
ston1th 2021-09-19 17:20:43 +02:00
commit bbbd20b5f2
12 changed files with 668 additions and 525 deletions

View file

@ -25,7 +25,7 @@ import (
)
const (
providerName = pve.PVEScheme
ProviderName = pve.PVEScheme
scheme = pve.PVESchemeURL
)
@ -125,7 +125,7 @@ func (c *cloud) Routes() (cloudprovider.Routes, bool) {
}
func (c *cloud) ProviderName() string {
return providerName
return ProviderName
}
func (c *cloud) ScrubDNS(nameservers, searches []string) (nsOut, srchOut []string) {
@ -137,7 +137,7 @@ func (c *cloud) HasClusterID() bool {
}
func init() {
cloudprovider.RegisterCloudProvider(providerName, func(config io.Reader) (cloudprovider.Interface, error) {
cloudprovider.RegisterCloudProvider(ProviderName, func(config io.Reader) (cloudprovider.Interface, error) {
return newCloud(config)
})
}