mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Add label selector for etcd pvc
This commit is contained in:
parent
46cd8ec91b
commit
a3270b1321
@ -549,6 +549,7 @@ func createPVC(clientset *client.Clientset, namespace, svcName, etcdPVCapacity s
|
||||
api.ResourceStorage: capacity,
|
||||
},
|
||||
},
|
||||
Selector: &metav1.LabelSelector{MatchLabels: apiserverSvcSelector},
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -672,6 +672,7 @@ func fakeInitHostFactory(apiserverServiceType v1.ServiceType, federationName, na
|
||||
v1.ResourceStorage: capacity,
|
||||
},
|
||||
},
|
||||
Selector: &metav1.LabelSelector{MatchLabels: apiserverSvcSelector},
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user