Skip to content

Commit 23f5755

Browse files
bors[bot]Thearas
andauthored
Merge #87
87: Support for specifying Nodeport in service r=alallema a=Thearas # Pull Request ## What does this PR do? Implement #50. Co-authored-by: Thearas <[email protected]>
2 parents 18dae76 + c39c804 commit 23f5755

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

charts/meilisearch/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: "v0.23.0"
33
description: A Helm chart for the Meilisearch search engine
44
name: meilisearch
5-
version: 0.1.19
5+
version: 0.1.20
66
icon: https://res.cloudinary.com/meilisearch/image/upload/v1597822872/Logo/logo_img.svg
77
home: https://github.com/meilisearch/meilisearch-kubernetes/charts
88
maintainers:

charts/meilisearch/templates/service.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ spec:
2121
targetPort: http
2222
protocol: TCP
2323
name: http
24+
{{- if eq "NodePort" .Values.service.type }}
25+
{{- if .Values.service.nodePort }}
26+
nodePort: {{ .Values.service.nodePort }}
27+
{{- end }}
28+
{{- end }}
2429
selector:
2530
app.kubernetes.io/name: {{ include "meilisearch.name" . }}
2631
app.kubernetes.io/instance: {{ .Release.Name }}

0 commit comments

Comments
 (0)