-
Notifications
You must be signed in to change notification settings - Fork 51
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
Add ConstraintTemplate v1 #121
Add ConstraintTemplate v1 #121
Commits on Jun 22, 2021
-
Setup basic scaffolding for v1 CT
Signed-off-by: juliankatz <juliankatz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 43a229c - Browse repository at this point
Copy the full SHA 43a229cView commit details -
Update CRD. v1 package tests now running
Signed-off-by: juliankatz <juliankatz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 86ef21f - Browse repository at this point
Copy the full SHA 86ef21fView commit details -
We recently upgraded Constraint Framework to produce v1 CRDs when creating Constraint kind CRDs. This was in preparation for the release of k8s 1.22, which removes the `v1beta1` CRD version. See open-policy-agent/gatekeeper#550 for more info. As v1beta1 ConstraintTemplate did _not_ required any user-entered schema information to be structural, transformation logic was implemented to "structuralize" the user-inputted schema information as needed. The new v1 ConstraintTemplate version purposefully does _no_ transformation, as it is meant to put the ConstraintTemplate creation experience in line with that of a v1 CRDs. Any schema information added by the user is expected to be structural. If non-structural schema info is added, an error should be returned. Signed-off-by: juliankatz <juliankatz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 1e43b95 - Browse repository at this point
Copy the full SHA 1e43b95View commit details -
Add legacySchema field with defaults
Signed-off-by: juliankatz <juliankatz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 8ec1d94 - Browse repository at this point
Copy the full SHA 8ec1d94View commit details -
Add custom conversion file for templates/v1
Signed-off-by: juliankatz <juliankatz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 4202aca - Browse repository at this point
Copy the full SHA 4202acaView commit details -
Added legacySchema checks in conversion and fixed tests
Signed-off-by: juliankatz <juliankatz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 1561b2c - Browse repository at this point
Copy the full SHA 1561b2cView commit details -
Added extra test cases for when LegacySchema=false
Signed-off-by: juliankatz <juliankatz@google.com>
Configuration menu - View commit details
-
Copy full SHA for ae8a149 - Browse repository at this point
Copy the full SHA ae8a149View commit details -
Removed unused error field from test structs
Signed-off-by: juliankatz <juliankatz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 0e3672b - Browse repository at this point
Copy the full SHA 0e3672bView commit details