[stable/external-dns] Add --google-project --txt-owner-id … (#3389)

* Update to external-dns 0.4.8 and add --google-project --txt-owner-id --annotation-filter

* Update Chart.yaml

* Update deployment.yaml
This commit is contained in:
lemaral
2018-02-03 10:32:06 -08:00
committed by k8s-ci-robot
parent 7ea5f277ad
commit 25118e2bbd
4 changed files with 21 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.4.5
version: 0.4.6
appVersion: 0.4.8
home: https://github.com/kubernetes-incubator/external-dns
sources:
+3
View File
@@ -23,6 +23,7 @@ The following tables lists the configurable parameters of the external-dns chart
| Parameter | Description | Default |
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| `annotationFilter` | Filter sources managed by external-dns via annotation using label selector semantics (default: all sources) (optional). | `""` |
| `aws.accessKey` | `AWS_ACCESS_KEY_ID` to set in the environment (optional). | `""` |
| `aws.secretKey` | `AWS_SECRET_ACCESS_KEY` to set in the environment (optional). | `""` |
| `aws.region` | `AWS_DEFAULT_REGION` to set in the environment (optional). | `us-east-1` |
@@ -32,6 +33,7 @@ The following tables lists the configurable parameters of the external-dns chart
| `domainFilters` | Limit possible target zones by domain suffixes (optional). | `[]` |
| `extraArgs` | Optional object of extra args, as `name`: `value` pairs. Where the name is the command line arg to external-dns. | `{}` |
| `extraEnv` | Optional object of extra environment variables, as `name`: `value` pairs. | `{}` |
| `google.project` | When using the Google provider, specify the Google project (required when provider=google). | `""` |
| `image.name` | Container image name (Including repository name if not `hub.docker.com`). | `registry.opensource.zalan.do/teapot/external-dns` |
| `image.pullPolicy` | Container pull policy. | `IfNotPresent` |
| `image.tag` | Container image tag. | `v0.4.5` |
@@ -53,6 +55,7 @@ The following tables lists the configurable parameters of the external-dns chart
| `service.type` | Type of service to create | `ClusterIP` |
| `sources` | List of resource types to monitor, possible values are fake, service or ingress. | `[service, ingress]` |
| `tolerations` | List of node taints to tolerate (requires Kubernetes >= 1.6) | `[]` |
| `txtOwnerId` | When using the TXT registry, a name that identifies this instance of ExternalDNS (optional) | `"default"` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
@@ -29,6 +29,12 @@ spec:
{{- end }}
- --policy={{ .Values.policy }}
- --provider={{ .Values.provider }}
{{- if .Values.txtOwnerId }}
- --txt-owner-id={{ .Values.txtOwnerId }}
{{- end }}
{{- if .Values.annotationFilter }}
- --annotation-filter={{ .Values.annotationFilter }}
{{- end }}
{{- range .Values.sources }}
- --source={{ . }}
{{- end }}
@@ -42,6 +48,9 @@ spec:
{{- if .Values.aws.zoneType }}
- --aws-zone-type={{ .Values.aws.zoneType }}
{{- end }}
{{- if .Values.google.project }}
- --google-project={{ .Values.google.project }}
{{- end }}
volumeMounts:
{{- if eq .Values.provider "azure" }}
- name: azure-config-file
+8
View File
@@ -29,9 +29,17 @@ aws:
cloudflare:
apiKey: ""
email: ""
# When using the Google provider, specify the Google project (required when provider=google)
google:
project: ""
## Limit possible target zones by domain suffixes (optional)
domainFilters: []
# Filter sources managed by external-dns via annotation using label selector semantics (default: all sources)
annotationFilter: ""
# When using the TXT registry, a name that identifies this instance of ExternalDNS
txtOwnerId: ""
## Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/