From 96c1d764cc1ce63849ff4cf1cbad2f46841d2a55 Mon Sep 17 00:00:00 2001 From: Leo Q Date: Tue, 12 May 2020 19:16:24 +0800 Subject: [PATCH 1/3] Update prerender-service.yaml --- chart/monocular/templates/prerender-service.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chart/monocular/templates/prerender-service.yaml b/chart/monocular/templates/prerender-service.yaml index b90ee789f..6e3db4f14 100644 --- a/chart/monocular/templates/prerender-service.yaml +++ b/chart/monocular/templates/prerender-service.yaml @@ -8,6 +8,9 @@ spec: type: {{ .Values.prerender.service.type }} ports: - port: {{ .Values.prerender.service.externalPort }} + {{if (and (eq .Values.prerender.service.type "NodePort") (not (empty .Values.prerender.service.nodePort)))}} + nodePort: {{.Values.prerender.service.nodePort}} + {{end}} targetPort: {{ .Values.prerender.service.internalPort }} protocol: TCP name: {{ .Values.prerender.service.name }} From 9cd834757b3c6b056738fa39eb4f24c18ddc5688 Mon Sep 17 00:00:00 2001 From: Leo Q Date: Tue, 12 May 2020 19:18:14 +0800 Subject: [PATCH 2/3] Update values.yaml --- chart/monocular/values.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/chart/monocular/values.yaml b/chart/monocular/values.yaml index 963d853e3..a8f729843 100644 --- a/chart/monocular/values.yaml +++ b/chart/monocular/values.yaml @@ -115,6 +115,7 @@ prerender: type: NodePort externalPort: 80 internalPort: 3000 + nodePort: 30800 resources: requests: cpu: 100m From 60a16097ef7e746de9a438852797988cb6610ad5 Mon Sep 17 00:00:00 2001 From: Leo Q Date: Tue, 12 May 2020 19:18:43 +0800 Subject: [PATCH 3/3] bump version --- chart/monocular/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/monocular/Chart.yaml b/chart/monocular/Chart.yaml index b5c1e9d01..9d0b2e93c 100644 --- a/chart/monocular/Chart.yaml +++ b/chart/monocular/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: monocular description: Monocular is a search and discovery front end for Helm Charts Repositories. -version: 1.4.15 +version: 1.4.16 appVersion: v1.10.0 home: https://github.com/helm/monocular sources: