@@ -10426,28 +10426,24 @@ resource "google_container_cluster" "primary" {
10426
10426
min_master_version = data.google_container_engine_versions.uscentral1a.release_channel_latest_version["STABLE"]
10427
10427
initial_node_count = 1
10428
10428
10429
- # This feature has been available since GKE 1.27, and currently the only
10430
- # supported Beta API is authentication.k8s.io/v1beta1/selfsubjectreviews.
10431
- # However, in the future, more Beta APIs will be supported, such as the
10432
- # resource.k8s.io group. At the same time, some existing Beta APIs will be
10433
- # deprecated as the feature will be GAed, and the Beta API will be eventually
10434
- # removed. In the case of the SelfSubjectReview API, it is planned to be GAed
10435
- # in Kubernetes as of 1.28. And, the Beta API of SelfSubjectReview will be removed
10436
- # after at least 3 minor version bumps, so it will be removed as of Kubernetes 1.31
10437
- # or later.
10438
- # https://pr.k8s.io/117713
10429
+ # Some existing Beta APIs will be deprecated as the feature will be GAed,
10430
+ # and the Beta API will be eventually removed. In the case of the ResourceClaims
10431
+ # and its depended APIs, they are GAed in Kubernetes as of 1.34. And, the Beta APIs
10432
+ # will be removed after at least 3 minor version bumps, so it will be removed as
10433
+ # of Kubernetes 1.37 or later.
10434
+ # https://pr.k8s.io/132706
10439
10435
# https://kubernetes.io/docs/reference/using-api/deprecation-guide/
10440
10436
#
10441
- # The new Beta APIs will be available since GKE 1.28
10442
- # - admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies
10443
- # - admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings
10444
- # https://pr.k8s.io/118644
10445
- #
10446
10437
# Removing the Beta API from Kubernetes will break the test.
10447
10438
# TODO: Replace the Beta API with one available on the version of GKE
10448
10439
# if the test is broken.
10449
10440
enable_k8s_beta_apis {
10450
- enabled_apis = ["authentication.k8s.io/v1beta1/selfsubjectreviews"]
10441
+ enabled_apis = [
10442
+ "resource.k8s.io/v1beta1/deviceclasses",
10443
+ "resource.k8s.io/v1beta1/resourceclaims",
10444
+ "resource.k8s.io/v1beta1/resourceclaimtemplates",
10445
+ "resource.k8s.io/v1beta1/resourceslices"
10446
+ ]
10451
10447
}
10452
10448
network = "%s"
10453
10449
subnetwork = "%s"
0 commit comments