Skip to content

Commit

Permalink
chore: do not use temp directory for download
Browse files Browse the repository at this point in the history
As @YvesZelros suggested the temporary directory is not required.
  • Loading branch information
fty4 committed Sep 29, 2023
1 parent 3baf743 commit aeaecc3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,8 @@ spec:
command: [sh, -c]
args:
- >-
cd $(mktemp -d) &&
curl -L https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v$(AVP_VERSION)/argocd-vault-plugin_$(AVP_VERSION)_linux_amd64 -o argocd-vault-plugin &&
chmod +x argocd-vault-plugin &&
mv argocd-vault-plugin /custom-tools/
curl -L https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v$(AVP_VERSION)/argocd-vault-plugin_$(AVP_VERSION)_linux_amd64 -o /custom-tools/argocd-vault-plugin &&
chmod +x /custom-tools/argocd-vault-plugin
volumeMounts:
- mountPath: /custom-tools
name: custom-tools
Expand Down

0 comments on commit aeaecc3

Please sign in to comment.