Skip to content

Commit

Permalink
fix AllowedRegistry ConstraintTemplate openapi schema
Browse files Browse the repository at this point in the history
  • Loading branch information
lsviben committed Nov 9, 2022
1 parent 8f024ba commit ef9464f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ee/allowed-registry-controller/reconcile.go
Expand Up @@ -155,6 +155,7 @@ func allowedRegistryCTCreatorGetter() reconciling.NamedKubermaticV1ConstraintTem
Validation: &constrainttemplatev1.Validation{
LegacySchema: pointer.Bool(false),
OpenAPIV3Schema: &apiextensionsv1.JSONSchemaProps{
Type: "object",
Properties: map[string]apiextensionsv1.JSONSchemaProps{
AllowedRegistryField: {
Type: "array",
Expand Down

0 comments on commit ef9464f

Please sign in to comment.