mirror of https://github.com/kubernetes/kops.git
azure: Remove `-ipconfig` suffix for VMSS IP configuration
This commit is contained in:
parent
c95f297c06
commit
402f74c9ca
|
@ -334,7 +334,7 @@ func (s *VMScaleSet) RenderAzure(t *azure.AzureAPITarget, a, e, changes *VMScale
|
|||
EnableIPForwarding: to.Ptr(true),
|
||||
IPConfigurations: []*compute.VirtualMachineScaleSetIPConfiguration{
|
||||
{
|
||||
Name: to.Ptr(name + "-ipconfig"),
|
||||
Name: to.Ptr(name),
|
||||
Properties: ipConfigProperties,
|
||||
},
|
||||
},
|
||||
|
|
|
@ -229,7 +229,7 @@ func TestVMScaleSetFind(t *testing.T) {
|
|||
EnableIPForwarding: to.Ptr(true),
|
||||
IPConfigurations: []*compute.VirtualMachineScaleSetIPConfiguration{
|
||||
{
|
||||
Name: to.Ptr("vmss-ipconfig"),
|
||||
Name: to.Ptr("vmss"),
|
||||
Properties: ipConfigProperties,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue