Skip to content

Commit

Permalink
chore: update docs (#2526)
Browse files Browse the repository at this point in the history
* Add note about adding label to ns

Signed-off-by: Shawn Warren <shawn.w.warren@gmail.com>

* chore: update website docs

Signed-off-by: Shawn Warren <shawn.w.warren@gmail.com>

* chore: add exempt label note

Signed-off-by: Shawn Warren <shawn.w.warren@gmail.com>

* fix: add params link

Signed-off-by: Shawn Warren <shawn.w.warren@gmail.com>

* fix: remove empty line

Signed-off-by: Shawn Warren <shawn.w.warren@gmail.com>

Signed-off-by: Shawn Warren <shawn.w.warren@gmail.com>
Co-authored-by: Rita Zhang <rita.z.zhang@gmail.com>
  • Loading branch information
swarren83 and ritazh committed Jan 21, 2023
1 parent 3a1aae4 commit 3c0d690
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/docs/exempt-namespaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ If it becomes necessary to exempt a namespace from Gatekeeper webhook entirely (
in that namespace from policy checks. This way a user must explicitly have permissions
to configure the Gatekeeper pod before they can add exemptions.

> In order to add the `admission.gatekeeper.sh/ignore` label to a namespace, that namespace must be listed under the gatekeeper `controllerManager.exemptNamespaces` [parameter](https://github.com/open-policy-agent/gatekeeper/blob/master/charts/gatekeeper/README.md#parameters) when installing via Helm.
3. Add the `admission.gatekeeper.sh/ignore` label to the namespace. The value attached
to the label is ignored, so it can be used to annotate the reason for the exemption.

Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-v3.10.x/exempt-namespaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ If it becomes necessary to exempt a namespace from Gatekeeper webhook entirely (
in that namespace from policy checks. This way a user must explicitly have permissions
to configure the Gatekeeper pod before they can add exemptions.

> In order to add the `admission.gatekeeper.sh/ignore` label to a namespace, that namespace must be listed under the gatekeeper `controllerManager.exemptNamespaces` [parameter](https://github.com/open-policy-agent/gatekeeper/blob/master/charts/gatekeeper/README.md#parameters) when installing via Helm.
3. Add the `admission.gatekeeper.sh/ignore` label to the namespace. The value attached
to the label is ignored, so it can be used to annotate the reason for the exemption.

Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-v3.11.x/exempt-namespaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ If it becomes necessary to exempt a namespace from Gatekeeper webhook entirely (
in that namespace from policy checks. This way a user must explicitly have permissions
to configure the Gatekeeper pod before they can add exemptions.

> In order to add the `admission.gatekeeper.sh/ignore` label to a namespace, that namespace must be listed under the gatekeeper `controllerManager.exemptNamespaces` [parameter](https://github.com/open-policy-agent/gatekeeper/blob/master/charts/gatekeeper/README.md#parameters) when installing via Helm.
3. Add the `admission.gatekeeper.sh/ignore` label to the namespace. The value attached
to the label is ignored, so it can be used to annotate the reason for the exemption.

Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-v3.6.x/exempt-namespaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ If it becomes necessary to exempt a namespace from Gatekeeper webhook entirely (
in that namespace from policy checks. This way a user must explicitly have permissions
to configure the Gatekeeper pod before they can add exemptions.

> In order to add the `admission.gatekeeper.sh/ignore` label to a namespace, that namespace must be listed under the gatekeeper `controllerManager.exemptNamespaces` [parameter](https://github.com/open-policy-agent/gatekeeper/blob/master/charts/gatekeeper/README.md#parameters) when installing via Helm.
3. Add the `admission.gatekeeper.sh/ignore` label to the namespace. The value attached
to the label is ignored, so it can be used to annotate the reason for the exemption.

Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-v3.7.x/exempt-namespaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ If it becomes necessary to exempt a namespace from Gatekeeper webhook entirely (
in that namespace from policy checks. This way a user must explicitly have permissions
to configure the Gatekeeper pod before they can add exemptions.

> In order to add the `admission.gatekeeper.sh/ignore` label to a namespace, that namespace must be listed under the gatekeeper `controllerManager.exemptNamespaces` [parameter](https://github.com/open-policy-agent/gatekeeper/blob/master/charts/gatekeeper/README.md#parameters) when installing via Helm.
3. Add the `admission.gatekeeper.sh/ignore` label to the namespace. The value attached
to the label is ignored, so it can be used to annotate the reason for the exemption.

Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-v3.8.x/exempt-namespaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ If it becomes necessary to exempt a namespace from Gatekeeper webhook entirely (
in that namespace from policy checks. This way a user must explicitly have permissions
to configure the Gatekeeper pod before they can add exemptions.

> In order to add the `admission.gatekeeper.sh/ignore` label to a namespace, that namespace must be listed under the gatekeeper `controllerManager.exemptNamespaces` [parameter](https://github.com/open-policy-agent/gatekeeper/blob/master/charts/gatekeeper/README.md#parameters) when installing via Helm.
3. Add the `admission.gatekeeper.sh/ignore` label to the namespace. The value attached
to the label is ignored, so it can be used to annotate the reason for the exemption.

Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-v3.9.x/exempt-namespaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ If it becomes necessary to exempt a namespace from Gatekeeper webhook entirely (
in that namespace from policy checks. This way a user must explicitly have permissions
to configure the Gatekeeper pod before they can add exemptions.

> In order to add the `admission.gatekeeper.sh/ignore` label to a namespace, that namespace must be listed under the gatekeeper `controllerManager.exemptNamespaces` [parameter](https://github.com/open-policy-agent/gatekeeper/blob/master/charts/gatekeeper/README.md#parameters) when installing via Helm.
3. Add the `admission.gatekeeper.sh/ignore` label to the namespace. The value attached
to the label is ignored, so it can be used to annotate the reason for the exemption.

Expand Down

0 comments on commit 3c0d690

Please sign in to comment.