This repository was archived by the owner on Dec 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 2222 image: `ssai_analytics_'defn(`FRAMEWORK')`_'defn(`PLATFORM_SUFFIX'):latest
2323 imagePullPolicy: IfNotPresent
2424 env:
25- - name: NETWORK_PREFERENCE
25+ - name: ` NETWORK_PREFERENCE'
2626 value: "{\"defn(`PLATFORM_DEVICE')\":\"defn(`NETWORK_PREFERENCE')\"}"
2727 - name: VA_PRE
2828 value: "defn(`PLATFORM')-"
Original file line number Diff line number Diff line change 1- #! /bin/bash -e
1+ #! /bin/bash
22
33DIR=$( dirname $( readlink -f " $0 " ) )
44
55# delete all pods, services and deployments
6- for yaml in $( find " ${DIR} " -maxdepth 1 \( -name " *.yaml" ! -name " *-pv.yaml" ! -name " *-pvc.yaml" \) -print) ; do
7- kubectl delete -f " $yaml " --ignore-not-found=true 2> /dev/null || echo -n " "
8- done
9-
10- # delete all pvcs
11- for yaml in $( find " ${DIR} " -maxdepth 1 -name " *-pvc.yaml" -print) ; do
12- kubectl delete -f " $yaml " --ignore-not-found=true 2> /dev/null || echo -n " "
13- done
14-
15- # delete pvs and scs
16- for yaml in $( find " ${DIR} " -maxdepth 1 -name " *-pv.yaml" -print) ; do
17- kubectl delete -f " $yaml " --ignore-not-found=true 2> /dev/null || echo -n " "
6+ for yaml in $( find " ${DIR} " -maxdepth 1 -name " *.yaml" -print) ; do
7+ kubectl delete --wait=false -f " $yaml " --ignore-not-found=true 2> /dev/null
188done
199
2010kubectl delete secret self-signed-certificate 2> /dev/null || echo -n " "
You can’t perform that action at this time.
0 commit comments