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

By default, remove protocol: TCP in conversion to artifacts #392

Closed
cdrage opened this issue Jan 25, 2017 · 0 comments
Closed

By default, remove protocol: TCP in conversion to artifacts #392

cdrage opened this issue Jan 25, 2017 · 0 comments

Comments

@cdrage
Copy link
Member

cdrage commented Jan 25, 2017

By default, TCP is selected.

https://kubernetes.io/docs/api-reference/v1/definitions/#_v1_serviceport

We should not include protocol: tcp in the resulting yaml / json conversion since it's already set by default.

@cdrage cdrage changed the title By default, remove protocol: TCP in conversion By default, remove protocol: TCP in conversion to artifacts Jan 25, 2017
cdrage added a commit to cdrage/kompose that referenced this issue 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 kubernetes#392
cdrage added a commit to cdrage/kompose that referenced this issue Jan 30, 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 kubernetes#392
cdrage added a commit to cdrage/kompose that referenced this issue Jan 31, 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 kubernetes#392
cdrage added a commit to cdrage/kompose that referenced this issue Jan 31, 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 kubernetes#392
cdrage added a commit to cdrage/kompose that referenced this issue Jan 31, 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 kubernetes#392
cdrage added a commit to cdrage/kompose that referenced this issue Feb 1, 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 kubernetes#392
@kadel kadel closed this as completed in #394 Feb 5, 2017
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

No branches or pull requests

1 participant