Merge pull request #69615 from k82cn/update_node_ns

Fixed node namespace to none.
This commit is contained in:
Kubernetes Prow Robot 2018-12-23 23:39:09 -08:00 committed by GitHub
commit eb79f8f279
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ func newNode(name string, label map[string]string) *v1.Node {
ObjectMeta: metav1.ObjectMeta{
Name: name,
Labels: label,
Namespace: metav1.NamespaceDefault,
Namespace: metav1.NamespaceNone,
},
Status: v1.NodeStatus{
Conditions: []v1.NodeCondition{

View File

@ -278,7 +278,7 @@ func newNode(name string, label map[string]string) *v1.Node {
ObjectMeta: metav1.ObjectMeta{
Name: name,
Labels: label,
Namespace: metav1.NamespaceDefault,
Namespace: metav1.NamespaceNone,
},
Status: v1.NodeStatus{
Conditions: []v1.NodeCondition{{Type: v1.NodeReady, Status: v1.ConditionTrue}},