Add label selector for etcd pvc

pull/6/head
shashidharatd 2017-02-17 22:10:45 +05:30
parent 46cd8ec91b
commit a3270b1321
2 changed files with 2 additions and 0 deletions

View File

@ -549,6 +549,7 @@ func createPVC(clientset *client.Clientset, namespace, svcName, etcdPVCapacity s
api.ResourceStorage: capacity,
},
},
Selector: &metav1.LabelSelector{MatchLabels: apiserverSvcSelector},
},
}

View File

@ -672,6 +672,7 @@ func fakeInitHostFactory(apiserverServiceType v1.ServiceType, federationName, na
v1.ResourceStorage: capacity,
},
},
Selector: &metav1.LabelSelector{MatchLabels: apiserverSvcSelector},
},
}