Add ttyd app

This commit is contained in:
dvirlabs 2026-03-25 17:08:39 +02:00
parent 9bf49b956c
commit cb394a2877

View File

@ -31,9 +31,11 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
# ttyd args: bind port, then pass the shell command to execute in the browser terminal.
# The tsl0922/ttyd image uses tini as entrypoint (tini -- <cmd>).
# args replaces CMD, so ttyd must be the first element.
# To use kubectl, switch image.repository to a custom image that bundles ttyd + kubectl.
args:
- "ttyd"
- "--port={{ .Values.ttyd.port }}"
- {{ .Values.ttyd.command | quote }}
ports: