File tree Expand file tree Collapse file tree 4 files changed +17
-1
lines changed Expand file tree Collapse file tree 4 files changed +17
-1
lines changed Original file line number Diff line number Diff 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 : 3.4 .1
18+ version : 3.5 .1
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
Original file line number Diff line number Diff line change @@ -114,6 +114,11 @@ spec:
114114 - name : http
115115 containerPort : 8080
116116 protocol : TCP
117+ {{- range .Values.extraPorts }}
118+ - name : {{ .name }}
119+ containerPort : {{ .port }}
120+ protocol : {{ .protocol }}
121+ {{- end }}
117122 livenessProbe :
118123 httpGet :
119124 path : /
Original file line number Diff line number Diff line change 1414 targetPort : http
1515 protocol : TCP
1616 name : http
17+ {{- range .Values.extraPorts }}
18+ - port : {{ .port }}
19+ targetPort : {{ .port }}
20+ protocol : {{ .protocol }}
21+ name : {{ .name }}
22+ {{- end }}
1723 selector :
1824 app.kubernetes.io/name : {{ include "code-server.name" . }}
1925 app.kubernetes.io/instance : {{ .Release.Name }}
Original file line number Diff line number Diff line change @@ -196,3 +196,8 @@ extraConfigmapMounts: []
196196 # subPath: certificates.crt # (optional)
197197 # configMap: certs-configmap
198198 # readOnly: true
199+
200+ extraPorts : []
201+ # - name: minecraft
202+ # port: 25565
203+ # protocol: tcp
You can’t perform that action at this time.
0 commit comments