[stable/external-dns] Add option to set registry (#5138)

* Revert "Allow upgrade with empty clusterIP (#4711)"

This reverts commit 26289ca945.

* [stable/external-dns] Add option to set registry
This commit is contained in:
Corey O'Brien
2018-05-11 01:20:54 -07:00
committed by k8s-ci-robot
parent 1695d4932b
commit 1becb52cbb
5 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
description: Configure external DNS servers (AWS Route53, Google CloudDNS and others)
for Kubernetes Ingresses and Services
name: external-dns
version: 0.5.5
version: 0.6.0
appVersion: 0.5.0
home: https://github.com/kubernetes-incubator/external-dns
sources:
+1
View File
@@ -48,6 +48,7 @@ The following table lists the configurable parameters of the external-dns chart
| `publishInternalServices` | Allow external-dns to publish DNS records for ClusterIP services (optional). | `false` |
| `rbac.create` | If true, create & use RBAC resources | `false` |
| `rbac.serviceAccountName` | Existing ServiceAccount to use (ignored if rbac.create=true) | `default` |
| `registry` | Registry method to use (options: txt, noop) | `txt` |
| `resources` | CPU/Memory resource requests/limits. | `{}` |
| `service.annotations` | Annotations to add to service | `{}` |
| `service.clusterIP` | IP address to assign to service | `""` |
@@ -35,6 +35,7 @@ spec:
{{- end }}
- --policy={{ .Values.policy }}
- --provider={{ .Values.provider }}
- --registry={{ .Values.registry }}
{{- if .Values.txtOwnerId }}
- --txt-owner-id={{ .Values.txtOwnerId }}
{{- end }}
@@ -12,7 +12,9 @@ metadata:
release: {{ .Release.Name }}
name: {{ template "external-dns.fullname" . }}
spec:
{{- if .Values.service.clusterIP }}
clusterIP: "{{ .Values.service.clusterIP }}"
{{- end }}
{{- if .Values.service.externalIPs }}
externalIPs:
{{ toYaml .Values.service.externalIPs | indent 4 }}
+3
View File
@@ -40,6 +40,9 @@ domainFilters: []
# Filter sources managed by external-dns via annotation using label selector semantics (default: all sources)
annotationFilter: ""
# Registry to use for ownership (txt or noop)
registry: "txt"
# When using the TXT registry, a name that identifies this instance of ExternalDNS
txtOwnerId: ""