Skip to content

Commit 0dd8ef7

Browse files
authored
Add note about setting correct kubelet work dir for k0s to documentation & fix name of helm parameter in docs (#668)
* Add note about setting correct kubelet work dir for k0s to documentation. * Fix name of kubeletdir parameter for helm chart in documentation.
1 parent d90e550 commit 0dd8ef7

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

docs/modules/secret-operator/pages/installation.adoc

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,30 @@ Helm will deploy the operator in Kubernetes containers and apply the CRDs. You'r
3535
=== Microk8s
3636

3737
Microk8s uses a non-standard Kubelet state directory. Installing secret-operator on Microk8s requires the argument
38-
`--set kubeletDir=/var/snap/microk8s/common/var/lib/kubelet` to be added to the `helm install` command.
38+
`--set csiNodeDriver.kubeletDir=/var/snap/microk8s/common/var/lib/kubelet` to be added to the `helm install` command.
39+
40+
=== k0s
41+
42+
k0s uses a non-standard Kubelet state directory. Installing secret-operator on k0s requires the argument
43+
`--set csiNodeDriver.kubeletDir=/var/lib/k0s/kubelet` to be added to the `helm install` command.
3944

4045
=== HUAWEI cloud
4146

4247
In some cases HUAWEI cloud has the kubelet directory located at `/mnt/paas/kubernetes/kubelet`, resulting in the following error:
4348

4449
`failed to publish volume error=status: Unavailable, message: "failed to create secret parent dir /mnt/paas/kubernetes/kubelet/pods/<POD_ID>/volumes/kubernetes.io~csi/pvc-<PVC_ID>/mount: No such file or directory (os error 2)"`
4550

46-
In case you are encountering the mentioned error (or secret-operator does not work on your HUAWEI cloud at all), you need to add the argument `--set kubeletDir=/mnt/paas/kubernetes/kubelet` to the `helm install` command.
51+
In case you are encountering the mentioned error (or secret-operator does not work on your HUAWEI cloud at all), you need to add the argument `--set csiNodeDriver.kubeletDir=/mnt/paas/kubernetes/kubelet` to the `helm install` command.
4752

4853
=== IBM cloud
4954

5055
In some cases IBM cloud has the kubelet directory located at `/var/data/kubelet/`, resulting in the following error:
5156

5257
`failed to publish volume error=status: Unavailable, message: "failed to create secret parent dir /var/data/kubelet/pods/<POD_ID>/volumes/kubernetes.io~csi/pvc-<PVC_ID>/mount: No such file or directory (os error 2)"`
5358

54-
In case you are encountering the mentioned error (or secret-operator does not work on your IBM cloud at all), you need to add the argument `--set kubeletDir=/var/data/kubelet` to the `helm install` command.
59+
In case you are encountering the mentioned error (or secret-operator does not work on your IBM cloud at all), you need to add the argument `--set csiNodeDriver.kubeletDir=/var/data/kubelet` to the `helm install` command.
5560

5661
=== VMware Tanzu
5762

5863
VMware Tanzu uses a non-standard Kubelet state directory. Installing secret-operator on Tanzu requires the argument
59-
`--set kubeletDir=/var/vcap/data/kubelet` to be added to the `helm install` command.
64+
`--set csiNodeDriver.kubeletDir=/var/vcap/data/kubelet` to be added to the `helm install` command.

0 commit comments

Comments
 (0)