Skip to content

Commit

Permalink
Add AWS_CREDENTIAL_FILE key for externa dns operator (#231)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha authored Oct 16, 2023
1 parent 535255b commit 74aacfe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/ace/templates/dns/dns-cred.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ stringData:
AWS_ACCESS_KEY_ID: '{{ .Values.global.infra.dns.auth.route53.AWS_ACCESS_KEY_ID }}'
AWS_SECRET_ACCESS_KEY: '{{ .Values.global.infra.dns.auth.route53.AWS_SECRET_ACCESS_KEY }}'
AWS_REGION: '{{ .Values.global.infra.dns.auth.route53.AWS_REGION }}'
# https://github.com/kubeops/external-dns-operator/blob/master/examples/aws-credential.md
AWS_CREDENTIAL_FILE: |
[default]
aws_access_key_id = {{ .Values.global.infra.dns.auth.route53.AWS_ACCESS_KEY_ID }}
aws_secret_access_key = {{ .Values.global.infra.dns.auth.route53.AWS_SECRET_ACCESS_KEY }}
{{- end }}
{{- if eq .Values.global.infra.dns.provider "cloudDNS" }}
GOOGLE_SERVICE_ACCOUNT_JSON_KEY: '{{ .Values.global.infra.dns.auth.cloudDNS.GOOGLE_SERVICE_ACCOUNT_JSON_KEY }}'
Expand Down

0 comments on commit 74aacfe

Please sign in to comment.