Skip to content
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

[BUG]failed to unmarshal raw OpenAPI schema to JSONSchemaProps #5969

Closed
ahjing99 opened this issue Dec 1, 2023 · 0 comments · Fixed by #5973 or apecloud/kubeblocks-addons#57
Closed
Assignees
Labels
bug kind/bug Something isn't working
Milestone

Comments

@ahjing99
Copy link
Collaborator

ahjing99 commented Dec 1, 2023

➜ ~ kbcli version
Kubernetes: v1.27.3-gke.100
KubeBlocks: 0.7.2-beta.5
kbcli: 0.7.2-beta.5

2023-12-01T03:18:16.541Z	INFO	ConfigConstraintReconcile	failed to generate openAPISchema	{"controller": "configconstraint", "controllerGroup": "apps.kubeblocks.io", "controllerKind": "ConfigConstraint", "ConfigConstraint": {"name":"mysql8.0-config-constraints"}, "namespace": "", "name": "mysql8.0-config-constraints", "reconcileID": "6497b38c-f955-4c45-9c78-6fc17ad312ae", "ConfigConstraint": "mysql8.0-config-constraints"}
2023-12-01T03:18:16.541Z	ERROR	Reconciler error	{"controller": "configconstraint", "controllerGroup": "apps.kubeblocks.io", "controllerKind": "ConfigConstraint", "ConfigConstraint": {"name":"mysql8.0-config-constraints"}, "namespace": "", "name": "mysql8.0-config-constraints", "reconcileID": "6497b38c-f955-4c45-9c78-6fc17ad312ae", "error": "failed to unmarshal raw OpenAPI schema to JSONSchemaProps: [error unmarshaling JSON: while decoding JSON: json: cannot unmarshal number into Go struct field JSONSchemaProps.properties.exclusiveMinimum of type bool]"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.2/pkg/internal/controller/controller.go:324
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.2/pkg/internal/controller/controller.go:265
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.2/pkg/internal/controller/controller.go:226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug kind/bug Something isn't working
Projects
None yet
3 participants