Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: pool upgrade settings, separate rbac_enabled for azure_active_directory_role_based_access_control, node_count as output parameter #15

Merged

Conversation

kpshjk
Copy link
Contributor

@kpshjk kpshjk commented Feb 7, 2025

This PR contains several features and fixes an issue.

After discussion with @dploeger I put it altogether in this PR, because in 1 commit I regenerated the documentation, which would introduce merge conflicts, if each commit was in its own PR.

feat: configure adding default node pool upgrade settings
feat: use input parameter node_count as output parameter
feat: configure azure_rbac_enabled for azure_active_directory_role_ba…
fix: The temporary_name_for_rotation value must not be null

Using a current azurerm without explicit upgrade settings will remove
default upgrade settings:

Terraform will perform the following actions:
  ~ resource "azurerm_kubernetes_cluster" "k8s" {
      ~ default_node_pool {
          - upgrade_settings {
              - drain_timeout_in_minutes      = 0 -> null
              - max_surge                     = "10%" -> null
              - node_soak_duration_in_minutes = 0 -> null
            }
        }
    }
Plan: 0 to add, 1 to change, 0 to destroy.

This feature makes adding upgrade settings configurable
…sed_access_control independent from role_based_access_control_enabled

Documentation was generated with the terraform module tool
@kpshjk
Copy link
Contributor Author

kpshjk commented Feb 13, 2025

@timdeluxe @ThomasMinor @dploeger
Please review!

@kpshjk kpshjk force-pushed the default_node_pool_upgrade_settings_max_surge branch from 5a7b322 to 0223bae Compare February 13, 2025 09:26
Copy link
Member

@timdeluxe timdeluxe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🎁

Going to merge and release soon

@timdeluxe timdeluxe merged commit 5721291 into dodevops:main Feb 13, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants