mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-03-20 03:09:35 +00:00
It was present in some apps, such as managed kubernetes, but missing in others. bitnami/readme-generator removes enums after re-generating README, so now we patch them back using `yq` in Makefiles. Signed-off-by: Nick Volynkin <nick.volynkin@gmail.com>
8 lines
422 B
Makefile
8 lines
422 B
Makefile
include ../../../scripts/package.mk
|
|
|
|
generate:
|
|
readme-generator -v values.yaml -s values.schema.json -r README.md
|
|
yq -i -o json --indent 2 '.properties.httpAndHttps.properties.mode.enum = ["tcp","tcp-with-proxy"]' values.schema.json
|
|
yq -i -o json --indent 2 '.properties.resourcesPreset.enum = ["none", "nano", "micro", "small", "medium", "large", "xlarge", "2xlarge"]' values.schema.json
|
|
rm -f values.schema.json.tmp
|