mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
Remove ability to re-enable serving deprecated storagev1beta1 and storagev1alpha1 APIs
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
This commit is contained in:
@@ -112,8 +112,8 @@ func TestAPIServerMetrics(t *testing.T) {
|
||||
}
|
||||
|
||||
// Make a request to a deprecated API to ensure there's at least one data point
|
||||
if _, err := client.StorageV1beta1().CSIStorageCapacities("default").List(context.TODO(), metav1.ListOptions{}); err != nil {
|
||||
t.Fatalf("unexpected error getting rbac roles: %v", err)
|
||||
if _, err := client.FlowcontrolV1beta3().FlowSchemas().List(context.TODO(), metav1.ListOptions{}); err != nil {
|
||||
t.Fatalf("unexpected error: %v", err)
|
||||
}
|
||||
|
||||
metrics, err := scrapeMetrics(s)
|
||||
|
||||
Reference in New Issue
Block a user