mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-03 10:37:21 +09:00
Remove the jq post-processing step from the Makefile that was patching tls.enabled to ["boolean","null"]. The plain "type":"boolean" form that cozyvalues-gen emits is correct: cozystack-api unmarshals openAPISchema into apiextv1.JSONSchemaProps where Type is a single string, so an array type silently zeroes out specSchema and disables server-side defaulting. Tri-state semantics (nil / true / false) are preserved entirely on the Helm side via kindIs "invalid" guards in the templates. Signed-off-by: Arsolitt <arsolitt@gmail.com>
9 lines
217 B
Makefile
9 lines
217 B
Makefile
include ../../../hack/package.mk
|
|
|
|
generate:
|
|
cozyvalues-gen -m 'nats' -v values.yaml -s values.schema.json -r README.md -g ../../../api/apps/v1alpha1/nats/types.go
|
|
../../../hack/update-crd.sh
|
|
|
|
test:
|
|
helm unittest .
|