Skip to content

Commit

Permalink
ui: mount hostPath volumes into pods
Browse files Browse the repository at this point in the history
  • Loading branch information
maany committed Jun 26, 2024
1 parent 54cd92e commit 7a9c35b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions charts/rucio-ui/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ spec:
subPath: ca.pem
{{- end}}
{{- end}}
{{- range $collection := tuple .Values.hostPathMounts }}
{{- range $key, $val := $collection }}
- name: {{ $val.volumeName | default (printf "a%s" ($val.mountPath | sha1sum)) }}
mountPath: {{ $val.mountPath }}
readOnly: {{ $val.readOnly | default false }}
{{- end}}
{{- end}}
{{- range $key, $val := .Values.secretMounts }}
- name: {{ coalesce $val.volumeName $val.secretName $val.secretFullName }}
mountPath: {{ $val.mountPath }}
Expand Down

0 comments on commit 7a9c35b

Please sign in to comment.