Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable option to add Volume, VolumeMount to devlake Deployment - critical for SSL certificate #311

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions charts/devlake/templates/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 15 additions & 0 deletions charts/devlake/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading