feature: add ability to attach ports to code server (#6015)

This commit is contained in:
Samuel Walker
2023-02-13 13:56:05 -05:00
committed by GitHub
parent 36daac3031
commit 4fb87f920f
4 changed files with 17 additions and 1 deletions

View File

@@ -14,6 +14,12 @@ spec:
targetPort: http
protocol: TCP
name: http
{{- range .Values.extraPorts }}
- port: {{ .port }}
targetPort: {{ .port }}
protocol: {{ .protocol }}
name: {{ .name }}
{{- end }}
selector:
app.kubernetes.io/name: {{ include "code-server.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}