-
Notifications
You must be signed in to change notification settings - Fork 201
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
(fix): Check NodePort Service Type before setting it #982
Conversation
330f0a3
to
5b99cc1
Compare
@@ -90,11 +90,11 @@ spec: | |||
mountPath: {{ .Values.logging.file.logsDir }} | |||
readOnly: false | |||
{{- end }} | |||
- name: temp-dir |
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.
I think you accidentally deleted some volume mounts here. Also, there is a polaris.containerPorts
template that prints the ports, you don't need to iterate over the ports here.
targetPort: {{ .targetPort }} | ||
{{- range $portName, $port := .Values.service.ports }} | ||
- port: {{ $port.port }} | ||
targetPort: {{ $port.port }} |
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.
It seems you accidentally modified how targetPort
is handled.
- port: 18181 | ||
targetPort: 18181 | ||
name: polaris-http | ||
polaris-service: |
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.
This is supposed to be an array.
- name: polaris-http | ||
# -- The port the service listens on. By default, the HTTP port is 8181. | ||
# polaris-server: The port the Polaris server listens on for API requests. | ||
polaris-service: |
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.
This is supposed to be an array, please don't change this.
@@ -538,6 +526,7 @@ fileIo: | |||
# -- The type of file IO to use. Two built-in types are supported: default and wasb. The wasb one translates WASB paths to ABFS ones. | |||
type: default | |||
|
|||
<<<<<<< HEAD |
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.
Merge artifact?
sorry some issue with my rebase. will open a new PR with #626 merged. |
Currently the helm chart does not support specifying arbitrary
nodePort
value for services. This PR allows the template users to specify the nodePort for the services. Allowing nodePort helps setting the nodePort for polaris k8s deployment where we it might be a constraint to use any generated nodePort.fixes: #981