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

Feature routegroup #1444

Merged
merged 2 commits into from
Mar 9, 2020
Merged

Conversation

szuecs
Copy link
Contributor

@szuecs szuecs commented Feb 25, 2020

This PR implements #1403

It does not use client-go, nor informer. It's just a simple poll on Endpoints().
I added also a tutorial for kube-ingress-aws-controller, that was missing and added there a RouteGroup part.

The routegroup source has the same feature set as the ingress source and needs to be enabled by --source=skipper-routegroup.

In case you are interested, you can find a more detailed explanation of the RouteGroup CRD.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Feb 25, 2020
Copy link
Member

@njuettner njuettner left a comment

Choose a reason for hiding this comment

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

Some comments, PTAL 🙂

pkg/apis/externaldns/types.go Outdated Show resolved Hide resolved
source/routegroup.go Outdated Show resolved Hide resolved
source/routegroup.go Show resolved Hide resolved
source/routegroup.go Outdated Show resolved Hide resolved
source/routegroup.go Outdated Show resolved Hide resolved
@szuecs
Copy link
Contributor Author

szuecs commented Mar 4, 2020

@njuettner I fixed all your comments

@szuecs szuecs force-pushed the feature/route-group branch 2 times, most recently from f40460b to e70c5c0 Compare March 5, 2020 10:24
@szuecs
Copy link
Contributor Author

szuecs commented Mar 5, 2020

@njuettner @linki I rebased and forced push to have a clean history. I also fixed a bug in the http.Client usage, I had before, which I found while testing in a dev cluster.

add documentation for kube-ingress-aws-controller and RouteGroup

Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Copy link
Member

@njuettner njuettner left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 9, 2020
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 9, 2020

token, err := ioutil.ReadFile(cli.tokenFile)
if err != nil {
log.Errorf("Failed to read token from file (%s): %v", cli.tokenFile, err)
Copy link
Member

@linki linki Mar 9, 2020

Choose a reason for hiding this comment

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

Should we return here? This would retain the previous token if we failed to read the file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes makes sense

@linki
Copy link
Member

linki commented Mar 9, 2020

/lgtm
/approve

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: linki, szuecs

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 Mar 9, 2020
@k8s-ci-robot k8s-ci-robot merged commit b0c12fb into kubernetes-sigs:master Mar 9, 2020
@szuecs szuecs deleted the feature/route-group branch March 9, 2020 12:45
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

4 participants