Skip to content

Commit

Permalink
Merge pull request #49 from jhkrug/test-hl-approach
Browse files Browse the repository at this point in the history
Changes to test supporting a new approach to referencing lines inside …
  • Loading branch information
jhkrug authored Dec 9, 2024
2 parents 7019a31 + bfe28f4 commit a6114c8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/next/modules/en/pages/reference/monitor-mode.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ The `mode` is an attribute included in the `ClusterAdmissionPolicy` and `Admissi
There are two values that the `mode` attribute can assume: `monitor` and `protect`.
The `mode` defaults to `protect` if omitted.

To create a policy in `monitor mode` you need to include the `mode: monitor` as part of the specification of the resource.
For example, in the `spec` section (marked ➀), in this `ClusterAdmissionPolicy`:
To create a policy in `monitor mode` you to need to include the statement `mode:
monitor` as part of the specification of the resource. For example, in the
`spec` section (marked ➀), of this `ClusterAdmissionPolicy`:

[subs="+attributes",yaml]
----
Expand All @@ -54,7 +55,7 @@ spec:
required_drop_capabilities:
- NET_ADMIN
----
<1> The `mode: monitor` attribute in the `spec` section.
<1> The `mode: monitor` attribute is in the `spec` section.

== Changing policy mode

Expand Down

0 comments on commit a6114c8

Please sign in to comment.