mirror of https://github.com/kubernetes/kops.git
Merge pull request #16469 from hakman/azure-verifier-lowercase
azure: Use lowercase for node names
This commit is contained in:
commit
f92efdf016
|
|
@ -89,7 +89,7 @@ func (a azureVerifier) VerifyToken(ctx context.Context, rawRequest *http.Request
|
|||
if vm.Properties.OSProfile == nil || vm.Properties.OSProfile.ComputerName == nil || *vm.Properties.OSProfile.ComputerName == "" {
|
||||
return nil, fmt.Errorf("determining ComputerName for VMSS %q virtual machine #%s", vmssName, vmssIndex)
|
||||
}
|
||||
nodeName := *vm.Properties.OSProfile.ComputerName
|
||||
nodeName := strings.ToLower(*vm.Properties.OSProfile.ComputerName)
|
||||
|
||||
ni, err := a.client.nisClient.GetVirtualMachineScaleSetNetworkInterface(ctx, a.client.resourceGroup, vmssName, vmssIndex, vmssName+"-netconfig", nil)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue