[bitnami/external-dns] Support configuring service labels (#3917)

* Support configuring service labels

* Support configuring service labels

Co-authored-by: Jude Iwuh <Jude.Iwuh@travelport.com>
This commit is contained in:
jiwuh
2020-10-06 18:05:22 +01:00
committed by GitHub
parent e850a06d81
commit 41d917aba5
5 changed files with 16 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: external-dns
version: 3.4.4
version: 3.4.5
appVersion: 0.7.4
description: ExternalDNS is a Kubernetes addon that configures public DNS servers with information about exposed Kubernetes services to make them discoverable.
keywords:

View File

@@ -182,6 +182,7 @@ The following table lists the configurable parameters of the external-dns chart
| `service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `""` |
| `service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | `[]` |
| `service.annotations` | Annotations to add to service | `{}` |
| `service.labels` | Labels to add to service | `{}` |
| `serviceAccount.create` | Determine whether a Service Account should be created or it should reuse a exiting one. | `true` |
| `serviceAccount.name` | ServiceAccount to use. A name is generated using the external-dns.fullname template if it is not set | `nil` |
| `serviceAccount.annotations` | Additional Service Account annotations | `{}` |

View File

@@ -3,6 +3,9 @@ kind: Service
metadata:
name: {{ template "external-dns.fullname" . }}
labels: {{ include "external-dns.labels" . | nindent 4 }}
{{- if .Values.service.labels -}}
{{ toYaml .Values.service.labels | nindent 4 }}
{{- end }}
{{- if .Values.service.annotations }}
annotations: {{ toYaml .Values.service.annotations | nindent 4 }}
{{- end }}

View File

@@ -452,6 +452,11 @@ service:
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
##
annotations: {}
## Provide any additional labels which may be required. This can be used to
## have external-dns show up in `kubectl cluster-info`
## kubernetes.io/cluster-service: "true"
## kubernetes.io/name: "external-dns"
labels: {}
## ServiceAccount parameters
## https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/

View File

@@ -453,6 +453,12 @@ service:
##
annotations: {}
## Provide any additional labels which may be required. This can be used to
## have external-dns show up in `kubectl cluster-info`
## kubernetes.io/cluster-service: "true"
## kubernetes.io/name: "external-dns"
labels: {}
## ServiceAccount parameters
## https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
##