diff --git a/cmd/update_api.go b/cmd/update_api.go index 4592123..4c3bb06 100644 --- a/cmd/update_api.go +++ b/cmd/update_api.go @@ -160,7 +160,7 @@ func updateCRDBytes(crd *apiextensionsv1.CustomResourceDefinition) ([]byte, erro propNames := strings.Split(parsedProps[0], ".") propType := parsedProps[1] - if !slices.Contains([]string{"string", "number", "integer", "object"}, propType) { + if !slices.Contains([]string{"string", "number", "integer", "object", "boolean"}, propType) { return nil, fmt.Errorf("unsupported property type: %s", propType) } diff --git a/test/update_test.go b/test/update_test.go index 84190e8..27e15db 100644 --- a/test/update_test.go +++ b/test/update_test.go @@ -46,7 +46,7 @@ var _ = Describe("update", func() { When("called with --help", func() { It("prints the help", func() { session := r.run("update", "api", "--help") - Expect(session.Out).To(gbytes.Say("Command to update promise API")) + Expect(session.Out).To(gbytes.Say("Command to update the Promise API")) }) })