mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-09 03:48:05 +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" -}}
|
{{- else if eq .k8sDistribution "k3s" -}}
|
||||||
/var/lib/rancher/k3s/agent/etc/containerd/
|
/var/lib/rancher/k3s/agent/etc/containerd/
|
||||||
{{- else if eq .k8sDistribution "k0s" -}}
|
{{- else if eq .k8sDistribution "k0s" -}}
|
||||||
/etc/k0s/containerd.d/
|
/etc/k0s/
|
||||||
{{- else if eq .k8sDistribution "microk8s" -}}
|
{{- else if eq .k8sDistribution "microk8s" -}}
|
||||||
/var/snap/microk8s/current/args/
|
/var/snap/microk8s/current/args/
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
|
@ -14,4 +14,4 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: containerd-conf
|
- name: containerd-conf
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /etc/k0s/containerd.d/
|
path: /etc/k0s/
|
||||||
|
Loading…
Reference in New Issue
Block a user