mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 19:35:32 +00:00
kata-deploy: k0s: Fix drop-in path
The drop-in path should be /etc/containerd (from the containers'
perspective), which mounts to the host path /etc/k0s/containerd.d.
With what we had we ended up dropping the file under the
/etc/k0s/containerd.d/containerd.d/, which is wrong.
This is a regression introduce by: 94b3348d3c
Signed-off-by: Fabiano Fidêncio <fabiano@fidencio.org>
This commit is contained in:
parent
d13be49f9b
commit
c95f9885ea
@ -12,7 +12,7 @@ Set the correct containerd conf path depending on the k8s distribution
|
||||
{{- else if eq .k8sDistribution "k3s" -}}
|
||||
/var/lib/rancher/k3s/agent/etc/containerd/
|
||||
{{- else if eq .k8sDistribution "k0s" -}}
|
||||
/etc/k0s/containerd.d/
|
||||
/etc/k0s/
|
||||
{{- else if eq .k8sDistribution "microk8s" -}}
|
||||
/var/snap/microk8s/current/args/
|
||||
{{- else -}}
|
||||
|
@ -14,4 +14,4 @@ spec:
|
||||
volumes:
|
||||
- name: containerd-conf
|
||||
hostPath:
|
||||
path: /etc/k0s/containerd.d/
|
||||
path: /etc/k0s/
|
||||
|
Loading…
Reference in New Issue
Block a user