k3s/pkg/deploy
Donnie Adams 3be8dda856 Remove objects when removed from manifests (#5560)
* Remove objects when removed from manifests

If a user puts a file in /var/lib/rancher/k3s/server/manifests/ then the
objects contained therein are deployed to the cluster. If the objects
are removed from that file, they are not removed from the cluster.

This change tracks the GVKs in the files and will remove objects when
there are removed from the cluster.

Signed-off-by: Donnie Adams <donnie.adams@suse.com>
(cherry picked from commit c38a8c3b43)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-05-20 16:39:13 -07:00
..
controller.go Remove objects when removed from manifests (#5560) 2022-05-20 16:39:13 -07:00
nostage.go Add support for disabling all staged content 2020-09-14 14:21:37 -07:00
stage.go Add support for disabling all staged content 2020-09-14 14:21:37 -07:00
zz_generated_bindata.go Add "ipFamilyPolicy: PreferDualStack" to have dual-stack ingress support 2022-05-04 18:38:23 +02:00