-
Notifications
You must be signed in to change notification settings - Fork 11
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 nodePort to helm service.yaml #282
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, thanks for your PR.
Added few comments + notice the CI checks :)
Thanks.
charts/lakefs/templates/service.yaml
Outdated
@@ -9,6 +9,9 @@ spec: | |||
ports: | |||
- port: {{ .Values.service.port }} | |||
targetPort: http | |||
{{- if .Values.service.nodePort }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please keep the if
statement at the same ident level as the field itself
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated indentation
charts/lakefs/templates/service.yaml
Outdated
@@ -9,6 +9,9 @@ spec: | |||
ports: | |||
- port: {{ .Values.service.port }} | |||
targetPort: http | |||
{{- if .Values.service.nodePort }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please assert that .Values.service.type == "NodePort"
to avoid issues for users configuring this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added check for .Values.service.type
@Isan-Rivkin Your requested changes have been made. Awaiting your conversation resolutions. |
@gauthier-labs thanks for the update! Looks good! |
Update version
spacing
@Isan-Rivkin Version has been updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @gauthier-labs !
Thank you for the patience and contribution!
Adding nodePort to the service.yaml enables a static external port to access the LakeFS GUI.
This is good for smaller deployments and testing.