Skip to content

Commit

Permalink
Add flag to control config storage as secret
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Dec 19, 2024
1 parent 2781e02 commit 9a66aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/rclone-copy/templates/rclone-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
# copy as workaround for rclone.conf read only (see https://github.com/rclone/rclone/issues/3655)
- >-
{{- range $key, $value := .Values.passwordSecrets }}
{{ printf "%s=$(rclone obscure UNOBSCURED_%s) &&" $key $key }}
{{ printf "export %s=$(rclone obscure $UNOBSCURED_%s) &&" $key $key }}
{{- end }}
cp /root/.config/rclone/rclone_ro.conf /root/.config/rclone/rclone.conf &&
rclone {{ .Values.command }} -v {{ .Values.arguments | join " " }} --include-from /root/include-pattern.conf "{{ include "rclone-copy.getSourceOrUrl" . }}" "{{ .Values.sync.dest.name }}:{{ .Values.sync.dest.path }}"
Expand Down

0 comments on commit 9a66aa8

Please sign in to comment.