mirror of https://github.com/k3s-io/k3s
Fixed node namespace to none.
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>pull/564/head
parent
9ba74cb5b5
commit
f6ad347982
|
@ -148,7 +148,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{
|
||||
|
|
|
@ -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}},
|
||||
|
|
Loading…
Reference in New Issue