From 099af64f838ade04c60120d338756fbae0eb823d Mon Sep 17 00:00:00 2001 From: Anna Williamson Date: Fri, 17 Jul 2026 09:16:00 -0700 Subject: [PATCH] fix(azure): external-dns extraArgs must be a list, not a map The kubernetes-sigs external-dns chart (v1.14.4) expects extraArgs to be an array of raw flag strings (the chart does `range .Values.extraArgs` and appends each item to the container args). Passing a map fails the chart's values.schema.json ("extraArgs: Invalid type. Expected: array, given: object") and would render the value instead of the flag. Switch the Azure external-dns values to the list form used elsewhere (clusters_aws.go), passing the full flag string `--txt-wildcard-replacement=wildcard`. --- lib/steps/helm_azure.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/steps/helm_azure.go b/lib/steps/helm_azure.go index dce0c678..0938a1ac 100644 --- a/lib/steps/helm_azure.go +++ b/lib/steps/helm_azure.go @@ -510,8 +510,8 @@ func azureHelmExternalDNS(ctx *pulumi.Context, k8sOpt pulumi.ResourceOption, com v := map[string]interface{}{ "provider": "azure", "domainFilters": domainFilters, - "extraArgs": map[string]interface{}{ - "txt-wildcard-replacement": "wildcard", + "extraArgs": []interface{}{ + "--txt-wildcard-replacement=wildcard", }, "extraVolumes": []interface{}{ map[string]interface{}{