k3s/pkg
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
..
agent Update CNI version in config file 2022-05-20 16:39:13 -07:00
apis/k3s.cattle.io Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
authenticator Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
bootstrap Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
cgroups Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
cli Add support for configuring the EgressSelector mode 2022-05-20 16:39:13 -07:00
clientaccess Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
cloudprovider Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
cluster Replace DefaultProxyDialerFn dialer injection with EgressSelector support 2022-05-20 16:39:13 -07:00
codegen Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
configfilearg Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
containerd Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
ctr Build & enable ctr with k3s server 2019-06-30 09:30:25 -07:00
daemons Add support for configuring the EgressSelector mode 2022-05-20 16:39:13 -07:00
data code to remove vendor dir 2021-12-27 14:58:44 -07:00
datadir Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
dataverify Add file verification for data directory 2020-10-06 10:29:27 -07:00
deploy Remove objects when removed from manifests (#5560) 2022-05-20 16:39:13 -07:00
etcd Replace DefaultProxyDialerFn dialer injection with EgressSelector support 2022-05-20 16:39:13 -07:00
flock Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
generated Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
kubectl Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
netutil Initial Logging Output Update (#2246) 2020-09-21 09:56:03 -07:00
node Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
nodeconfig Replace DefaultProxyDialerFn dialer injection with EgressSelector support 2022-05-20 16:39:13 -07:00
nodepassword Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
passwd Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
rootless Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
rootlessports Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
secretsencrypt Fix log spam due to servicelb event recorder namespace conflict 2022-05-20 16:39:13 -07:00
server Replace DefaultProxyDialerFn dialer injection with EgressSelector support 2022-05-20 16:39:13 -07:00
servicelb Fix log spam due to servicelb event recorder namespace conflict 2022-05-20 16:39:13 -07:00
static [Release-1.22] Add s390x arch support for k3s (#5447) 2022-04-19 14:43:28 -07:00
token Refactor tokens, bootstrap, and cli args 2019-10-30 19:06:49 -07:00
untar Bump wharfie to v0.5.1 and use shared decompression code 2021-12-08 10:51:33 -08:00
util Ensure that WaitForAPIServerReady always re-dials through the loadbalancer 2022-05-20 16:39:13 -07:00
version remove hard coded value 2020-07-09 11:20:06 -07:00