Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ resource "azurerm_kubernetes_cluster" "k6tests" {
temporary_name_for_rotation = "tmpdefault"
}

key_vault_secrets_provider {
secret_rotation_enabled = true
}

workload_identity_enabled = true
oidc_issuer_enabled = true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ resource "azurerm_kubernetes_cluster" "k6tests" {
type = "SystemAssigned"
}

key_vault_secrets_provider {
secret_rotation_enabled = true
}

local_account_disabled = true
role_based_access_control_enabled = true
azure_active_directory_role_based_access_control {
Expand All @@ -26,13 +30,13 @@ resource "azurerm_kubernetes_cluster" "k6tests" {
automatic_upgrade_channel = "stable"

default_node_pool {
name = "default"
auto_scaling_enabled = true
min_count = 1
max_count = 3
vm_size = "Standard_D3_v2"
name = "default"
auto_scaling_enabled = true
min_count = 1
max_count = 3
vm_size = "Standard_D3_v2"
temporary_name_for_rotation = "tmpdefault"
max_pods = 200
max_pods = 200

upgrade_settings { # Adding these to keep plans clean
drain_timeout_in_minutes = 0
Expand Down