From 2c4a803d8955fa5528210ddd740839d853d4eea6 Mon Sep 17 00:00:00 2001 From: David Hoese <david.hoese@ssec.wisc.edu> Date: Fri, 24 Jul 2020 13:43:44 -0500 Subject: [PATCH] Try using replace for PVC --- 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 bb7cc3f..43c6779 100755 --- a/helpers/create_pvc.sh +++ b/helpers/create_pvc.sh @@ -26,4 +26,5 @@ if [[ $CI_PIPELINE_SOURCE == "pipeline" ]]; then fi fi -docker run --rm -v $(pwd):/apps -w /apps alpine/k8s:1.18.2 kubectl $EXTRA_ARGS apply -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 -- GitLab