From cba89db7f10e166abaf1aca51520b1dfcdd6863b Mon Sep 17 00:00:00 2001 From: Eric Yang Date: Thu, 28 Nov 2019 04:07:03 -0500 Subject: [PATCH] [stable/external-dns] add azure cloud in configuration. (#18898) * [stable/external-dns] add azure cloud in configuration. Signed-off-by: Eric Yang * [stable/external-dns] bump version to 2.10.4. Signed-off-by: Eric Yang * [stable/external-dns] bump the minor version not the patch one. Signed-off-by: Eric Yang --- stable/external-dns/Chart.yaml | 2 +- stable/external-dns/README.md | 1 + stable/external-dns/templates/_helpers.tpl | 3 +++ stable/external-dns/values-production.yaml | 3 +++ stable/external-dns/values.yaml | 3 +++ 5 files changed, 11 insertions(+), 1 deletion(-) diff --git a/stable/external-dns/Chart.yaml b/stable/external-dns/Chart.yaml index e035970a70..cf89cd9b52 100644 --- a/stable/external-dns/Chart.yaml +++ b/stable/external-dns/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: external-dns -version: 2.10.3 +version: 2.11.0 appVersion: 0.5.17 description: ExternalDNS is a Kubernetes addon that configures public DNS servers with information about exposed Kubernetes services to make them discoverable. keywords: diff --git a/stable/external-dns/README.md b/stable/external-dns/README.md index 7b57bcc919..ee53ea48ca 100644 --- a/stable/external-dns/README.md +++ b/stable/external-dns/README.md @@ -70,6 +70,7 @@ The following table lists the configurable parameters of the external-dns chart | `aws.zoneTags` | When using the AWS provider, filter for zones with these tags | `[]` | | `aws.preferCNAME` | When using the AWS provider, replaces Alias recors with CNAME (options: true, false) | `[]` | | `azure.secretName` | When using the Azure provider, set the secret containing the `azure.json` file | `""` | +| `azure.cloud` | When using the Azure provider, set the Azure Clound | `""` | | `azure.resourceGroup` | When using the Azure provider, set the Azure Resource Group | `""` | | `azure.tenantId` | When using the Azure provider, set the Azure Tenant ID | `""` | | `azure.subscriptionId` | When using the Azure provider, set the Azure Subscription ID | `""` | diff --git a/stable/external-dns/templates/_helpers.tpl b/stable/external-dns/templates/_helpers.tpl index 2cfde44b2f..5c0e9f2afa 100644 --- a/stable/external-dns/templates/_helpers.tpl +++ b/stable/external-dns/templates/_helpers.tpl @@ -124,6 +124,9 @@ source_profile = default {{- define "external-dns.azure-credentials" -}} { + {{- if .Values.azure.cloud }} + "cloud": "{{ .Values.azure.cloud }}", + {{- end}} "tenantId": "{{ .Values.azure.tenantId }}", "subscriptionId": "{{ .Values.azure.subscriptionId }}", "resourceGroup": "{{ .Values.azure.resourceGroup }}", diff --git a/stable/external-dns/values-production.yaml b/stable/external-dns/values-production.yaml index 91c2503d90..60a9f09157 100644 --- a/stable/external-dns/values-production.yaml +++ b/stable/external-dns/values-production.yaml @@ -89,6 +89,9 @@ azure: secretName: "" ## Azure resource group to use ## + cloud: "" + ## Azure Cloud to use + ## resourceGroup: "" ## Azure tenant ID to use ## diff --git a/stable/external-dns/values.yaml b/stable/external-dns/values.yaml index 0b171cd84c..6f1430b3af 100644 --- a/stable/external-dns/values.yaml +++ b/stable/external-dns/values.yaml @@ -88,6 +88,9 @@ azure: secretName: "" ## Azure resource group to use ## + cloud: "" + ## Azure Cloud to use + ## resourceGroup: "" ## Azure tenant ID to use ##