mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 06:02:18 +00:00
api: resource.k8s.io v1alpha1 -> v1alpha2
For Kubernetes 1.27, we intend to make some breaking API changes: - rename PodScheduling -> PodSchedulingHints (https://github.com/kubernetes/kubernetes/issues/114283) - extend ResourceClaimStatus (https://github.com/kubernetes/enhancements/pull/3802) We need to switch from v1alpha1 to v1alpha2 for that.
This commit is contained in:
@@ -369,8 +369,8 @@ func startResourceClaimController(ctx context.Context, controllerContext Control
|
||||
ephemeralController, err := resourceclaim.NewController(
|
||||
controllerContext.ClientBuilder.ClientOrDie("resource-claim-controller"),
|
||||
controllerContext.InformerFactory.Core().V1().Pods(),
|
||||
controllerContext.InformerFactory.Resource().V1alpha1().ResourceClaims(),
|
||||
controllerContext.InformerFactory.Resource().V1alpha1().ResourceClaimTemplates())
|
||||
controllerContext.InformerFactory.Resource().V1alpha2().ResourceClaims(),
|
||||
controllerContext.InformerFactory.Resource().V1alpha2().ResourceClaimTemplates())
|
||||
if err != nil {
|
||||
return nil, true, fmt.Errorf("failed to start ephemeral volume controller: %v", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user