[stable/external-dns] adding --aws-prefer-cname to create CNAME records for Kubernetes service or ingress (#17854)

* [stable/external-dns] Adding --aws-prefer-cname argument for the external-dns to replace Alias records with CNAME's.

Signed-off-by: Venkata Lolla <suryasaicharan93@gmail.com>

* [stable/external-dns] Adding --aws-prefer-cname argument for the external-dns to replace Alias records with CNAME's.

Signed-off-by: Venkata Lolla <suryasaicharan93@gmail.com>

* [stable/external-dns] Chart version bump and propogated the preferCNAME value in the values-production.yaml file

Signed-off-by: Venkata Lolla <suryasaicharan93@gmail.com>
This commit is contained in:
Venkata Surya Lolla
2019-10-11 01:53:38 -07:00
committed by Kubernetes Prow Robot
parent eebdf20750
commit a347b408df
5 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: external-dns
version: 2.8.0
version: 2.9.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:
+1
View File
@@ -67,6 +67,7 @@ The following table lists the configurable parameters of the external-dns chart
| `aws.assumeRoleArn` | When using the AWS provider, assume role by specifying --aws-assume-role to the external-dns daemon | `""` |
| `aws.batchChangeSize` | When using the AWS provider, set the maximum number of changes that will be applied in each batch | `1000` |
| `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.resourceGroup` | When using the Azure provider, set the Azure Resource Group | `""` |
| `azure.tenantId` | When using the Azure provider, set the Azure Tenant ID | `""` |
@@ -105,6 +105,9 @@ spec:
{{- range .Values.aws.zoneTags }}
- --aws-zone-tags={{ . }}
{{- end }}
{{- if .Values.aws.preferCNAME }}
- --aws-prefer-cname
{{- end }}
# Azure Arguments
{{- if eq .Values.provider "azure" }}
{{- if .Values.azure.resourceGroup }}
@@ -74,6 +74,9 @@ aws:
## Zone Tag Filter
##
zoneTags: []
## Enable AWS Prefer CNAME. Available values are: true, false
##
preferCNAME: ""
## Azure configuration to be set via arguments/env. variables
##
+3 -1
View File
@@ -74,7 +74,9 @@ aws:
## AWS Zone tags
##
zoneTags: []
## Enable AWS Prefer CNAME. Available values are: true, false
##
preferCNAME: ""
## Azure configuration to be set via arguments/env. variables
##
azure: