File tree 4 files changed +17
-1
lines changed
4 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 3.4 .1
18
+ version : 3.5 .1
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# 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:
114
114
- name : http
115
115
containerPort : 8080
116
116
protocol : TCP
117
+ {{- range .Values.extraPorts }}
118
+ - name : {{ .name }}
119
+ containerPort : {{ .port }}
120
+ protocol : {{ .protocol }}
121
+ {{- end }}
117
122
livenessProbe :
118
123
httpGet :
119
124
path : /
Original file line number Diff line number Diff line change 14
14
targetPort : http
15
15
protocol : TCP
16
16
name : http
17
+ {{- range .Values.extraPorts }}
18
+ - port : {{ .port }}
19
+ targetPort : {{ .port }}
20
+ protocol : {{ .protocol }}
21
+ name : {{ .name }}
22
+ {{- end }}
17
23
selector :
18
24
app.kubernetes.io/name : {{ include "code-server.name" . }}
19
25
app.kubernetes.io/instance : {{ .Release.Name }}
Original file line number Diff line number Diff line change @@ -196,3 +196,8 @@ extraConfigmapMounts: []
196
196
# subPath: certificates.crt # (optional)
197
197
# configMap: certs-configmap
198
198
# 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