mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Mark SecondaryRangeName as deprecated.
This commit is contained in:
parent
1968e96165
commit
f32f46829c
@ -130,6 +130,7 @@ type Cloud struct {
|
||||
// unsafeSubnetworkURL should be used only via SubnetworkURL() accessor,
|
||||
// to ensure it was properly initialized.
|
||||
unsafeSubnetworkURL string
|
||||
// DEPRECATED: Do not rely on this value as it may be incorrect.
|
||||
secondaryRangeName string
|
||||
networkProjectID string
|
||||
onXPN bool
|
||||
@ -179,6 +180,7 @@ type ConfigGlobal struct {
|
||||
NetworkProjectID string `gcfg:"network-project-id"`
|
||||
NetworkName string `gcfg:"network-name"`
|
||||
SubnetworkName string `gcfg:"subnetwork-name"`
|
||||
// DEPRECATED: Do not rely on this value as it may be incorrect.
|
||||
// SecondaryRangeName is the name of the secondary range to allocate IP
|
||||
// aliases. The secondary range must be present on the subnetwork the
|
||||
// cluster is attached to.
|
||||
@ -226,6 +228,7 @@ type CloudConfig struct {
|
||||
NetworkURL string
|
||||
SubnetworkName string
|
||||
SubnetworkURL string
|
||||
// DEPRECATED: Do not rely on this value as it may be incorrect.
|
||||
SecondaryRangeName string
|
||||
NodeTags []string
|
||||
NodeInstancePrefix string
|
||||
|
Loading…
Reference in New Issue
Block a user