kontena / k8s-client

Ruby Kubernetes API client
Apache License 2.0
76 stars 26 forks source link

Keep resources with ownerReference in stack prune #159

Closed kke closed 4 years ago

kke commented 4 years ago

Server resources with non-empty metadata.ownerReferences will be left untouched during stack prune.

(needs to be backported to v0.10)

jnummelin commented 4 years ago

any possibility to create some specs for these cases?

jakolehm commented 4 years ago

any possibility to create some specs for these cases?

Yeah, specs would be great.

kke commented 4 years ago

Yeah seems like the "fix" is now in a branch that does not even get executed for extra server resources.

The original fix in earlier commit was proper.