Open vlad-diachenko opened 2 years ago
Hey @vlad-diachenko , I was able to reproduce this issue. I see the job and secret not getting deleted.
mansoora@wsl2-u20.04://home/mansoora/zpe_dep/CSF-CHARTS/cpro (1.0>) $ kubectl get all -n smk8 NAME READY STATUS RESTARTS AGE pod/enterprise-logs-tokengen-vctdg 0/1 Completed 0 2m36s
NAME COMPLETIONS DURATION AGE job.batch/enterprise-logs-tokengen 1/1 15s 2m38s mansoora@wsl2-u20.04://home/mansoora/zpe_dep/CSF-CHARTS/cpro (1.0>) $ kubectl get secrets -n smk8 NAME TYPE DATA AGE gel-admin-token Opaque 2 2m30s mansoora@wsl2-u20.04://home/mansoora/zpe_dep/CSF-CHARTS/cpro (1.0>)
I would like to fix this issue.
After:
we can see that
tokengen
job andsecrets
are not removed :