mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 07:03:31 +00:00
Further fixes.
This commit is contained in:
@@ -306,12 +306,12 @@ func createService(ctx api.Context, name string, port int, client client.Interfa
|
|||||||
ObjectMeta: api.ObjectMeta{
|
ObjectMeta: api.ObjectMeta{
|
||||||
Name: name,
|
Name: name,
|
||||||
Labels: map[string]string{
|
Labels: map[string]string{
|
||||||
"simpleService": name,
|
"name": name,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Port: port,
|
Port: port,
|
||||||
Selector: map[string]string{
|
Selector: map[string]string{
|
||||||
"simpleService": name,
|
"name": name,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
svc, err := client.Services(api.Namespace(ctx)).Create(svc)
|
svc, err := client.Services(api.Namespace(ctx)).Create(svc)
|
||||||
|
Reference in New Issue
Block a user