From 0f51faf86625143027918be75d51cca947c8cd1e Mon Sep 17 00:00:00 2001 From: David Hoese <david.hoese@ssec.wisc.edu> Date: Fri, 24 Jul 2020 13:49:21 -0500 Subject: [PATCH] Try full docker kubectl call for create pvc replace --- helpers/create_pvc.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helpers/create_pvc.sh b/helpers/create_pvc.sh index 43c6779..04930f0 100755 --- a/helpers/create_pvc.sh +++ b/helpers/create_pvc.sh @@ -26,5 +26,6 @@ if [[ $CI_PIPELINE_SOURCE == "pipeline" ]]; then fi fi +docker run --rm -v $(pwd):/apps -w /apps alpine/k8s:1.18.2 kubectl $EXTRA_ARGS replace -f $pvc #docker run --rm -v $(pwd):/apps -w /apps alpine/k8s:1.18.2 kubectl $EXTRA_ARGS apply -f $pvc -kubectl $EXTRA_ARGS replace -f $pvc \ No newline at end of file +#kubectl $EXTRA_ARGS replace -f $pvc \ No newline at end of file -- GitLab