mirror of https://github.com/kubernetes/kops.git
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. |
||
---|---|---|
.. | ||
pkg/dnsprovider | ||
README.md |
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