Skip to content

Commit 3e4893a

Browse files
committed
enabled
1 parent 05249e0 commit 3e4893a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/apparmor-wf.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
# Kubernetes version is at least v1.4 -- Kubernetes support for AppArmor was added in v1.4.
3636
# verify the Kubelet version of nodes
3737
kubectl get nodes -o=jsonpath=$'{range .items[*]}{@.metadata.name}: {@.status.nodeInfo.kubeletVersion}\n{end}'
38-
# check whether the module is enabled
38+
# check whether the apparmor module is enabled
3939
cat /sys/module/apparmor/parameters/enabled
40+
# verify AppArmor support on nodes by checking the node ready condition message
41+
kubectl get nodes -o=jsonpath=$'{range .items[*]}{@.metadata.name}: {.status.conditions[?(@.reason=="KubeletReady")].message}\n{end}'
4042

0 commit comments

Comments
 (0)