php-k8s icon indicating copy to clipboard operation
php-k8s copied to clipboard

delete() does not remove resources imported from YAML

Open buzanits opened this issue 3 years ago • 0 comments

I can create and update resources with

$x = $cluster->fromYaml($code);
$x->createOrUpdate();

But when doing

$x = $cluster->fromYaml($code);
$x->delete();

with the same $code the resources do not get deleted. Deleting works when I do kubectl delete -f code.yaml having the content of $code in the code.yaml.

buzanits avatar Sep 20 '22 17:09 buzanits