Skip to content

Commit f312e8b

Browse files
authored
Update apparmor.md
this is a better way to use jsonpath
1 parent c14e0d6 commit f312e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/tutorials/security/apparmor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ on nodes by checking the node ready condition message (though this is likely to
106106
later release):
107107

108108
```shell
109-
kubectl get nodes -o=jsonpath=$'{range .items[*]}{@.metadata.name}: {.status.conditions[?(@.reason=="KubeletReady")].message}\n{end}'
109+
kubectl get nodes -o=jsonpath='{range .items[*]}{@.metadata.name}: {.status.conditions[?(@.reason=="KubeletReady")].message}{"\n"}{end}'
110110
```
111111
```
112112
gke-test-default-pool-239f5d02-gyn2: kubelet is posting ready status. AppArmor enabled

0 commit comments

Comments
 (0)