Skip to content

Commit

Permalink
Allow specifying automountServiceAccountToken (bitnami#5629)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuastern committed Mar 3, 2021
1 parent 0999bfc commit f067cc8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bitnami/external-dns/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: 4.8.5
version: 4.8.6
1 change: 1 addition & 0 deletions bitnami/external-dns/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ The following table lists the configurable parameters of the external-dns chart
| `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 | `{}` |
| `serviceAccount.automountServiceAccountToken` | Automount API credentials for a service account. | `true` |
| `rbac.create` | Whether to create & use RBAC resources or not | `true` |
| `rbac.apiVersion` | Version of the RBAC API | `v1` |
| `rbac.pspEnabled` | PodSecurityPolicy | `false` |
Expand Down
1 change: 1 addition & 0 deletions bitnami/external-dns/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ metadata:
{{- if .Values.serviceAccount.annotations }}
annotations: {{ toYaml .Values.serviceAccount.annotations | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
{{- end }}
3 changes: 3 additions & 0 deletions bitnami/external-dns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,9 @@ serviceAccount:
## Annotations for the Service Account
##
annotations: {}
## Automount API credentials for a service account.
##
automountServiceAccountToken: true

## RBAC parameteres
## https://kubernetes.io/docs/reference/access-authn-authz/rbac/
Expand Down

0 comments on commit f067cc8

Please sign in to comment.