[bitnami/external-dns] add support for custom serviceAccount.labels (#11251)

* [bitnami/external-dns] add support for custom serviceAccount.labels

Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com>

* [bitnami/external-dns] bump minor chart version

Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com>

* [bitnami/external-dns] rearrange logic

Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* [bitnami/external-dns] unneeded blankspace

Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com>

Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Alberto Otero
2022-07-20 16:57:16 +02:00
committed by GitHub
co-authored by Bitnami Containers
parent c1131ce310
commit c863b03390
4 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -24,4 +24,4 @@ sources:
- https://github.com/kubernetes-sigs/external-dns
- https://github.com/bitnami/bitnami-docker-external-dns
- https://github.com/kubernetes-sigs/external-dns
version: 6.6.1
version: 6.7.0
+2 -1
View File
@@ -78,7 +78,7 @@ The command removes all the Kubernetes components associated with the chart and
| --------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- |
| `image.registry` | ExternalDNS image registry | `docker.io` |
| `image.repository` | ExternalDNS image repository | `bitnami/external-dns` |
| `image.tag` | ExternalDNS Image tag (immutable tags are recommended) | `0.12.0-debian-11-r0` |
| `image.tag` | ExternalDNS Image tag (immutable tags are recommended) | `0.12.0-debian-11-r9` |
| `image.pullPolicy` | ExternalDNS image pull policy | `IfNotPresent` |
| `image.pullSecrets` | ExternalDNS image pull secrets | `[]` |
| `hostAliases` | Deployment pod host aliases | `[]` |
@@ -276,6 +276,7 @@ The command removes all the Kubernetes components associated with the chart and
| `serviceAccount.name` | ServiceAccount to use. A name is generated using the external-dns.fullname template if it is not set | `""` |
| `serviceAccount.annotations` | Additional Service Account annotations | `{}` |
| `serviceAccount.automountServiceAccountToken` | Automount API credentials for a service account. | `true` |
| `serviceAccount.labels` | Additional labels to be included on the service account | `{}` |
| `rbac.create` | Whether to create & use RBAC resources or not | `true` |
| `rbac.clusterRole` | Whether to create Cluster Role. When set to false creates a Role in `namespace` | `true` |
| `rbac.apiVersion` | Version of the RBAC API | `v1` |
@@ -8,6 +8,9 @@ metadata:
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.serviceAccount.labels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.serviceAccount.labels "context" $ ) | nindent 4 }}
{{- end }}
annotations:
{{- if .Values.commonAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
+3
View File
@@ -830,6 +830,9 @@ serviceAccount:
## @param serviceAccount.automountServiceAccountToken Automount API credentials for a service account.
##
automountServiceAccountToken: true
## @param serviceAccount.labels [object] Additional labels to be included on the service account
##
labels: {}
## RBAC parameters
## https://kubernetes.io/docs/reference/access-authn-authz/rbac/
##