Remove temporary folder copying logic
This patch set removes the need to create a temporary directory brought up in patch set [0]. [0] https://review.openstack.org/#/c/472451/ Change-Id: I57448d9722a33bb63fca5576d19b61f3015828ec
This commit is contained in:
parent
0a8dfeb517
commit
39d12c6d77
@ -85,11 +85,8 @@ function helm_test_deployment {
|
||||
function helm_plugin_template_install {
|
||||
# NOTE(portdirect): the helm plugin install command does not seem to respect the --version flag with helm 2.3.0
|
||||
#helm plugin install https://github.com/technosophos/helm-template --version 2.3.0.1
|
||||
TMP_DIR=$(mktemp -d)
|
||||
curl -sSL https://github.com/technosophos/helm-template/releases/download/2.3.0%2B1/helm-template-linux-2.3.0.1.tgz | tar -zxv -C ${TMP_DIR}
|
||||
mkdir -p ${HOME}/.helm/plugins/
|
||||
mv ${TMP_DIR}/ ${HOME}/.helm/plugins/helm-template
|
||||
rm -rf ${TMP_DIR}
|
||||
mkdir -p ${HOME}/.helm/plugins/helm-template
|
||||
curl -sSL https://github.com/technosophos/helm-template/releases/download/2.3.0%2B1/helm-template-linux-2.3.0.1.tgz | tar -zxv -C ${HOME}/.helm/plugins/helm-template
|
||||
}
|
||||
|
||||
function helm_template_run {
|
||||
|
Loading…
Reference in New Issue
Block a user