mirror of https://github.com/k3s-io/k3s
Add label selector for etcd pvc
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