k3s-io / k3s-selinux

SELinux policy for k3s
Apache License 2.0
66 stars 20 forks source link

Adding changes for k3s when installing to /opt to match rke2 behaviour #58

Closed rdoxenham closed 6 months ago

rdoxenham commented 6 months ago

When deploying on SLE Micro via Combustion, we want consistency in terms of where k3s and rke2 install their binaries. As such, we move the install location to /opt/k3s/bin (https://github.com/suse-edge/edge-image-builder/pull/158), which matches rke2 behaviour (https://github.com/rancher/rke2-selinux/commit/fbae4e2ac5819a875a9f850addf9a6aaa8b46fc8) when the installer detects that the default install location is read-only or on a separate partition.

galal-hussein commented 6 months ago