Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to test supporting a new approach to referencing lines inside … #49

Merged
merged 2 commits into from
Dec 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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