k8s: stt's pod gets a network policy: dns and four host ports out, nothing in
This commit is contained in:
parent
513be8f7d0
commit
6051a83044
1 changed files with 262 additions and 22 deletions
|
|
@ -126,7 +126,7 @@ in
|
|||
exit 0
|
||||
fi
|
||||
${apiReady}
|
||||
${kubectl} --namespace ${cfg.namespace} delete deployment,cronjob,serviceaccount \
|
||||
${kubectl} --namespace ${cfg.namespace} delete deployment,cronjob,serviceaccount,networkpolicy \
|
||||
--selector=app.kubernetes.io/name=${name} \
|
||||
--cascade=foreground --wait=true --timeout=180s --ignore-not-found
|
||||
${kubectl} --namespace kube-system delete addons.k3s.cattle.io ${name} --ignore-not-found
|
||||
|
|
|
|||
Loading…
Reference in a new issue