mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 15:13:08 +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{
|
||||
Name: name,
|
||||
Labels: map[string]string{
|
||||
"simpleService": name,
|
||||
"name": name,
|
||||
},
|
||||
},
|
||||
Port: port,
|
||||
Selector: map[string]string{
|
||||
"simpleService": name,
|
||||
"name": name,
|
||||
},
|
||||
}
|
||||
svc, err := client.Services(api.Namespace(ctx)).Create(svc)
|
||||
|
Reference in New Issue
Block a user