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

feat(deploy/kubernetes): add serviceType to kubernetes service settings #1149

Merged
merged 3 commits into from
Jan 18, 2019

Conversation

jgramoll
Copy link
Contributor

@jgramoll jgramoll commented Jan 9, 2019

kubernetes:
serviceType: NodePort
nodePort: 30085

ports:
- protocol: TCP
port: {{ port }}
targetPort: {{ port }}
{% if nodePort != null %}
Copy link

Choose a reason for hiding this comment

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

you probably also want to check to see if the type is NodePort and only set this if both those characteristics are true.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

@ethanfrogers ethanfrogers left a comment

Choose a reason for hiding this comment

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

LGTM. No need to do it as part of this PR but I think it'd be nice to add serviceAnnotations as well. A potential use case would be using LoadBalancer type on AWS and using annotations for and internal ELB or SSL cert.

@ethanfrogers ethanfrogers merged commit ef9431c into spinnaker:master Jan 18, 2019
@jgramoll jgramoll deleted the serviceType branch January 19, 2019 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants