Update apparmor.md

pull/48939/head
Andrei Ivantsov 2024-12-04 11:29:16 +01:00 committed by GitHub
parent f3e97aac9c
commit 633e85b9ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ discussed in [Setting up nodes with profiles](#setting-up-nodes-with-profiles).
```shell ```shell
# This example assumes that node names match host names, and are reachable via SSH. # This example assumes that node names match host names, and are reachable via SSH.
NODES=($( kubectl get node -o jsonpath='{.items[].status.addresses[?(.type == "Hostname")].address}' )) NODES=($( kubectl get node -o jsonpath='{.items[*].status.addresses[?(.type == "Hostname")].address}' ))
for NODE in ${NODES[*]}; do ssh $NODE 'sudo apparmor_parser -q <<EOF for NODE in ${NODES[*]}; do ssh $NODE 'sudo apparmor_parser -q <<EOF
#include <tunables/global> #include <tunables/global>