Skip to content
Clone
main
19 lines 1.0 KB
GitData {{ .Chart.AppVersion }} deployed as {{ .Release.Name }}.
Endpoints (ingress {{ .Values.ingress.enabled }}):
{{- if .Values.ingress.enabled }}
https://{{ .Values.ingress.host }}/ -> apihost (REST/WS)
git clone https://{{ .Values.ingress.host }}/{space}/{repo}.git -> KenShell
{{- else }}
kubectl port-forward svc/{{ .Values.fullnameOverride | default (printf "%s-%s" .Release.Name .Chart.Name) }}-apihost {{ .Values.apihost.port }}:{{ .Values.apihost.port }}
{{- end }}
Check:
kubectl -n {{ .Release.Namespace }} get pods -l app.kubernetes.io/instance={{ .Release.Name }}
kubectl -n {{ .Release.Namespace }} logs job/{{ include "gitdata.fullname" . }}-migrate
Reminders:
- secret.env 中 APP_INTERNAL__SERVICE_KEY / APP_POW__MAC_KEY / APP_AUTH__TOTP_ENCRYPTION_KEY 必填;
生产环境建议 --set secret.existingSecret=<name> 并用外部 Secret 管理。
- KenApi 不再持有 bare 仓库;clone/push 由 KenShell 提供,需配置 kenshell.endpoint。
- 磁盘上的 config/local/ 含真实密钥,部署前请轮换。