Skip to content

Commit

Permalink
moving connect to customize-admissions
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Alexander <[email protected]>
  • Loading branch information
malexander2012 committed Jan 17, 2025
1 parent 15e7d40 commit 55ac620
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
12 changes: 12 additions & 0 deletions website/docs/customize-admission.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,15 @@ 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
```
14 changes: 0 additions & 14 deletions website/docs/operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,6 @@ At a high level, this requires:
* The ability to write to the `Config` object in Gatekeeper's namespace
* If you have events enabled, you will need permissions to create events in Gatekeeper's namespace

## Connect

__--operation key:__ `connect`

This operation allows gatekeeper to review and validate `kubectl exec` commands via the validation webhook.

### Required Behaviors

...

### Permissions Required

...

## Status

__--operation key:__ `status`
Expand Down

0 comments on commit 55ac620

Please sign in to comment.