diff --git a/chart/monocular/Chart.yaml b/chart/monocular/Chart.yaml index b5c1e9d0..9d0b2e93 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: diff --git a/chart/monocular/templates/prerender-service.yaml b/chart/monocular/templates/prerender-service.yaml index b90ee789..6e3db4f1 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 }} diff --git a/chart/monocular/values.yaml b/chart/monocular/values.yaml index 963d853e..a8f72984 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