Skip to content

[Backport release-1.34] Fix NLLB SELinux labeling on enforcing systems#7073

Merged
jnummelin merged 2 commits intorelease-1.34from
backport-7063-to-release-1.34
Feb 6, 2026
Merged

[Backport release-1.34] Fix NLLB SELinux labeling on enforcing systems#7073
jnummelin merged 2 commits intorelease-1.34from
backport-7063-to-release-1.34

Conversation

@k0s-bot
Copy link
Copy Markdown
Contributor

@k0s-bot k0s-bot commented Feb 5, 2026

Automated backport to release-1.34, triggered by a label in #7063.
See #7057.

Set SELinux labels on NLLB Envoy configuration files to allow
containers to read them. Files created in /run/k0s/nllb/envoy/
inherit var_run_t label by default, which containers with
container_t context cannot access. The fix programmatically
sets container_file_t label on the directory and config files
when SELinux is enabled.

Needed to add new functionality for both dir and file pkgs
to support SELinux labeling.

Fixes #7057

Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
(cherry picked from commit 4df28f1)
Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
(cherry picked from commit 46b75e8)
@k0s-bot k0s-bot requested review from a team as code owners February 5, 2026 17:11
@jnummelin jnummelin added bug Something isn't working area/worker backport/release-1.33 PR that needs to be backported/cherrypicked to the release-1.33 branch labels Feb 5, 2026
@jnummelin jnummelin merged commit f910faa into release-1.34 Feb 6, 2026
111 checks passed
@jnummelin jnummelin deleted the backport-7063-to-release-1.34 branch February 6, 2026 09:14
@k0s-bot
Copy link
Copy Markdown
Contributor Author

k0s-bot commented Feb 6, 2026

Successfully created backport PR for release-1.33:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/worker backport/release-1.33 PR that needs to be backported/cherrypicked to the release-1.33 branch bug Something isn't working

3 participants