fix post-delete job of chart

Signed-off-by: calvin0327 <wen.chen@daocloud.io>
This commit is contained in:
calvin0327 2022-12-13 16:43:06 +08:00
parent 11cb257031
commit 4e4132e087
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ spec:
- |
bash <<'EOF'
set -ex
kubectl delete -f /opt/mount/
kubectl delete cm/{{ $name }}-config -n {{ $namespace }}
kubectl delete -f /opt/mount/ --ignore-not-found=true
kubectl delete cm/{{ $name }}-config -n {{ $namespace }} --ignore-not-found=true
EOF
volumeMounts:
- name: mount