Skip to content

Commit

Permalink
Merge branch 'master' into exporter-interface
Browse files Browse the repository at this point in the history
  • Loading branch information
JaydipGabani authored Jan 30, 2025
2 parents b48385a + 08196f9 commit f4d5631
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
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
```

0 comments on commit f4d5631

Please sign in to comment.