fix(deploy): add APP_REPOS_ROOT env to git-hook deployment
Some checks are pending
CI / Rust Lint & Check (push) Waiting to run
CI / Rust Tests (push) Waiting to run
CI / Frontend Lint & Type Check (push) Waiting to run
CI / Frontend Build (push) Blocked by required conditions

Missing env var — git-hook worker needs APP_REPOS_ROOT to resolve repo
storage paths. Added explicit env block with APP_REPOS_ROOT=/data/repos,
consistent with gitserver deployment.
This commit is contained in:
ZhenYi 2026-04-17 14:21:15 +08:00
parent 3354055e6d
commit 845aba443b

View File

@ -33,6 +33,9 @@ spec:
envFrom: envFrom:
- configMapRef: - configMapRef:
name: {{ include "gitdata.fullname" . }}-config name: {{ include "gitdata.fullname" . }}-config
env:
- name: APP_REPOS_ROOT
value: /data/repos
{{- range .Values.gitHook.env }} {{- range .Values.gitHook.env }}
- name: {{ .name }} - name: {{ .name }}
value: {{ .value | quote }} value: {{ .value | quote }}