Skip to content

Commit d16bdd9

Browse files
Document deprecated GKE Enterprise fields. (#14932) (#24210)
[upstream:a964c384ceb1a35769c99eb8c7b2b371af9050de] Signed-off-by: Modular Magician <magic-modules@google.com>
1 parent e1a0a28 commit d16bdd9

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.changelog/14932.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:deprecation
2+
container: deprecated `enterprise_config` field in `google_container_cluster` resource. GKE Enterprise features are now available without an Enterprise tier.
3+
```

google/services/container/resource_container_cluster.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2315,19 +2315,22 @@ func ResourceContainerCluster() *schema.Resource {
23152315
MaxItems: 1,
23162316
Computed: true,
23172317
Description: `Defines the config needed to enable/disable GKE Enterprise`,
2318+
Deprecated: `GKE Enterprise features are now available without an Enterprise tier. This field is deprecated and will be removed in a future major release`,
23182319
Elem: &schema.Resource{
23192320
Schema: map[string]*schema.Schema{
23202321
"cluster_tier": {
23212322
Type: schema.TypeString,
23222323
Computed: true,
23232324
Description: `Indicates the effective cluster tier. Available options include STANDARD and ENTERPRISE.`,
2325+
Deprecated: `GKE Enterprise features are now available without an Enterprise tier. This field is deprecated and will be removed in a future major release`,
23242326
},
23252327
"desired_tier": {
23262328
Type: schema.TypeString,
23272329
Optional: true,
23282330
Computed: true,
23292331
ValidateFunc: validation.StringInSlice([]string{"STANDARD", "ENTERPRISE"}, false),
23302332
Description: `Indicates the desired cluster tier. Available options include STANDARD and ENTERPRISE.`,
2333+
Deprecated: `GKE Enterprise features are now available without an Enterprise tier. This field is deprecated and will be removed in a future major release`,
23312334
DiffSuppressFunc: tpgresource.EmptyOrDefaultStringSuppress("CLUSTER_TIER_UNSPECIFIED"),
23322335
},
23332336
},

website/docs/r/container_cluster.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ Fleet configuration for the cluster. Structure is [documented below](#nested_fle
435435
Configuration for [direct-path (via ALTS) with workload identity.](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters#workloadaltsconfig). Structure is [documented below](#nested_workload_alts_config).
436436

437437
* `enterprise_config` - (Optional)
438-
Configuration for [Enterprise edition].(https://cloud.google.com/kubernetes-engine/enterprise/docs/concepts/gke-editions). Structure is [documented below](#nested_enterprise_config).
438+
(DEPRECATED) Configuration for [Enterprise edition].(https://cloud.google.com/kubernetes-engine/enterprise/docs/concepts/gke-editions). Structure is [documented below](#nested_enterprise_config). Deprecated as GKE Enterprise features are now available without an Enterprise tier. See https://cloud.google.com/blog/products/containers-kubernetes/gke-gets-new-pricing-and-capabilities-on-10th-birthday for the announcement of this change.
439439

440440
* `anonymous_authentication_config` - (Optional)
441441
Configuration for [anonymous authentication restrictions](https://cloud.google.com/kubernetes-engine/docs/how-to/hardening-your-cluster#restrict-anon-access). Structure is [documented below](#anonymous_authentication_config).
@@ -1657,7 +1657,7 @@ linux_node_config {
16571657

16581658
<a name="nested_enterprise_config"></a>The `enterprise_config` block supports:
16591659

1660-
* `desired_tier` - (Optional) Sets the tier of the cluster. Available options include `STANDARD` and `ENTERPRISE`.
1660+
* `desired_tier` - (Optional) (DEPRECATED) Sets the tier of the cluster. Available options include `STANDARD` and `ENTERPRISE`. Deprecated as GKE Enterprise features are now available without an Enterprise tier. See https://cloud.google.com/blog/products/containers-kubernetes/gke-gets-new-pricing-and-capabilities-on-10th-birthday for the announcement of this change.
16611661

16621662
<a name="anonymous_authentication_config"></a>The `anonymous_authentication_config` block supports:
16631663

0 commit comments

Comments
 (0)