Skip to content

Commit 770b03b

Browse files
Merge pull request #280862 from tamram/tamram24-0705
app armor: fix code blocks
2 parents 3998a20 + be90000 commit 770b03b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/aks/operator-best-practices-cluster-security.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ To see AppArmor in action, the following example creates a profile that prevents
111111
1. Create a file named *deny-write.profile*.
112112
1. Copy and paste the following content:
113113

114-
```
114+
```bash
115115
#include <tunables/global>
116116
profile k8s-apparmor-example-deny-write flags=(attach_disconnected) {
117117
#include <abstractions/base>
@@ -151,11 +151,11 @@ AppArmor profiles are added using the `apparmor_parser` command.
151151
command: [ "sh", "-c", "echo 'Hello AppArmor!' && sleep 1h" ]
152152
```
153153

154-
2. With the pod deployed, run the following command and verify the *hello-apparmor* pod shows a *Running* status:
154+
1. With the pod deployed, run the following command and verify the *hello-apparmor* pod shows a *Running* status:
155155

156-
```
156+
```bash
157157
kubectl get pods
158-
158+
159159
NAME READY STATUS RESTARTS AGE
160160
aks-ssh 1/1 Running 0 4m2s
161161
hello-apparmor 0/1 Running 0 50s

0 commit comments

Comments
 (0)