Skip to content

fix: remove the hardcoded 8080 for ports.#217

Merged
lholmquist merged 1 commit into
nodeshift:masterfrom
lholmquist:216-remove-hardcoded-8080
Apr 23, 2018
Merged

fix: remove the hardcoded 8080 for ports.#217
lholmquist merged 1 commit into
nodeshift:masterfrom
lholmquist:216-remove-hardcoded-8080

Conversation

@lholmquist
Copy link
Copy Markdown
Member

@lholmquist lholmquist commented Apr 20, 2018

In the Service, DeploymentConfig, Route and Health Check Enricher, the port and targetPort values were hardcoded to 8080.
This change adds the --deploy.port flag so a user can specify a port if they want. defaults to 8080

The enrichers for the aforementioned descriptors will now use that port value

fixes #216

@coveralls
Copy link
Copy Markdown

coveralls commented Apr 20, 2018

Coverage Status

Coverage increased (+0.03%) to 96.078% when pulling bd3f10b on lholmquist:216-remove-hardcoded-8080 into 25d084c on bucharest-gold:master.

@lholmquist
Copy link
Copy Markdown
Member Author

lholmquist commented Apr 20, 2018

HOLD ON MERGING.

i've decided to make this a command line flag instead of reading an environment variable

In the Service, DeploymentConfig, Route and Health Check Enricher, the port and targetPort values were hardcoded to 8080.
This change adds the --deploy.port flag so a user can specify a port if they want.  defaults to 8080

The enrichers for the aforementioned descriptors will now use that port value

fixes nodeshift#216
@lholmquist lholmquist force-pushed the 216-remove-hardcoded-8080 branch from cc99608 to bd3f10b Compare April 20, 2018 15:58
@ghost ghost removed the in progress label Apr 20, 2018
@lholmquist lholmquist merged commit bd3f10b into nodeshift:master Apr 23, 2018
@ghost ghost removed the review label Apr 23, 2018
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

Successfully merging this pull request may close these issues.

remove hard coded port 8080 for routes, services and deployment configs

2 participants