Skip to content
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

NS1 support #217

Merged
merged 13 commits into from
Dec 15, 2020
Merged

NS1 support #217

merged 13 commits into from
Dec 15, 2020

Conversation

ytsarev
Copy link
Member

@ytsarev ytsarev commented Dec 13, 2020

  • Chart extension for external-dns based ns1 provider
  • Move common code between route53 and NS1(and potentially other providers) to separate function
  • Depresolver extension with NS1 provider type
  • Depresolver and controller tests
  • Chart version bump

@k0da
Copy link
Collaborator

k0da commented Dec 13, 2020

LGTM

kuritka
kuritka previously approved these changes Dec 14, 2020
chart/k8gb/values.yaml Outdated Show resolved Hide resolved
chart/k8gb/templates/external-dns/external-dns-ns1.yaml Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
@ytsarev ytsarev changed the title [WIP] Initial configuration for NS1 support NS1 support Dec 14, 2020
@ytsarev
Copy link
Member Author

ytsarev commented Dec 14, 2020

image
Just for illustration - populated NS1 web console after testing Gslb creation

Copy link
Contributor

@donovanmuller donovanmuller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestions

docs/deploy_ns1.md Outdated Show resolved Hide resolved
docs/deploy_ns1.md Outdated Show resolved Hide resolved
ytsarev and others added 3 commits December 15, 2020 13:09
Co-authored-by: Donovan Muller <donovan.muller@gmail.com>
Co-authored-by: Donovan Muller <donovan.muller@gmail.com>
Copy link
Collaborator

@kuritka kuritka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two open questions from my side, otherwise looks great!

@@ -86,3 +86,7 @@ spec:
- name: ROUTE53_ENABLED
value: "true"
{{ end }}
{{ if .Values.ns1.enabled }}
- name: NS1_ENABLED
value: "true"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does helm support something like this ?

 - name: ROUTE53_ENABLED
    value:  {{ .Values.route53.enabled }}
 - name: NS1_ENABLED
    value:  {{ .Values.ns1.enabled }}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kuritka maybe but it will be declared but empty variables, do not think we want to pollute the environment with them

controllers/dnsupdate.go Outdated Show resolved Hide resolved
@ytsarev ytsarev requested a review from kuritka December 15, 2020 12:40
Copy link
Collaborator

@kuritka kuritka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@somaritane somaritane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ytsarev ytsarev merged commit 645f768 into master Dec 15, 2020
@ytsarev ytsarev deleted the ns1 branch December 15, 2020 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants