Skip to content

External DNS crashes when AWS_CA_BUNDLE environment variable is set #5666

@mwmix

Description

@mwmix

What happened:

When you set the AWS_CA_BUNDLE environment variable the application crashes with the following error:

instantiating AWS config: unable to add custom RootCAs HTTPClient, has no WithTransportOptions, *http.Client

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

AWS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
go run main.go --provider=aws --registry=txt --source=fake --log-level=info

Anything else we need to know?:

I've opened a PR at #5665 that addresses this issue.

Environment:

  • External-DNS version (use external-dns --version): v0.18.0
  • DNS provider: aws
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions