Skip to content

Commit

Permalink
docs: update vap demo readme (#3096)
Browse files Browse the repository at this point in the history
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
  • Loading branch information
sozercan committed Oct 23, 2023
1 parent d95cdb6 commit 6562739
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions demo/k8s-validating-admission-policy/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
This is a demo of a prototype-stage feature and is subject to change.
> [!WARNING]
> This is a demo of a prototype-stage feature and is subject to change.
The demo will not work unless the `--experimental-enable-k8s-native-validation`` is
set. Please set `--validate-template-rego` to `false` if using Gatekeeper version 3.13.1+ but before 3.16.0.
## Pre-requisites

Note that the contents of the constraint template have changed since cutting
Gatekeeper's v3.13.0 release. To try this with the development build of
Gatekeeper, use a [dev image](https://open-policy-agent.github.io/gatekeeper/website/docs/install/#deploying-a-release-using-development-image).
- Requires minimum Gatekeeper v3.14.0
- Set `--experimental-enable-k8s-native-validation` in Gatekeeper deployments.
- Set `--validate-template-rego=false` in Gatekeeper deployments if using Gatekeeper version 3.14.0 and later. This flag will be removed in v3.16.0, and will not be applicable in the future.

## Demo

<img width= "900" height="500" src="demo.gif" alt="cel demo">

0 comments on commit 6562739

Please sign in to comment.