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 configuration to disable external name service feature #7314

Merged
merged 1 commit into from
Jul 4, 2021

Conversation

rikatz
Copy link
Contributor

@rikatz rikatz commented Jul 1, 2021

Signed-off-by: Ricardo Pchevuzinske Katz ricardo.katz@gmail.com

What this PR does / why we need it:

This PR adds a new flag: --disable-svc-external-name

As a cluster admin, sometimes I don't want to allow my users to point Ingress to external address, but keep the traffic internally.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Which issue/s this PR fixes

How Has This Been Tested?

E2E tests added

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 1, 2021
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 1, 2021
@rikatz
Copy link
Contributor Author

rikatz commented Jul 1, 2021

/assign @strongjz @ElvinEfendi
/cc @strongjz @ElvinEfendi

Copy link
Member

@tao12345666333 tao12345666333 left a comment

Choose a reason for hiding this comment

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

/lgtm
/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 3, 2021
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 3, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rikatz, tao12345666333

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

@rikatz
Copy link
Contributor Author

rikatz commented Jul 4, 2021

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 4, 2021
@k8s-ci-robot k8s-ci-robot merged commit bc220f7 into kubernetes:master Jul 4, 2021
rikatz added a commit to rikatz/ingress-nginx that referenced this pull request Jul 5, 2021
…s#7314)

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
k8s-ci-robot pushed a commit that referenced this pull request Jul 6, 2021
…ature (#7314) (#7321)

* Add configuration to disable external name service feature (#7314)

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>

* Fix CI files
@rikatz
Copy link
Contributor Author

rikatz commented Jul 14, 2021

Also related to kubernetes/kubernetes#103675

rationalex pushed a commit to joomcode/ingress-nginx that referenced this pull request May 18, 2022
…ature (kubernetes#7314) (kubernetes#7321)

* Add configuration to disable external name service feature (kubernetes#7314)

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>

* Fix CI files
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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants