kops/dnsprovider
Peter Rifel 8428ff2d55
Provide default region to route53 client
This has similar behavior to awsup.ValidateRegion where we dont have access to a kops.Cluster to determine its region.

This is only needed in the dnsprovider client initialized in the kops CLI for creating the placeholder records - it wont be used on control plane nodes because LoadDefaultConfig will query IMDS for the node's region.

This isn't needed for all other usage of awsconfig.LoadDefaultConfig() because the region is known, for example in awsup.NewAWSCloud().

In any other partitions where us-east-1 is not appropriate, the user will already be specifying a region in their ~/.aws/config or via env var.
2024-04-02 22:19:48 -05:00
..
pkg/dnsprovider Provide default region to route53 client 2024-04-02 22:19:48 -05:00
README.md Fixup import paths & bazel 2017-12-13 20:17:48 -05:00

README.md

This is a (partial) copy of federation/pkg/dnsprovider from k8s.io/kubernetes.

Changes made here should be submitted upstream.

Reasons for doing this:

  • Ability to fix bugs quickly
  • We want to stop vendoring k8s.io/kubernetes
  • The federation code is likely to move somewhere else in future