fix(deploy): mount /data PVC into git-hook container
The git-hook worker needs /data to access repo storage paths, but the deployment defined the shared-data PVC volume at pod level without attaching it to the container via volumeMounts. Added the missing volumeMounts block (name: shared-data, mountPath: /data) so the PVC is properly mounted into the git-hook container, consistent with app and static deployments.
This commit is contained in:
parent
7c042c7b9d
commit
e50c31daa6
@ -61,6 +61,11 @@ spec:
|
||||
timeoutSeconds: {{ .Values.gitHook.readinessProbe.timeoutSeconds }}
|
||||
failureThreshold: {{ .Values.gitHook.readinessProbe.failureThreshold }}
|
||||
{{- end }}
|
||||
{{- if .Values.storage.enabled }}
|
||||
volumeMounts:
|
||||
- name: shared-data
|
||||
mountPath: /data
|
||||
{{- end }}
|
||||
{{- with .Values.gitHook.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user