Problem
The Cluster managed resource (container.gcp.upbound.io / namespaced variant) models GKE maintenance exclusions under spec.forProvider.maintenancePolicy.maintenanceExclusion, including exclusionOptions with scope.
The underlying Terraform resource google_container_cluster also supports end_time_behavior on maintenance_policy.maintenance_exclusion.exclusion_options (Terraform attribute end_time_behavior), which controls behavior when the exclusion end time is reached (e.g. UNTIL_END_OF_SUPPORT).
That field is not exposed on the Crossplane CRDs / generated types today, so users cannot declare the same policy they can in Terraform.
Expected behavior
Managed resource specs should allow optional endTimeBehavior (camelCase in CRD) under each maintenance exclusion’s exclusionOptions, mapped to Terraform end_time_behavior, consistent with other exclusionOptions fields.
Context
- In Terraform Google provider 6.x (the version range this provider is currently generated against), the exported provider schema for
google_container_cluster may not yet list end_time_behavior; the attribute appears in newer 7.x provider schemas. Regardless, the GKE API supports the behavior and Terraform documents/validates it in current provider code.
- Implementation may be a targeted API + CRD +
config/schema.json update while remaining on Terraform 6.x, or may be picked up automatically after a future Terraform provider major bump and full regeneration.
Acceptance criteria
References
- Terraform:
google_container_cluster → maintenance_policy → maintenance_exclusion → exclusion_options → end_time_behavior
- GKE: maintenance exclusion options / end time behavior (provider docs mirror API behavior)
Problem
The
Clustermanaged resource (container.gcp.upbound.io/ namespaced variant) models GKE maintenance exclusions underspec.forProvider.maintenancePolicy.maintenanceExclusion, includingexclusionOptionswithscope.The underlying Terraform resource
google_container_clusteralso supportsend_time_behavioronmaintenance_policy.maintenance_exclusion.exclusion_options(Terraform attributeend_time_behavior), which controls behavior when the exclusion end time is reached (e.g.UNTIL_END_OF_SUPPORT).That field is not exposed on the Crossplane CRDs / generated types today, so users cannot declare the same policy they can in Terraform.
Expected behavior
Managed resource specs should allow optional
endTimeBehavior(camelCase in CRD) under each maintenance exclusion’sexclusionOptions, mapped to Terraformend_time_behavior, consistent with otherexclusionOptionsfields.Context
google_container_clustermay not yet listend_time_behavior; the attribute appears in newer 7.x provider schemas. Regardless, the GKE API supports the behavior and Terraform documents/validates it in current provider code.config/schema.jsonupdate while remaining on Terraform 6.x, or may be picked up automatically after a future Terraform provider major bump and full regeneration.Acceptance criteria
endTimeBehavioris available onexclusionOptionsforCluster(cluster-scoped and namespaced APIs as applicable).config/schema.json/ metadata updated if the repo requires them to stay in sync for generation or CI.References
google_container_cluster→maintenance_policy→maintenance_exclusion→exclusion_options→end_time_behavior