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

Removes the TCP output on the Kubernetes / OpenShift artifacts #394

Merged
merged 1 commit into from
Feb 5, 2017

Conversation

cdrage
Copy link
Member

@cdrage cdrage commented Jan 26, 2017

If TCP is passed in as the protocol, by default, we add TCP as the
protocol within the Kubernetes or OpenShift artifacts.

By default, TCP is already selected within Kubernetes and thus having
the TCP output is redundant.

This commit checks to see if TCP has already been selected, and if it
has, ignores adding it to the list of ports.

Closes #392

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jan 26, 2017
@cdrage
Copy link
Member Author

cdrage commented Jan 26, 2017

Tests are gunna fail.

Ignore tests for now (I'll need to fix them as they test if TCP is included in the conversion). Will work on this.

@cdrage cdrage force-pushed the remove-tcp-from-conversion branch 4 times, most recently from bd8c8aa to 1e504ef Compare January 31, 2017 21:23
@cdrage
Copy link
Member Author

cdrage commented Jan 31, 2017

Tests pass now! 👍 Had to go through each and every JSON file to update it to not include TCP...

Ready for review!

@cdrage cdrage force-pushed the remove-tcp-from-conversion branch 2 times, most recently from 6c6f4cc to cb6c9e9 Compare February 1, 2017 18:33
If TCP is passed in as the protocol, by default, we add TCP as the
protocol within the Kubernetes or OpenShift artifacts.

By default, TCP is already selected within Kubernetes and thus having
the TCP output is redundant.

This commit checks to see if TCP has already been selected, and if it
has, ignores adding it to the list of ports.

Closes kubernetes#392
@cdrage
Copy link
Member Author

cdrage commented Feb 2, 2017

Ping @surajssd @containscafeine @procrypt @kadel @rtnpro for review!

Copy link
Member

@kadel kadel left a comment

Choose a reason for hiding this comment

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

LGTM

@kadel kadel merged commit 2b3c37f into kubernetes:master Feb 5, 2017
@cdrage cdrage deleted the remove-tcp-from-conversion branch March 30, 2017 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants