-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add VinylDNS as a provider #1080
Add VinylDNS as a provider #1080
Conversation
16db9c4
to
154f17f
Compare
057897c
to
5b28d7f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic work, thanks for offering a new provider to external-dns 🎉.
I've added some comments, PTAL.
nginx 10.0.0.115 34.x.x.x 80:30543/TCP 2m | ||
``` | ||
|
||
## Running a locally built version pointed to the above nginx service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also add some notes how to deploy it, see https://github.com/kubernetes-incubator/external-dns/blob/master/docs/tutorials/cloudflare.md#deploy-externaldns?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with and without RBAC
README.md
Outdated
@@ -43,7 +43,7 @@ ExternalDNS' current release is `v0.5`. This version allows you to keep selected | |||
* [RFC2136](https://tools.ietf.org/html/rfc2136) | |||
* [NS1](https://ns1.com/) | |||
* [TransIP](https://www.transip.eu/domain-name/) | |||
|
|||
* [VinylDNS](hhttps://www.vinyldns.io) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo hhttps -> https
main.go
Outdated
@@ -133,6 +132,8 @@ func main() { | |||
p, err = provider.NewAWSSDProvider(domainFilter, cfg.AWSZoneType, cfg.AWSAssumeRole, cfg.DryRun) | |||
case "azure": | |||
p, err = provider.NewAzureProvider(cfg.AzureConfigFile, domainFilter, zoneIDFilter, cfg.AzureResourceGroup, cfg.DryRun) | |||
case "vinyldns": | |||
p, err = provider.NewVinylDNSProvider(zoneIDFilter, cfg.DryRun) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any chances of adding domainFilter to filter?
provider/vinyldns.go
Outdated
// Adding a . as vinyl appends it to each zone record | ||
if strings.HasSuffix(hostname+".", z.Name) { | ||
if zone == nil || len(z.Name) > len(zone.Name) { | ||
newZ := z |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe and don't see it correct but why not directly assigning it to zone?
@njuettner thanks for the comments - PR should be updated! |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: njuettner The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
VinylDNS is a vendor agnostic front-end for enabling self-service DNS and streamlining DNS operations. It is designed to integrate with your existing DNS infrastructure, and provides extensibility to fit your installation.
This PR provides basic functionality for integration with VinylDNS for A, CNAME, and TXT records for use with external-dns.
As I am submitting this PR, I am happy to be a maintainer on this provider.