Merge pull request #2954 from calvin0327/fix-chart-post-delete

fix post-delete job of chart
This commit is contained in:
karmada-bot 2022-12-13 19:03:22 +08:00 committed by GitHub
commit 796de421b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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