google / kctf

kCTF is a Kubernetes-based infrastructure for CTF competitions. For documentation, see
https://google.github.io/kctf/
Apache License 2.0
665 stars 73 forks source link

PersistentVolume for gcsfuse mount not being removed on kctf chal stop #382

Open arxenix opened 2 years ago

arxenix commented 2 years ago

when doing kctf chal stop, the pv for a challenge does not appear to be getting removed.

this subsequently causes kctf chal start to fail,

we've been having to run kubectl delete pv $pv_name after kctf chal stop to get it to work

-- todo: add some logs later, just opening issue for now

sroettger commented 2 years ago

@sirdarckcat

sirdarckcat commented 1 year ago

the persistenvolume should "belong' to the challenge, so if it's not working maybe we forgot to add it as a parent?