forked from rancher/rancher-selinux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement e2e test for Rancher Monitoring SELinux context validation
This commit introduces an end-to-end test `e2eRancherMonitoring` to verify the correct SELinux context is applied to the node-exporter container within the Rancher Monitoring system. The test performs the following checks: * Presence of the `prom_node_exporter_t` SELinux type. * Correct application of the `prom_node_exporter_t` type to the running node-exporter container. * Absence of any AVC denials related to the `prom_node_exporter_t` type.
- Loading branch information
1 parent
899faf1
commit 7b9849a
Showing
2 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ provision: | |
script: | | ||
#!/bin/sh | ||
yum in -y git container-selinux | ||
yum in -y git container-selinux setools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters