Merge pull request #1803 from nubificus/stable-2.1

packaging/kata-cleanup: add k3s containerd volume
This commit is contained in:
Fabiano Fidêncio 2021-05-11 19:38:57 +02:00 committed by GitHub
commit 70734dfa17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,5 @@
bases:
- ../../base
patchesStrategicMerge:
- mount_k3s_conf.yaml

View File

@ -0,0 +1,17 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: kubelet-kata-cleanup
namespace: kube-system
spec:
template:
spec:
containers:
- name: kube-kata-cleanup
volumeMounts:
- name: containerd-conf
mountPath: /etc/containerd/
volumes:
- name: containerd-conf
hostPath:
path: /var/lib/rancher/k3s/agent/etc/containerd/