File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1414fi
1515
1616export res=$( oc get pod -n $NAMESPACE_TO_GENERATE -l test-network-function.com/generic=fs_diff_master 2>&1 )
17- if [[ ${res# No resources found} != ${res} ]]; then
17+ if [[ -n " ${TNF_MINIKUBE_ONLY} " ]] && [[ ${TNF_MINIKUBE_ONLY} = " true" ]]; then
18+ echo " Running with Minikube, no FsDiff pod created"
19+ elif [[ ${res# No resources found} != ${res} ]]; then
1820 cat ./local-test-infra/fsdiff-pod.yaml | ./script/mo > ./temp/rendered-fsdiff-template.yaml
1921 oc apply -f ./temp/rendered-fsdiff-template.yaml
2022 rm ./temp/rendered-fsdiff-template.yaml
@@ -38,4 +40,4 @@ if [[ ${res#No resources found} != ${res} ]]; then
3840 rm ./temp/rendered-partner-template.yaml
3941else
4042 echo " partner pod already exists, no reason to recreate"
41- fi
43+ fi
You can’t perform that action at this time.
0 commit comments