Skip to content

Commit

Permalink
Merge #87
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
bors[bot] and Thearas authored Nov 17, 2021
2 parents 18dae76 + c39c804 commit 23f5755
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/meilisearch/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "v0.23.0"
description: A Helm chart for the Meilisearch search engine
name: meilisearch
version: 0.1.19
version: 0.1.20
icon: https://res.cloudinary.com/meilisearch/image/upload/v1597822872/Logo/logo_img.svg
home: https://github.com/meilisearch/meilisearch-kubernetes/charts
maintainers:
Expand Down
5 changes: 5 additions & 0 deletions charts/meilisearch/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ spec:
targetPort: http
protocol: TCP
name: http
{{- if eq "NodePort" .Values.service.type }}
{{- if .Values.service.nodePort }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
{{- end }}
selector:
app.kubernetes.io/name: {{ include "meilisearch.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}

0 comments on commit 23f5755

Please sign in to comment.