-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
azurerm_kubernetes_cluster
/azurerm_kubernetes_cluster_node_pool
-…
… add `drain_timeout_in_minutes` and `node_soak_duration_in_minutes` (#26137) * `r/azurerm_kubernetes_*`: add `drain_timeout_in_minutes` to `upgrade_settings` * fix: test fixture * fix: panic because of interface mismatch * fix: add drain_timeout_in_minutes for kubernetes_node_pool * small fixes due to rebase * fix tests * remove println * docs * Added node soak parameter Co-authored-by: Itay Grudev <[email protected]> * upgrade test cases Co-authored-by: Itay Grudev <[email protected]> * Bug Fix: If typo * Automatic style fixes * Removed deprecated fields in 2023-09-02-preview * update changelog * Added params to: upgradeSettingsForDataSourceSchema * Revert "Removed deprecated fields in 2023-09-02-preview" This reverts commit b87cbb2. * Removed changelog * DRYed code with an early return * Updated default values for drain timeout and node soak duration * Updated defaults and schema type * utils.Int64 -> pointer.To( * DRYed code with an early return * DRYed code with an early return * Updated documentation as requested * Updated default values * Removed unnecessary tests, but left problematic corner cases * Updated cluster documentation * Trimmed the mangedCluster tests in addition to the node pool tests * Update internal/services/containers/kubernetes_cluster_node_pool_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/kubernetes_cluster_node_pool_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/kubernetes_cluster_node_pool_resource.go Co-authored-by: stephybun <[email protected]> * Update internal/services/containers/migration/kubernetes_cluster_node_pool.go Co-authored-by: stephybun <[email protected]> * Updated tests as requested * Fix: make fmt * add CustomizeDiff for drain_timeout_in_minutes and node_soak_duration_in_minutes * remove customizediff for node_soak_duration_timeout since this accepts being set to 0 * reset CHANGELOG * update documentation on drain_timeout_in_minutes * link rest api specs issue for customizediff * remove default value for drain_timeout_in_minutes for 4.0 and various test fixes --------- Co-authored-by: aristosvo <[email protected]> Co-authored-by: Jan Schmidle <[email protected]> Co-authored-by: Itay Grudev <[email protected]> Co-authored-by: Itay Grudev <[email protected]>
- Loading branch information
1 parent
22f6b6e
commit d8cc46d
Showing
12 changed files
with
174 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.