meilisearch-kubernetes icon indicating copy to clipboard operation
meilisearch-kubernetes copied to clipboard

Add the possibility to precise nodePort in values.yaml if service type is NodePort

Open eskombro opened this issue 4 years ago • 0 comments

In values.yaml it is possible to define the Service type. But if a user defines it as a NodePort service, there is no field in the chart to specify the nodePort, so kubernetes will allocate a random port.

In a NodePort Service, the nodePort field is defined as follows:

Screenshot 2021-02-11 at 18 48 52

But MeiliSearch chart is not prepared to let the user specify this nodePort Value in values.yaml and integrate it in the template (cf. see here).

The service template could check if the Service type is NodePort, and in that case, add the nodePort field to the Service Template.

eskombro avatar Feb 11 '21 17:02 eskombro