Skip to content

Commit ed5b7e4

Browse files
authored
chore: support specifying nodeport for the file-server service (#282)
1 parent 5ed149f commit ed5b7e4

4 files changed

Lines changed: 6 additions & 2 deletions

File tree

charts/api7/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.17.52
18+
version: 0.17.53
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/api7/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# api7ee3
22

3-
![Version: 0.17.52](https://img.shields.io/badge/Version-0.17.52-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.9.10](https://img.shields.io/badge/AppVersion-3.9.10-informational?style=flat-square)
3+
![Version: 0.17.53](https://img.shields.io/badge/Version-0.17.53-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.9.10](https://img.shields.io/badge/AppVersion-3.9.10-informational?style=flat-square)
44

55
A Helm chart for Kubernetes
66

charts/api7/templates/file-server-service.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ spec:
1313
targetPort: http
1414
protocol: TCP
1515
name: http
16+
{{- if (and (eq .Values.file_server_service.type "NodePort") (not (empty .Values.file_server_service.nodePort))) }}
17+
nodePort: {{ .Values.file_server_service.nodePort }}
18+
{{- end }}
1619
selector:
1720
{{- include "api7ee3.selectorLabels" . | nindent 4 }}
1821
app.kubernetes.io/component: file-server

charts/api7/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ dp_manager_service:
217217
file_server_service:
218218
type: ClusterIP
219219
port: 8080
220+
# nodePort: 30080
220221

221222
developer_portal_service:
222223
type: ClusterIP

0 commit comments

Comments
 (0)