forked from open-policy-agent/gatekeeper
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sertac Ozercan <[email protected]>
- Loading branch information
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"> |