[stable/external-dns] Add missing flags related to processing sources, kubefed related (Reopening #17494) (#19833)

* add missing flags related to processing sources

Signed-off-by: Denis Manente <denis.manente@automatic-server.com>

* version bump

Signed-off-by: Denis Manente <denis.manente@automatic-server.com>

* fix wrong description of fqdnTemplates option

Signed-off-by: Denis Manente <denis.manente@automatic-server.com>

* resolve feedback, remove optional hint on fields not mandatory, minor bump instead of patch

Signed-off-by: Denis Manente <denis.manente@automatic-server.com>

* fix wrong version increment, it's adding a feature, so a minor bump

Signed-off-by: Denis Manente <denis.manente@automatic-server.com>

Co-authored-by: Sameer Naik <sameer@fuloi.com>
This commit is contained in:
Dionysius
2020-01-06 22:32:18 -08:00
committed by Kubernetes Prow Robot
co-authored by Sameer Naik
parent 5820fd492d
commit e8850dcae3
5 changed files with 69 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: external-dns
version: 2.13.3
version: 2.14.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:
+6
View File
@@ -59,7 +59,13 @@ The following table lists the configurable parameters of the external-dns chart
| `fullnameOverride` | String to fully override external-dns.fullname template with a string | `nil` |
| `sources` | K8s resources type to be observed for new DNS entries by ExternalDNS | `[service, ingress]` |
| `provider` | DNS provider where the DNS records will be created (mandatory) (options: aws, azure, google, ...) | `aws` |
| `namespace` | Limit sources of endpoints to a specific namespace (default: all namespaces) | `""` |
| `fqdnTemplates` | Templated strings that are used to generate DNS names from sources that don't define a hostname themselves | `[]` |
| `combineFQDNAnnotation` | Combine FQDN template and annotations instead of overwriting | `false` |
| `ignoreHostnameAnnotation` | Ignore hostname annotation when generating DNS names, valid only when fqdn-template is set | `false` |
| `publishInternalServices` | Whether to publish DNS records for ClusterIP services or not | `false` |
| `publishHostIP` | Allow external-dns to publish host-ip for headless services | `false` |
| `serviceTypeFilter` | The service types to take care about (default: all, options: ClusterIP, NodePort, LoadBalancer, ExternalName) | `[]` |
| `aws.credentials.accessKey` | When using the AWS provider, set `aws_access_key_id` in the AWS credentials (optional) | `""` |
| `aws.credentials.secretKey` | When using the AWS provider, set `aws_secret_access_key` in the AWS credentials (optional) | `""` |
| `aws.credentials.mountPath` | When using the AWS provider, determine `mountPath` for `credentials` secret | `"/.aws"` |
@@ -57,9 +57,27 @@ spec:
{{- if .Values.dryRun }}
- --dry-run
{{- end }}
{{- if .Values.namespace }}
- --namespace={{ .Values.namespace }}
{{- end }}
{{- if .Values.fqdnTemplates }}
- --fqdn-template={{ join "," .Values.fqdnTemplates }}{{/* Explicitly wants comma separated list */}}
{{- end }}
{{- if .Values.combineFQDNAnnotation }}
- --combine-fqdn-annotation
{{- end }}
{{- if and .Values.ignoreHostnameAnnotation .Values.fqdnTemplates }}
- --ignore-hostname-annotation
{{- end }}
{{- if .Values.publishInternalServices }}
- --publish-internal-services
{{- end }}
{{- if .Values.publishHostIP }}
- --publish-host-ip
{{- end }}
{{- range .Values.serviceTypeFilter }}
- --service-type-filter={{ . }}
{{- end }}
{{- range .Values.domainFilters }}
- --domain-filter={{ . }}
{{- end }}
+22 -1
View File
@@ -44,9 +44,30 @@ sources:
##
provider: aws
## Whether to publish DNS records for ClusterIP services or not (optional)
## Flags related to processing sources
## ref: https://github.com/kubernetes-incubator/external-dns/blob/master/pkg/apis/externaldns/types.go#L272
##
## Limit sources of endpoints to a specific namespace (default: all namespaces)
##
namespace: ""
## Templated strings that are used to generate DNS names from sources that don't define a hostname themselves
##
fqdnTemplates: []
## Combine FQDN template and annotations instead of overwriting
##
combineFQDNAnnotation: false
## Ignore hostname annotation when generating DNS names, valid only when fqdn-template is set
##
ignoreHostnameAnnotation: false
## Allow external-dns to publish DNS records for ClusterIP services
##
publishInternalServices: false
## Allow external-dns to publish host-ip for headless services
##
publishHostIP: false
## The service types to take care about (default: all, options: ClusterIP, NodePort, LoadBalancer, ExternalName)
##
serviceTypeFilter: []
## AWS configuration to be set via arguments/env. variables
##
+22 -1
View File
@@ -44,9 +44,30 @@ sources:
##
provider: aws
## Whether to publish DNS records for ClusterIP services or not (optional)
## Flags related to processing sources
## ref: https://github.com/kubernetes-incubator/external-dns/blob/master/pkg/apis/externaldns/types.go#L272
##
## Limit sources of endpoints to a specific namespace (default: all namespaces)
##
namespace: ""
## Templated strings that are used to generate DNS names from sources that don't define a hostname themselves
##
fqdnTemplates: []
## Combine FQDN template and annotations instead of overwriting
##
combineFQDNAnnotation: false
## Ignore hostname annotation when generating DNS names, valid only when fqdn-template is set
##
ignoreHostnameAnnotation: false
## Allow external-dns to publish DNS records for ClusterIP services
##
publishInternalServices: false
## Allow external-dns to publish host-ip for headless services
##
publishHostIP: false
## The service types to take care about (default: all, options: ClusterIP, NodePort, LoadBalancer, ExternalName)
##
serviceTypeFilter: []
## AWS configuration to be set via arguments/env. variables
##