Skip to content

Commit 4b32c4c

Browse files
authored
Merge pull request #37280 from tbalthazar/tb/apparmor-exec-fix
Update deprecated kubectl command in apparmor doc
2 parents daec843 + 7bc5e5e commit 4b32c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/ja/docs/tutorials/clusters/apparmor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ kubectl get events | grep Created
111111
proc attrを調べることで、コンテナのルートプロセスが正しいプロファイルで実行されているかどうかを直接確認することもできます。
112112
113113
```shell
114-
kubectl exec <pod_name> cat /proc/1/attr/current
114+
kubectl exec <pod_name> -- cat /proc/1/attr/current
115115
```
116116
```
117117
k8s-apparmor-example-deny-write (enforce)

0 commit comments

Comments
 (0)