Merge pull request #2954 from calvin0327/fix-chart-post-delete
fix post-delete job of chart
This commit is contained in:
commit
796de421b8
|
@ -35,8 +35,8 @@ spec:
|
||||||
- |
|
- |
|
||||||
bash <<'EOF'
|
bash <<'EOF'
|
||||||
set -ex
|
set -ex
|
||||||
kubectl delete -f /opt/mount/
|
kubectl delete -f /opt/mount/ --ignore-not-found=true
|
||||||
kubectl delete cm/{{ $name }}-config -n {{ $namespace }}
|
kubectl delete cm/{{ $name }}-config -n {{ $namespace }} --ignore-not-found=true
|
||||||
EOF
|
EOF
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: mount
|
- name: mount
|
||||||
|
|
Loading…
Reference in New Issue