Skip to content

feat(create-plugin): enable selinux relabeling for podman compatibility#2681

Open
theSuess wants to merge 1 commit into
mainfrom
fix-enable-selinux-relabeling-for-podman-compatibility/qztwpvrkpkkp
Open

feat(create-plugin): enable selinux relabeling for podman compatibility#2681
theSuess wants to merge 1 commit into
mainfrom
fix-enable-selinux-relabeling-for-podman-compatibility/qztwpvrkpkkp

Conversation

@theSuess
Copy link
Copy Markdown

What this PR does / why we need it:

This PR adds the z option to the plugin bindmounts which enables SELinux relabeling.
Without this option, rootless container tools like podman prevent the container process from reading the file on SELinux enabled systems.

'Security: replace insecure inline `npx --yes @grafana/sign-plugin@latest` sign script with a locked @grafana/sign-plugin devDependency to prevent arbitrary code execution from a compromised @latest publish.',
scriptPath: import.meta.resolve('./scripts/011-secure-sign-script.js'),
name: '012-enable-compose-selinux-relabel',
version: '7.4.1',
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, need guidance here 😬

@theSuess theSuess marked this pull request as ready for review May 29, 2026 08:29
@theSuess theSuess requested a review from a team as a code owner May 29, 2026 08:29
@theSuess theSuess requested review from hugohaggmark and jackw May 29, 2026 08:29
@theSuess theSuess force-pushed the fix-enable-selinux-relabeling-for-podman-compatibility/qztwpvrkpkkp branch from 8f8a567 to 4111e95 Compare May 29, 2026 08:32
@tolzhabayev tolzhabayev moved this from 📬 Triage to 🔬 In review in Grafana Catalog Team May 29, 2026
@jackw jackw changed the title fix: enable selinux relabeling for podman compatibility feat(create-plugin): enable selinux relabeling for podman compatibility May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🔬 In review

Development

Successfully merging this pull request may close these issues.

2 participants