Add ttyd app
This commit is contained in:
parent
9bf49b956c
commit
cb394a2877
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user