diff --git a/deploy/templates/git-hook-deployment.yaml b/deploy/templates/git-hook-deployment.yaml index 05d5fbf..eeb3809 100644 --- a/deploy/templates/git-hook-deployment.yaml +++ b/deploy/templates/git-hook-deployment.yaml @@ -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 }}