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

Add Civo DNS as a new provider #2852

Merged
merged 54 commits into from
Nov 5, 2022

Conversation

alejandrojnm
Copy link
Contributor

Description
Request to add Civo as a new provider for external-dns

Checklist

  • [ x] Unit tests updated
  • [ x] End user documentation updated

alejandrojnm and others added 10 commits February 26, 2022 12:55
Signed-off-by: Alejandro J. Nuñez Madrazo <alejandro@civo.com>
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
Signed-off-by: Alejandro J. Nuñez Madrazo <alejandro@civo.com>
 into kubernetes-sigs-master

Signed-off-by: Alejandro J. Nuñez Madrazo <alejandro@civo.com>
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 30, 2022
@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jun 30, 2022
@alejandrojnm
Copy link
Contributor Author

/assign @seanmalloy

@stevehipwell
Copy link
Contributor

@alejandrojnm it looks like you've got a partial rebase/merge artefact in Chart.yaml which you might want to clean up.

Signed-off-by: Alejandro J. Nuñez Madrazo <alejandro@civo.com>
@alejandrojnm
Copy link
Contributor Author

@stevehipwell fixed, sorry for that

@stevehipwell
Copy link
Contributor

@alejandrojnm thanks for fixing that. It also looks like you've got the same problem in go.mod.

Signed-off-by: Alejandro J. Nuñez Madrazo <alejandro@civo.com>
@alejandrojnm
Copy link
Contributor Author

@stevehipwell fixed

@alejandrojnm
Copy link
Contributor Author

@stevehipwell I need to do something else ??

@stevehipwell
Copy link
Contributor

@njuettner could you review this?

@alejandrojnm
Copy link
Contributor Author

Hi, @stevehipwell @njuettner any update on this?

@alejandrojnm
Copy link
Contributor Author

Hi @stevehipwell @njuettner ???

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 20, 2022
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 20, 2022
alejandrojnm and others added 3 commits September 22, 2022 11:05
Signed-off-by: Alejandro J. Nuñez Madrazo <alejandro@civo.com>
Signed-off-by: Alejandro J. Nuñez Madrazo <alejandro@civo.com>
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 26, 2022
@gerhard
Copy link

gerhard commented Oct 1, 2022

+1

I was missing this as I was preparing for https://kubehuddle.com/2022/#speaker-gerhard-lazu & ended up hand-rolling my own solution. I look forward to using this part of external-dns. Thank you @alejandrojnm for opening this PR!

@alejandrojnm
Copy link
Contributor Author

Hi, @drzewo @njuettner any update on this ??

@drzewo
Copy link

drzewo commented Oct 5, 2022

@alejandrojnm, I'm just a passenger waiting for the train (this feature) to arrive. Maybe @njuettner can do something about proceeding this PR past some missing workflow approvals?

@gerhard
Copy link

gerhard commented Oct 7, 2022

Copy link
Contributor

@Raffo Raffo left a comment

Choose a reason for hiding this comment

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

Added a few comments, also it would be great if we can expand a little the test coverage (it's 78% now, there's probably room for improvement).

docs/tutorials/civo.md Outdated Show resolved Hide resolved
docs/tutorials/civo.md Outdated Show resolved Hide resolved
docs/tutorials/civo.md Outdated Show resolved Hide resolved
provider/civo/civo.go Outdated Show resolved Hide resolved
Signed-off-by: Alejandro J. Nuñez Madrazo <alejandro@civo.com>
@Raffo
Copy link
Contributor

Raffo commented Oct 15, 2022

@alejandrojnm thanks for the updates. There are currently issues with code in civo.go not being gofmt'd. There are also still portions of code that are not covered by tests. Do you think you'll be able to add coverage for those as well?

Signed-off-by: Alejandro J. Nuñez Madrazo <alejandro@civo.com>
Signed-off-by: Alejandro J. Nuñez Madrazo <alejandro@civo.com>
Signed-off-by: Alejandro J. Nuñez Madrazo <alejandro@civo.com>
@alejandrojnm
Copy link
Contributor Author

Hi @Raffo let me know if is ok in this way

@Raffo
Copy link
Contributor

Raffo commented Oct 18, 2022

@alejandrojnm I still see that in submitChanges we are not testing the UpdateDNSRecord and DeleteDNSRecord path. Is this intended or was it just forgotten?

@alejandrojnm
Copy link
Contributor Author

I will check that right now

Signed-off-by: Alejandro J. Nuñez Madrazo <alejandro@civo.com>
@alejandrojnm
Copy link
Contributor Author

@Raffo ready for review

@Raffo
Copy link
Contributor

Raffo commented Oct 20, 2022

@alejandrojnm tests are failing.

@alejandrojnm
Copy link
Contributor Author

I'm looking, but i run locally and work

Running tool: /usr/local/go/bin/go test -timeout 30s -run ^TestCivoProviderRecords$ sigs.k8s.io/external-dns/provider/civo

=== RUN   TestCivoProviderRecords
--- PASS: TestCivoProviderRecords (0.00s)
PASS
ok      sigs.k8s.io/external-dns/provider/civo

Signed-off-by: Alejandro J. Nuñez Madrazo <alejandro@civo.com>
Signed-off-by: Alejandro J. Nuñez Madrazo <alejandro@civo.com>
@Raffo
Copy link
Contributor

Raffo commented Nov 5, 2022

/approve
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 5, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alejandrojnm, Raffo

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 5, 2022
@k8s-ci-robot k8s-ci-robot merged commit 5c4a2c2 into kubernetes-sigs:master Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet