Update apparmor.md
parent
f3e97aac9c
commit
633e85b9ca
|
@ -132,7 +132,7 @@ discussed in [Setting up nodes with profiles](#setting-up-nodes-with-profiles).
|
|||
|
||||
```shell
|
||||
# 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
|
||||
#include <tunables/global>
|
||||
|
|
Loading…
Reference in New Issue