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

docs: Add connect to operations #3785

Merged
13 changes: 13 additions & 0 deletions website/docs/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.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
```