diff --git a/charts/devlake/templates/deployments.yaml b/charts/devlake/templates/deployments.yaml index e2f6537..c2b9ece 100644 --- a/charts/devlake/templates/deployments.yaml +++ b/charts/devlake/templates/deployments.yaml @@ -205,10 +205,22 @@ spec: resources: {{- toYaml . | nindent 12 }} {{- end }} + {{- if .Values.lake.volumeMounts }} + volumeMounts: + {{- range $volumeMount := .Values.lake.volumeMounts }} + - {{- $volumeMount | toYaml | nindent 14 }} + {{- end }} + {{- end }} {{- with .Values.lake.containerSecurityContext }} securityContext: {{- toYaml . | nindent 12 }} {{- end }} + {{- if .Values.lake.volumes }} + volumes: + {{- range $volume := .Values.lake.volumes }} + - {{- $volume | toYaml | nindent 10 }} + {{- end }} + {{- end }} {{- if .Values.lake.hostNetwork }} hostNetwork: true dnsPolicy: ClusterFirstWithHostNet diff --git a/charts/devlake/values.yaml b/charts/devlake/values.yaml index 5905122..ad98363 100644 --- a/charts/devlake/values.yaml +++ b/charts/devlake/values.yaml @@ -252,6 +252,21 @@ lake: deployment: extraLabels: {} + # Additional volumes to include in the Pod. Example: + # + # volumes: + # - name: my-volume + # configMap: my-config-map + volumes: [] + + # Additional volume mounts to include in the Container. Example: + # + # volumeMounts: + # - name: test-volume + # mountPath: /opt/test_folder + # subPath: test_file.yaml + volumeMounts: [] + ui: image: repository: devlake.docker.scarf.sh/apache/devlake-config-ui