Skip to content

Commit c49aa73

Browse files
authored
Merge pull request #905 from cpanato/GH-868
azuremachine: deprecate Location - to be removed in v1alpha4
2 parents b470408 + 9476396 commit c49aa73

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

api/v1alpha3/azuremachine_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ type AzureMachineSpec struct {
7272
// DataDisk specifies the parameters that are used to add one or more data disks to the machine
7373
DataDisks []DataDisk `json:"dataDisks,omitempty"`
7474

75+
// DEPRECATED: to support old clients, will be removed in v1alpha4
7576
Location string `json:"location"`
7677

7778
SSHPublicKey string `json:"sshPublicKey"`

config/crd/bases/infrastructure.cluster.x-k8s.io_azuremachines.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@ spec:
394394
type: object
395395
type: object
396396
location:
397+
description: 'DEPRECATED: to support old clients, will be removed
398+
in v1alpha4'
397399
type: string
398400
osDisk:
399401
description: OSDisk specifies the parameters for the operating system

config/crd/bases/infrastructure.cluster.x-k8s.io_azuremachinetemplates.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,8 @@ spec:
338338
type: object
339339
type: object
340340
location:
341+
description: 'DEPRECATED: to support old clients, will be
342+
removed in v1alpha4'
341343
type: string
342344
osDisk:
343345
description: OSDisk specifies the parameters for the operating

0 commit comments

Comments
 (0)