Skip to content

Commit cf0e60f

Browse files
authored
Merge pull request #37221 from tbalthazar/patch-1
Update deprecated kubectl command in apparmor doc
2 parents bed6565 + 0e31a40 commit cf0e60f

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
@@ -158,7 +158,7 @@ kubectl get events | grep Created
158158
You can also verify directly that the container's root process is running with the correct profile by checking its proc attr:
159159
160160
```shell
161-
kubectl exec <pod_name> cat /proc/1/attr/current
161+
kubectl exec <pod_name> -- cat /proc/1/attr/current
162162
```
163163
```
164164
k8s-apparmor-example-deny-write (enforce)

0 commit comments

Comments
 (0)