Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
a242aeef
Commit
a242aeef
authored
Apr 18, 2018
by
Mike Danese
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename ExternaID to something that is obviously deprecated
parent
f4275311
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
types.go
pkg/apis/core/types.go
+5
-4
types.go
staging/src/k8s.io/api/core/v1/types.go
+5
-4
No files found.
pkg/apis/core/types.go
View file @
a242aeef
...
@@ -3228,10 +3228,6 @@ type NodeSpec struct {
...
@@ -3228,10 +3228,6 @@ type NodeSpec struct {
// +optional
// +optional
PodCIDR
string
PodCIDR
string
// External ID of the node assigned by some machine database (e.g. a cloud provider)
// +optional
ExternalID
string
// ID of the node assigned by the cloud provider
// ID of the node assigned by the cloud provider
// Note: format is "<ProviderName>://<ProviderSpecificNodeID>"
// Note: format is "<ProviderName>://<ProviderSpecificNodeID>"
// +optional
// +optional
...
@@ -3249,6 +3245,11 @@ type NodeSpec struct {
...
@@ -3249,6 +3245,11 @@ type NodeSpec struct {
// The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field
// The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field
// +optional
// +optional
ConfigSource
*
NodeConfigSource
ConfigSource
*
NodeConfigSource
// Deprecated. Not all kubelets will set this field. Remove field after 1.13.
// see: https://issues.k8s.io/61966
// +optional
DoNotUse_ExternalID
string
}
}
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
...
...
staging/src/k8s.io/api/core/v1/types.go
View file @
a242aeef
...
@@ -3612,10 +3612,6 @@ type NodeSpec struct {
...
@@ -3612,10 +3612,6 @@ type NodeSpec struct {
// PodCIDR represents the pod IP range assigned to the node.
// PodCIDR represents the pod IP range assigned to the node.
// +optional
// +optional
PodCIDR
string
`json:"podCIDR,omitempty" protobuf:"bytes,1,opt,name=podCIDR"`
PodCIDR
string
`json:"podCIDR,omitempty" protobuf:"bytes,1,opt,name=podCIDR"`
// External ID of the node assigned by some machine database (e.g. a cloud provider).
// Deprecated.
// +optional
ExternalID
string
`json:"externalID,omitempty" protobuf:"bytes,2,opt,name=externalID"`
// ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
// ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
// +optional
// +optional
ProviderID
string
`json:"providerID,omitempty" protobuf:"bytes,3,opt,name=providerID"`
ProviderID
string
`json:"providerID,omitempty" protobuf:"bytes,3,opt,name=providerID"`
...
@@ -3630,6 +3626,11 @@ type NodeSpec struct {
...
@@ -3630,6 +3626,11 @@ type NodeSpec struct {
// The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field
// The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field
// +optional
// +optional
ConfigSource
*
NodeConfigSource
`json:"configSource,omitempty" protobuf:"bytes,6,opt,name=configSource"`
ConfigSource
*
NodeConfigSource
`json:"configSource,omitempty" protobuf:"bytes,6,opt,name=configSource"`
// Deprecated. Not all kubelets will set this field. Remove field after 1.13.
// see: https://issues.k8s.io/61966
// +optional
DoNotUse_ExternalID
string
`json:"externalID,omitempty" protobuf:"bytes,2,opt,name=externalID"`
}
}
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment