diff --git a/stable/external-dns/Chart.yaml b/stable/external-dns/Chart.yaml index 24866b1a21..5141f4b02f 100644 --- a/stable/external-dns/Chart.yaml +++ b/stable/external-dns/Chart.yaml @@ -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: diff --git a/stable/external-dns/README.md b/stable/external-dns/README.md index 505cf4fc89..cbbf7b0a8f 100644 --- a/stable/external-dns/README.md +++ b/stable/external-dns/README.md @@ -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`. diff --git a/stable/external-dns/templates/deployment.yaml b/stable/external-dns/templates/deployment.yaml index d2289555cf..59c21f0c56 100644 --- a/stable/external-dns/templates/deployment.yaml +++ b/stable/external-dns/templates/deployment.yaml @@ -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 diff --git a/stable/external-dns/values.yaml b/stable/external-dns/values.yaml index b105c50ebf..121d942051 100755 --- a/stable/external-dns/values.yaml +++ b/stable/external-dns/values.yaml @@ -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/