Skip to content

Commit 4b8f0d5

Browse files
Add custom_ca_trust_certificates_base64 support
1 parent be56dbf commit 4b8f0d5

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ resource "azurerm_kubernetes_cluster" "main" {
1717
automatic_upgrade_channel = var.automatic_channel_upgrade
1818
azure_policy_enabled = var.azure_policy_enabled
1919
cost_analysis_enabled = var.cost_analysis_enabled
20+
custom_ca_trust_certificates_base64 = var.custom_ca_trust_certificates_base64
2021
disk_encryption_set_id = var.disk_encryption_set_id
2122
dns_prefix = var.prefix
2223
dns_prefix_private_cluster = var.dns_prefix_private_cluster

variables.tf

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,13 @@ variable "create_role_assignments_for_application_gateway" {
457457
nullable = false
458458
}
459459

460+
variable "custom_ca_trust_certificates_base64" {
461+
type = list(any)
462+
default = []
463+
description = "(Optional) A list of up to 10 base64 encoded CA certificates that will be added to the trust store on nodes."
464+
nullable = false
465+
}
466+
460467
variable "data_collection_settings" {
461468
type = object({
462469
data_collection_interval = string
@@ -1573,4 +1580,4 @@ variable "upgrade_override" {
15731580
`force_upgrade_enabled` - (Required) Whether to force upgrade the cluster. Possible values are `true` or `false`.
15741581
`effective_until` - (Optional) Specifies the duration, in RFC 3339 format (e.g., `2025-10-01T13:00:00Z`), the upgrade_override values are effective. This field must be set for the `upgrade_override` values to take effect. The date-time must be within the next 30 days.
15751582
EOT
1576-
}
1583+
}

0 commit comments

Comments
 (0)