Merge pull request #10960 from fidencio/topic/kata-deploy-fix-k0s-deployment

kata-deploy: k0s: Fix drop-in path
This commit is contained in:
Fabiano Fidêncio
2025-02-28 18:49:46 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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 -}}

View File

@@ -14,4 +14,4 @@ spec:
volumes: volumes:
- name: containerd-conf - name: containerd-conf
hostPath: hostPath:
path: /etc/k0s/containerd.d/ path: /etc/k0s/