Skip to content

Commit

Permalink
adding connect to v3.17 and v3.18 versioned_docs
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Alexander <[email protected]>
  • Loading branch information
malexander2012 committed Jan 28, 2025
1 parent 04e0f68 commit b2b9756
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions website/docs/customize-admission.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ You can now check for deletes.
This operation allows gatekeeper to review and validate `kubectl exec` commands via the validation webhook.

To enable Connect operations for the `validation.gatekeeper.sh` admission webhook, add "CONNECT" to the list of operations in the `gatekeeper-validating-webhook-configuration`.

```yaml
operations:
- CREATE
Expand Down
13 changes: 13 additions & 0 deletions website/versioned_docs/version-v3.17.x/customize-admission.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,16 @@ To enable Delete operations for the `validation.gatekeeper.sh` admission webhook
```
You can now check for deletes.
### How to Enable Validation of Connect Operations
This operation allows gatekeeper to review and validate `kubectl exec` commands via the validation webhook.

To enable Connect operations for the `validation.gatekeeper.sh` admission webhook, add "CONNECT" to the list of operations in the `gatekeeper-validating-webhook-configuration`.

```yaml
operations:
- CREATE
- UPDATE
- CONNECT
```
13 changes: 13 additions & 0 deletions website/versioned_docs/version-v3.18.x/customize-admission.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,16 @@ To enable Delete operations for the `validation.gatekeeper.sh` admission webhook
```
You can now check for deletes.
### How to Enable Validation of Connect Operations
This operation allows gatekeeper to review and validate `kubectl exec` commands via the validation webhook.

To enable Connect operations for the `validation.gatekeeper.sh` admission webhook, add "CONNECT" to the list of operations in the `gatekeeper-validating-webhook-configuration`.

```yaml
operations:
- CREATE
- UPDATE
- CONNECT
```

0 comments on commit b2b9756

Please sign in to comment.