Skip to content

Commit

Permalink
Bring back external-dns service account
Browse files Browse the repository at this point in the history
During CoreDNS refactor https://github.com/AbsaOSS/k8gb/pull/292
local external-dns instance was removed, while Route53 and NS1
external-dns instances relies on service account created by local
instance. This commit brings back external-dns service account.

Fixes: https://github.com/AbsaOSS/k8gb/issues/328

Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
  • Loading branch information
k0da committed Feb 28, 2021
1 parent 3a561ea commit 955c39c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions chart/k8gb/templates/external-dns/service-account.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: external-dns
namespace: {{ .Release.Namespace }}
{{ if .Values.route53.enabled }}
annotations:
eks.amazonaws.com/role-arn: {{ .Values.route53.irsaRole }}
{{ end }}

0 comments on commit 955c39c

Please sign in to comment.