fix(chart): helm uninstall clear -controller-manager

Signed-off-by: EnnnOK <710720732@qq.com>
This commit is contained in:
EnnnOK 2023-04-26 02:44:04 -07:00
parent b167a4f372
commit 45d9164cb1
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ spec:
set -ex set -ex
kubectl delete -f /opt/mount/ --ignore-not-found=true kubectl delete -f /opt/mount/ --ignore-not-found=true
kubectl delete cm/{{ $name }}-config -n {{ $namespace }} --ignore-not-found=true kubectl delete cm/{{ $name }}-config -n {{ $namespace }} --ignore-not-found=true
kubectl delete deployment/{{ $name }}-controller-manager -n {{ $namespace }} --ignore-not-found=true
EOF EOF
volumeMounts: volumeMounts:
- name: mount - name: mount