php-k8s
php-k8s copied to clipboard
delete() does not remove resources imported from YAML
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.