From aeaecc33541e829f5d12e3dfdc8cfcd71a65f4ad Mon Sep 17 00:00:00 2001 From: Marco Lecheler Date: Fri, 29 Sep 2023 15:34:39 +0200 Subject: [PATCH] chore: do not use temp directory for download As @YvesZelros suggested the temporary directory is not required. --- docs/installation.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index f32a99e6..cab34d4d 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -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